Starting the Client Scheduler
Central scheduling is a cooperative effort between the server and each client node. The client must also be running its own scheduler process so that the client and server can contact each other to correctly run the scheduled operation.
Before you begin
You must be an Authorized User to start the client scheduler.
About this task
- Use the cient acceptor to launch the command line scheduler. This is the preferred method because the client acceptor launches the scheduler only when necessary. The scheduler then exits after performing the scheduled action. As a result, you do not have to be logged on to the client in order for scheduled events to occur.
- Use the command line interface (dsmc)
to start the scheduler in standalone mode. This is not the preferred
method because of memory retention issues with the scheduler. To run
the client scheduler in standalone mode, do one of the following tasks:
- To start the scheduler at any appropriate time, issue the following
command at your command prompt:
dsmc scheduleWhen you start the client scheduler, it runs continuously until you close the window, end the process, or log off your system.
- Run the scheduler in the background and keep it running even if you log out of your system. To
do so, issue the following command:
nohup dsmc schedule 2> /dev/null &If the IBM Spectrum Protect password is required for your workstation and you want to run the schedule command in the background, enter the password with the command.
- To start the client scheduler automatically when you start your operating system, ensure that
the passwordaccess option is set to generate in your client
system options file, and add the following command in the /etc/inittab file:
For AIX®, Linux, and Oracle Solaris:
tsm::once:/usr/bin/dsmc sched > /dev/null 2>&1 # TSM schedulerFor Mac OS X:
The system administrator must generate a password so that the client can store the password in the password store (TSM.KDB, TSM.STH, and TSM.IDX). This can be done either with the IBM Spectrum Protect for Administrators icon or with the command line.
A system administrator must use either of the following methods to enable the client acceptor daemon to launch the command-line client in schedule mode to handle scheduled events during system boot up.
- Method 1 (preferred)
- Use the IBM Spectrum Protect for Administrators icon and Start the Client Acceptor. This installs the client acceptor daemon as a system startup item so the client acceptor daemon starts after system restarts. The client acceptor daemon is also started immediately, so you do not need to restart the system to handle scheduled events.
- Method 2
- Use the shell script in the /Library/Application
Support/tivoli/tsm/client/ba/bin directory to install the client acceptor daemon as a
startup item. The script name is install_cad.sh. Complete the following steps to start the client acceptor daemon manually, and to check that it is running.
- To start the client acceptor daemon manually, enter the following command in a terminal window:
sudo /sbin/SystemStarter start dsmcad - To check whether the client acceptor daemon is running, enter the following command:
If the client acceptor daemon is running, one of the processes listed will have the path /usr/bin/dsmcad.sudo ps -x | grep dsmcad
- To start the client acceptor daemon manually, enter the following command in a terminal window:
- To start the scheduler at any appropriate time, issue the following
command at your command prompt:
- To modify scheduling options, access the client options file through the command line, or access the Scheduler tab of the Preferences Editor. See also Configure the Client or Modify Scheduling Options.
- If the web client is installed,
the client acceptor
daemon is another means of managing the
scheduler (in addition to managing the web client). Managing scheduled backups with
the client acceptor can provide the following benefits:
- Resolves memory retention problems created by the scheduler.
- Reduces the number of continuously running programs on your machine if the client acceptor manages both the scheduler and the web client.
- The client acceptor launches the scheduler only when necessary and then exits after performing the scheduled action.
To enable the client acceptor to run the scheduler, specify the Schedule option in the Managed Services group box of the Web Client tab in the Preferences window. You can also set the MANAGEDServices SCHEDULE option in the dsm.sys file.
If the client acceptor is enabled to run the scheduler but you start the scheduler through another method, the scheduler will terminate.
- The client does not record changes to the client user options file and the client system options file while the scheduler is running. If you make changes to those files while the scheduler is running, and you want to begin using the new values immediately, you must stop the scheduler and then restart it.
- Tape prompting does not occur during a scheduled operation regardless of the setting for the TAPEPROMPT option in your client user options file.
- If you include files for encryption processing, ensure that you select the Save Encryption Key Password Locally option in the Authorization Preferences tab so that the client scheduler can perform unattended scheduled services without prompting the user for the encryption key. If the encryption key has not been previously saved, you must perform an attended backup of at least one file, otherwise scheduled tasks will fail. When you perform the attended backup, you will need to enter an encryption key and the key will be saved.