script

litos79

Active Newcomer
Joined
Feb 16, 2010
Messages
12
Reaction score
0
Points
0
PREDATAR Control23

Hi all, I created a script but i have a strange problem (new on tsm server 6.3)
Here the script

SERIAL
backup volhistory
backup devconfig
backup volhistory filenames=/tsmnas/tsmconf/volhistory.bkp
backup devconfig filenames=/tsmnas/tsmconf/devconfig.bkp
delete volhistory type=dbbackup todate=today-3
SERIAL
PARALLEL
migrate stgpool SPD_CL lowmig=0 duration=120 wait=yes
migrate stgpool SPD_DB lowmig=0 duration=120 wait=yes
migrate stgpool SPD_DOC01 lowmig=0 duration=120 wait=yes
migrate stgpool SPD_FS lowmig=0 duration=120 wait=yes
migrate stgpool SPD_MAIL lowmig=0 duration=120 wait=yes
migrate stgpool SPD_VM lowmig=0 duration=120 wait=yes
SERIAL
PARALLEL
reclaim stgpool SPTOC threshold=55 duration=120 wait=yes
reclaim stgpool SPT_CL threshold=55 duration=120 wait=yes
reclaim stgpool SPT_DB threshold=55 duration=120 wait=yes
reclaim stgpool SPT_DOC01 threshold=55 duration=120 wait=yes
reclaim stgpool SPT_FS threshold=55 duration=120 wait=yes
reclaim stgpool SPT_MAIL threshold=55 duration=120 wait=yes
reclaim stgpool SPT_VM threshold=55 duration=120 wait=yes
reclaim stgpool SPT_VMESX threshold=55 duration=120 wait=yes
reclaim stgpool SPC_DB threshold=55 duration=120 wait=yes
reclaim stgpool SPC_DOC01 threshold=55 duration=120 wait=yes
reclaim stgpool SPC_FS threshold=55 duration=120 wait=yes
reclaim stgpool SPC_MAIL threshold=55 duration=120 wait=yes
reclaim stgpool SPC_VM threshold=55 duration=120 wait=yes
SERIAL
PARALLEL
copy activedata SPT_FS SPA_FS wait=yes
copy activedata SPT_VM SPA_VM wait=yes
copy activedata SPT_DOC01 SPA_DOC wait=yes
SERIAL
PARALLEL
reclaim stgpool SPA_FS threshold=60 duration=120 wait=yes
reclaim stgpool SPA_VM threshold=60 duration=120 wait=yes
reclaim stgpool SPA_DOC threshold=60 duration=120 wait=yes

When I launch manually the script (run manutenzione_2) it works correctly (first execute in parallel migrate, second in parallel execute reclamation, then copy activedata and finally reclamation.
When I schedule the script it execute at the same time all the operation.

Could you help me ?

Best regards,
Manuel
 
Top