Mark,
I have a PERL script that I run to issue two DSMADMC commands to update the
stg pool high to low value and then back to what the original high was.
Because the DSMADMC terminates it commits the change and the migration
starts and runs until it reaches the low.  This works real nicely.

The nice part about it is that you can change the values of the high and low
values any time and not have to update the script.

We process everything with an external scheduler so this works well for us.

Paul D. Seay, Jr.
Technical Specialist
Naptheon Inc.
757-688-8180


-----Original Message-----
From: Mark Stapleton [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 25, 2002 6:49 PM
To: [EMAIL PROTECTED]
Subject: Re: how to schedule the reclamation


From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Abdulaziz Almuammar
> I would like to schedule the reclamation proccess i.e. make the
> reclamation happen based on the scheduled command. could you please
> tell me how to do it? i scheduled an administrator command: UPDATE
> STGPOOL autopool reclaim=60 and UPDATE STGPOOL autopool reclaim=61
> every day. is this right?

You've got half of the problem solved. You should be running two commands
per storage pool to be reclaimed:

        upd stgpool <stgpool_name> reclaim=60

when you want reclamation to start, followed by

        upd stgpool <stgpool_name> reclaim=100

when you want it to stop. (It will stop sooner than the scheduled time if it
finishes first.)

--
Mark Stapleton ([EMAIL PROTECTED])
Certified TSM consultant
Certified AIX system engineer
MCSE

Reply via email to