IBM Tivoli Storage Manager, Version 7.1

Example: Setting up the server maintenance schedule

Schedule server maintenance operations to run outside of the client backup window, with as little overlap as possible.

You can control the timing of schedules for maintenance tasks by setting the start time in combination with the duration time for each operation. Here is an example of how you could time each process:
08:00 - end
Storage pool backup
11:00 to 13:00
Identification of duplicates
13:00 - 15:00
Inventory expiration
14:00 - 16:00
Storage pool migration
16:00 - 18:00
Reclamation processing
18:00 - end
Database backup, including volume history and device configuration backup
20:00 - end
Client backup

After you determine a timeline, use the DEFINE SCHEDULE command to create schedules for each process. You can include scripts in each schedule so that commands are processed automatically. Use the DEFINE SCRIPT command to create a script and the UPDATE SCRIPT command to add lines.

The following scripts are examples of how to define each server task:
Storage pool backup
/*--------------------------------------*/
/* Storage Pool Backup                  */
/*--------------------------------------*/
def script STGBACKUP "/* Run stg pool backups */"
upd script STGBACKUP "backup stg archivepool copypool maxproc=4 
wait=yes" line=005
upd script STGBACKUP "backup stg backuppool copypool maxproc=4 
wait=yes" line=010
upd script STGBACKUP "backup stg filepool copypool maxproc=4 wait=yes" 
line=020
upd script STGBACKUP "backup stg filepool2 copypool maxproc=4 wait=yes" 
line=025
upd script STGBACKUP "backup stg tapepool copypool maxproc=3 wait=yes" 
line=030
def sched STGBACKUP type=admin cmd="run STGBACKUP" active=yes desc="Run 
all stg pool backups." \
startdate=today starttime=08:00:00 dur=45 duru=minutes per=1 peru=day
commit 
Identification of duplicates
/*--------------------------------------*/
/* Deduplication                        */
/*--------------------------------------*/

def script DEDUP "/* Run identify duplicate processes. */"
upd script DEDUP "identify duplicates FILEPOOL numpr=4 duration=120" \ 
line=010
upd script DEDUP "identify duplicates FILEPOOL2 numpr=2 duration=120" \
line=015
def sched  DEDUP type=admin cmd="run DEDUP" active=yes desc="Run identify 
duplicates." \
startdate=today starttime=11:00:00 dur=45 duru=minutes per=1 peru=day
commit
Inventory expiration
/*--------------------------------------*/
/* Expiration
/*--------------------------------------*/
def script EXPIRE "/* Run expiration processes. */"
upd script EXPIRE "expire inventory wait=yes duration=120" line=010
def sched  EXPIRATION type=admin cmd="run expire" active=yes desc="Run 
expiration." \
  startdate=today starttime=13:00:00 dur=45 duru=minutes per=1 peru=day
commit
Storage pool migration
/*--------------------------------------*/
/* Storage Pool Migration               */
/*--------------------------------------*/

def script MIGRATE "/* Run stg pool migration */"
upd script MIGRATE "migrate stg archivepool duration=30 wait=yes" line=005
upd script MIGRATE "migrate stg backuppool duration=30 wait=yes" line=010
upd script MIGRATE "migrate stg filepool2 duration=60 wait=yes" line=015
def sched  MIGRATE type=admin cmd="run MIGRATE" active=yes desc="Migrate 
data to tape pools ." \
  startdate=today starttime=14:00 dur=45 duru=minutes per=1 peru=day
commit
Reclamation processing
/*--------------------------------------*/
/* Storage Pool Reclamation             */
/*--------------------------------------*/

def script RECLAIM "/* Run stg pool reclamation */"
upd script RECLAIM "reclaim stg filepool threshold=40 duration=120 
wait=yes" line=005
upd script RECLAIM "reclaim stg filepool2 threshold=40 duration=120 
wait=yes" line=008
upd script RECLAIM "reclaim stg tapepool threshold=60 duration=60 wait=yes" 
line=010
def sched  RECLAIM type=admin cmd="run RECLAIM" active=yes desc="Reclaim 
space from FILEPOOL and TAPEPOOL." \
  startdate=today starttime=16:00 dur=45 duru=minutes per=1 peru=day
commit
Database backup, including volume history and device configuration backup
/*--------------------------------------*/
/* Database Backup                      */
/*--------------------------------------*/

def script DBBACKUP "/* Run DB backups */"
upd script DBBACKUP "backup db devc=ts3310devc type=full wait=yes" line=005
upd script DBBACKUP "backup volhist" line=010
upd script DBBACKUP "backup devconf" line=015
def sched  DBBACKUP type=admin cmd="run DBBACKUP" active=yes desc="Run 
database backup." \
  startdate=today starttime=18:00:00 dur=45 duru=minutes per=1 peru=day
commit


Feedback