IBM doesn't provide the TSM BA client software package for the Ubuntu Operating System but we have the work around for it. If you want to install BA client on Ubuntu systems and schedule a backup follow the below steps. In this post I will share the steps to install TSM BAclient software and then steps to start automatic dsmcad service during system startup. It is recommended to first check it on a test machine and then go for production.
Procedure to install TSM BA client software on Ubuntu Systems
- Since ubuntu is one of the Linux flavor, we have to download the suitable BA client software for Linux (32 bit or 64 bit). Download them and copy them into one folder.
- Next, we have to install alien (rpm2deb converter tool) packages by running the below command. For this we need to have internet connection with firewall disabled. This tool is used to convert the Linux RPM packages to Ubuntu Debian package.
- Now, we have to create the .deb install packages by converting .rpm to .deb packages. Use the --scripts to convert the inbuilt scripts into .deb package. Please double check the package names you have downloaded, they might have different names.
alien -k --scripts gskcrypt64-8.0.14.14.linux.x86_64.rpm
alien -k --scripts gskssl64-8.0.14.14.linux.x86_64.rpm
alien -k --scripts TIVsm-BA.x86_64.rpm
- Now you can check by using ls -ltr comand if they are successfully converted to .deb package.
- Now we have to finally install all the .deb packages. You can install the packages one by one or all together by using the below command.
The above command will install all the .deb packages in that particular directory
ln -s /opt/tivoli/tsm/client/api/bin64/libgpfs.so /lib/
ln -s /opt/tivoli/tsm/client/api/bin64/libdmapi.so /lib/
ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8cms_64.so /lib/
ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8ssl_64.so /lib/
ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8sys_64.so /lib/
ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8iccs_64.so /lib/
ln -s /opt/tivoli/tsm/client/lang/EN_US /opt/tivoli/tsm/client/ba/bin/
- From this step you can use the same procedure as we use to configure the linux clients. Configure dsm.sys and dsm.opt files and you can start taking the backup.
How to make automatic dsmcad service startup during Ubuntu system starttup
Generally on linux machines, we use /etc/init.d/dsmcad script to enable automatic dsmcad service during system startup. But this script doesn't work in Ubuntu machines. The work around for this is shown below.
Also Read: Types of TSM BA Client Interfaces - Video Tutorials
Also Read: Types of TSM BA Client Interfaces - Video Tutorials
$ vi dsmcad.conf
# dsmcad
# This service starts the Tivoli Storage Manager "dsmcad"
start on runlevel [2345]
script
export LANG=en_US
export LC_MESSAGES=en_US
export LC_CTYPE=de_DE
exec /opt/tivoli/tsm/client/ba/bin/dsmcad >/dev/null 2>&1
end script
2) If you did not gave errorlogname parameter in dsm.sys file, dsmcad service will not run. make sure you update dsm.sys file with
errorlogname=/opt/tivoli/tsm/client/ba/bin/dsmerror.log
3) Now You can start the dsmcad service with following command
0 Comment to "How to install TSM BA Client on Ubuntu OS and run automatic dsmcad service during system startup"
Post a Comment