1. Starting the TSM Scheduler
In order for the TSM client to perform an automatic scheduled backup, the TSM Scheduler must be running on the client machine during the allotted scheduled window. As all scheduled windows at OUCS occur overnight, between 18:00 and 06:00, this means that the client machine must be running the TSM scheduler and the machine left switched on overnight on the night(s) of the schedule window.
This is achieved by running the TSM Scheduler as a daemon.
Running the TSM Scheduler process causes output to be written to several log files.
These, by default, are located in /var/log.
1.1. Enabling the scheduler
During the installation of the TSM software you may have been given the option to enable the scheduler. If you didn't answer yes to this you, or you have subsequently disabled the scheduler, you can enable the scheduler by running
/opt/tivoli/tsm/client/ba/bin/HFSscheduler onThis will both start the scheduler and configure the system to start it at boot time.
1.2. Disabling the scheduler
/opt/tivoli/tsm/client/ba/bin/HFSscheduler offThis will both stop the scheduler and configure the system not to start it at boot time.
1.3. Log files
TSM scheduler writes to the following log files in /var/log (unless the variable DSM_LOG is set at run time to specify an alternative location)
- dsmsched.log - the log of the all scheduled backups. This file lists the details of each file processed in the most recent scheduled backups, the summary results of the most recent scheduled backups and the time of the next scheduled backup.
- dsmerror.log - lists any errors encountered in any manual or scheduled backup.
1.4. Checking there is a schedule
The logfile /var/log/dsmsched.log should contain
output similar to:
03-12-2009 08:19:13 --- SCHEDULEREC QUERY BEGIN
03-12-2009 08:19:13 --- SCHEDULEREC QUERY END
03-12-2009 08:19:13 Next operation scheduled:
03-12-2009 08:19:13 ------------------------------------------------------------
03-12-2009 08:19:13 Schedule Name: WEEKDAILY_OUCS
03-12-2009 08:19:13 Action: Incremental
03-12-2009 08:19:13 Objects:
03-12-2009 08:19:13 Options:
03-12-2009 08:19:13 Server Window Start: 00:00:00 on 04-12-2009
03-12-2009 08:19:13 ------------------------------------------------------------
03-12-2009 08:19:13 Schedule will be refreshed in 12 hours.
If the next schedule window is more than 12 hours away the last line will say "Schedule will be refreshed in 12 hours" as above. If sooner it will say something like "Command will be executed in 5 hours and 27 minutes".
You can query the schedule window from the command line as below:
dsmc query schedule
Up: Contents Next: 2. Checking the Scheduled Backup has worked
Sections in this document:
