Automatic TSM scheduler (dsmcad service) should be enabled in order to take the backup of the client systems automatically, and this service should be able to restart itself even when the system reboots. In Linux systems until TSM V5, we have to make an entry in the /etc/inittab as follows. You can use the same settings for both 32-bit and 64-bit Linux operating Systems.
cad::once:/opt/tivoli/tsm/client/ba/bin/dsmcad >/dev/null 2>&1 # TSM schedulerAutomatic dsmcad service startup from TSM V6
But, starting with TSM V6 the BA client package comes with a default dsmcad script which can be used to make the dsmcad service automatic during system reboot.Automatic dsmcad service startup in Linux 64-bit systems
On a Redhat linux 64-bit system, adding corresponding scripts for the Tivoli Storage Manager client acceptor daemon, dsmcad, is a standard way to perform necessary administrative tasks like starting, stopping or restarting dsmcad and/or dsm scheduler using standard linux service start/stop/restart for automatic or manual operations.
- The default dsmcad script will be added into the /etc/init.d directory during BA client installation. You can check by using
# ls -ltr
- Next, we have to run the script to start the service.
You can check the status of the service by using ps -ef | grep -i dsm command
- Now to make the service automatic during reboot, run the following command.
Next time when your server reboots, dsmcad service also starts automatically.
Automatic dsmcad service startup in Linux 32-bit systems
On 32-bit systems, the dsmcad script doesn't work properly, I dont know why but I know the work around. You need to do some extra steps to make the dsmcad service automatic. There might be other methods to make this possible too, this is just one of them.
Also Read: Use these 4 TSM Server options to efficiently manage the client backup schedules
Also Read: Use these 4 TSM Server options to efficiently manage the client backup schedules
1) Copy rc.dsmcad script from another 64bit machine to 32 bit machine to
/opt/tivoli/tsm/client/ba/bin
2) Then create a soft link as shown below
# ln -s /opt/tivoli/tsm/client/ba/bin/rc.dsmcad /etc/init.d/dsmcad
Add dsmcad
# /sbin/chkconfig --add dsmcad
Start dsmcad in runlevels 3 and 5 only
# /sbin/chkconfig --level 35 dsmcad on
Verify what runlevels are enabled for dsmcad
# /sbin/chkconfig --list dsmcad
To start dsmcad manually run:
# service dsmcad start
To stop dsmcad run:
# service dsmcad stop
To restart dsmcad (for example to refresh daemon after dsm.sys or dsm.opt modification)
# service dsmcad restart
To check if dsmcad is running run
# service dsmcad status
-or-
# ps -ef | grep dsmcad
5) Finally run this command to make it automatic restart during reboot.
# chkconfig --add dsmcad
Note: It is a good practice to add the errorlogname parameter in dsm.sys file to run the dsmcad service automatically. Sometimes this might cause a problem too.
0 Comment to "How to make dsmcad service start automatically during system reboot in Linux OS (32 bit and 64 bit)"
Post a Comment