User Tools

Site Tools


tsm:tsm_client_linux_systemctl

This is an old revision of the document!


TSM linux client using systemctl

https://www-01.ibm.com/support/docview.wss?uid=swg21976275

Systemctl failed to start with dsmcad

Resolution is to implement a new script to start dsmcad and to be persistent after reboot. Follow these instructions:

  Execute the following commands to stop the running dsmcad service (if any) and to clear the old style dsmcad service configuration. Execute as root:
# service dsmcad stop
# chkconfig --del dsmcad
# rm /etc/init.d/dsmcad

Into the latest (7.7) version of TSM client the service is still available, just activate it:

# ln -s /opt/tivoli/tsm/client/ba/bin/dsmcad.service /usr/lib/systemd/system
# systemctl enable dsmcad.service
# systemctl start dsmcad.service
# systemctl status dsmcad.service

To list the service:

# systemctl list-unit-files | grep dsm
dsmcad.service                                       linked

Notes:

1)There was a secondary failure where dsmcad could not open the dsmerror.log. As such the following “Environment” is added under the {Service] section of the Unit file:

Environment=“DSM_LOG=/opt/tivoli/tsm/client/ba/bin”

2) (optional if DP for VMware is in use) Per the “Data Protection for VMware Installation Guide” manual (“Appendix A. Advanced configuration tasks”), it is our documented requirement/behavior: “…To configure the Client Acceptor Service and Backup-Archive Scheduler Service to act as a vStorage Backup Server, set the following environment variable in the /etc/init.d/dsmcad file”.

With SUSE 12 SP1 it was found that this needed to be added to the environment in the Unit file “Service” section. LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin

3) These two environment settings need to be on a single line else this has been seen to fail.

tsm/tsm_client_linux_systemctl.1609532732.txt.gz · Last modified: 2021/01/01 21:25 by 127.0.0.1