AW: [ADSM-L] TSM scripts/macros
2005-03-15 12:57:28
I use the following macro to control my migration/backup to copypool:
/* Still sessions running? If yes, restart Skript */
select * from sessions where -
upper(session_type)='NODE'
if (rc_ok) goto reschedule
/* Still processes running? If yes, restart Skript */
select * from processes
if (rc_ok) goto reschedule
/* Backup Storagepools */
ba stg ARCHIVE COPY_RODUND wait=yes
/* Backup TSM Database */
ba db dev=3590E type=full
delete schedule r_copy_backup type=a
exit
/* Restart Skript */
reschedule:
delete schedule r_copy_backup type=a
def sch r_copy_backup type=admin -
cmd="run Copy_Backup" active=yes -
startt=NOW+0:20 duration=5 durunits=minutes -
perunits=onetime expiration=today+1
The select statements could be refined to select only backup sessions or only
migration processes.
HTH
Thomas Rupp
-----Ursprüngliche Nachricht-----
Von: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] Im Auftrag
von Spearman, Wayne
Gesendet: Dienstag, 15. März 2005 18:29
An: ADSM-L AT VM.MARIST DOT EDU
Betreff: [ADSM-L] TSM scripts/macros
We are interested using a script or macro to control our admin schedules
instead of using the Central Scheduler. We are having trouble figuring out
how to detect that diskpool migrations are done so we can start backup
copypool processes. Is anyone doing something similar to what we are wanting
to do or have some examples they are willing to share?
Wayne
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- AW: [ADSM-L] TSM scripts/macros,
Thomas Rupp <=
|
|
|