Daily Maintenance Script

nabildz

ADSM.ORG Member
Joined
May 28, 2008
Messages
125
Reaction score
0
Points
0
Guys

Just consolidated all daily tasks on one scritp but it is exiting on the failure of first command. how can I fix this, to let TSM finishing all commands even if one command fails

parallel
backup stg tapepool_cache copypool wait=yes
backup stg colapool_cache colacopypool wait=no
/* this is copying data from my primary disk pools to copy pools backup stg colapool2 colacopypool2 wait=no
serial
parallel
backup stg tapepool copypool process=2 wait=no
backup stg colapool colacopypool process=2 wait=no
/* this is catching anything that happened to overflow due to a triggered migration
serial
parallel
backup devconf
backup volhist
backup db type=FULL devclass=DPDBCLASS wait=no
serial
backup db type=FULL devclass=DBCLASS wait=YES
/* TSM DB and devconf backup
parallel
migrate stgpool tapepool_cache lowmig=0 duration=180 wait=no
migrate stgpool colapool_cache lowmig=0 duration=180 wait=no
/* Migration of Diskpool cache
serial
expire inventory skipdirs=NO wait=yes /* Expire data
 
Hi,
You could use a scripting/programming language to handle exception if you can code. My maintenance script is written in python, it works flawlessly.

Check the forums download section, there is a lot of useful stuff/examples there also.
http://adsm.org/forum/downloads.php
 
Back
Top