Debian: Install TSM client

From COSSAN Wiki
Jump to: navigation, search

This is a guide to install IBM TSM client on the debian system. Unfortunatly Debian is not sopported by IBM and therefore no .deb package are available. Here I present a workaround to install the RPM package on the Debian system. If you follow this one, you should have a working TSM client with working webclient.

Here we go.

I used TSM client version Version 5, Release 4, Level 0.0

Download the TSM client (RPM package) from here: ftp://zid-lux1/mirror/tsm/LATEST/

First of all, you should grab the script that is included in the RPM.

rpm -q --scripts -p TIVsm-BA.i386.rpm > pscripts.sh

Take a look at the script file, you MUST remove the top line. Also remove the bottom part (uninstall part). Don't run this script jet! Save it.

Convert the .RPM's to .DEB using:

alien -d TIVsm-BA.i386.rpm
alien -d TIVsm-API.i386.rpm

Now install this:

dpkg -i tivsm-api_5.4.0-0_i386.deb tivsm-ba_5.4.0-0_i386.deb

Add the library path:

echo "/opt/tivoli/tsm/client/api/bin" >> /etc/ld.so.conf
ldconfig

Run the extracted script:

chmod +x pscript.sh
sh pscript.sh

If something fails you'll have to debug the script yourself.

For dsmc to work (command line) you'll need to install this:

aptitude install libstdc++2.10-glibc2.2

For the webclient (and probably the scheduler) you'll need to install this:

wget http://ftp.de.debian.org/debian/pool/main/e/egcs1.1/libstdc++2.9-glibc2.1_2.91.66-4_i386.deb
dpkg -i libstdc++2.9-glibc2.1_2.91.66-4_i386.deb


That should be it. Works like a charm on my system :)

To run the TSM client GUI tool:

/opt/tivoli/tsm/client/ba/bin/dsmj

See also