HowTo install TSM Backup client in Debian Squeeze (Ubuntu) 64bit
1. Update Debian system and install required packages
# aptitude update
# aptitude full-upgrade
# aptitude install alien libstdc++6 ksh ia32-libs
2. Go to directory /usr/src/ and download latest package from IBM web site. After download unpack archive.
# cd /usr/src/
# wget "ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r2/Linux/LinuxX86/v622/6.2.2.0-TIV-TSMBAC-LinuxX86.tar"
# tar -xvf 6.2.2.0-TIV-TSMBAC-LinuxX86.tar
3. Unpack RPM files
# alien -g -c TIVsm-API.i386.rpm
# alien -g -c TIVsm-API64.i386.rpm
# alien -g -c TIVsm-BA.i386.rpm
# alien -g -c gskcrypt32-8.0.13.4.linux.x86.rpm
# alien -g -c gskcrypt64-8.0.13.4.linux.x86_64.rpm
# alien -g -c gskssl32-8.0.13.4.linux.x86.rpm
# alien -g -c gskssl64-8.0.13.4.linux.x86_64.rpm
4. Make a correct path for debian build script
# mv TIVsm-API-6.2.2/debian TIVsm-API-6.2.2/DEBIAN
# mv TIVsm-API64-6.2.2/debian TIVsm-API64-6.2.2/DEBIAN
# mv TIVsm-BA-6.2.2/debian TIVsm-BA-6.2.2/DEBIAN
# mv gskcrypt32-8.0/debian gskcrypt32-8.0/DEBIAN
# mv gskcrypt64-8.0/debian gskcrypt64-8.0/DEBIAN
# mv gskssl32-8.0/debian gskssl32-8.0/DEBIAN
# mv gskssl64-8.0/debian gskssl64-8.0/DEBIAN
5. Make a correct file permissions for debian build script
# chmod 755 TIVsm-API-6.2.2/DEBIAN/{postinst,prerm}
# chmod 755 TIVsm-API64-6.2.2/DEBIAN/{postinst,prerm}
# chmod 755 TIVsm-BA-6.2.2/DEBIAN/{postinst,prerm}
# chmod 755 gskcrypt32-8.0/DEBIAN/postinst
# chmod 755 gskcrypt64-8.0/DEBIAN/postinst
# chmod 755 gskssl32-8.0/DEBIAN/{postinst,prerm}
# chmod 755 gskssl64-8.0/DEBIAN/{postinst,prerm}
6. Edit control files for each package
# vi TIVsm-API-6.2.2/DEBIAN/control
Package: tivsm-api
Version: 6.2.2
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM Tivoli Storage Manager API
# vi TIVsm-API64-6.2.2/DEBIAN/control
Package: tivsm-api64
Version: 6.2.2
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM Tivoli Storage Manager API
# vi TIVsm-BA-6.2.2/DEBIAN/control
Package: tivsm-ba
Version: 6.2.2
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM Tivoli Storage Manager Client
# vi gskcrypt32-8.0/DEBIAN/control
Package: gskcrypt32
Version: 8.0
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM GSKit Cryptography Runtime
# vi gskcrypt64-8.0/DEBIAN/control
Package: gskcrypt64
Version: 8.0.13.4
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM GSKit Cryptography Runtime
# vi gskssl32-8.0/DEBIAN/control
Package: gskssl32
Version: 8.0.13.4
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM GSKit SSL Runtime With Acme Toolkit
# vi gskssl64-8.0/DEBIAN/control
Package: gskssl64
Version: 8.0.13.4
Architecture: amd64
Maintainer: Milan Kozak <hodza@hodza.net>
Section: alien
Priority: extra
Description: IBM GSKit SSL Runtime With Acme Toolkit
7. Build deb packages
# dpkg -b TIVsm-API-6.2.2
# dpkg -b TIVsm-API64-6.2.2
# dpkg -b TIVsm-BA-6.2.2
# dpkg -b gskcrypt32-8.0
# dpkg -b gskcrypt64-8.0
# dpkg -b gskssl32-8.0
# dpkg -b gskssl64-8.0
8. Install all deb packages
# dpkg -i TIVsm-API-6.2.2.deb
# dpkg -i TIVsm-API64-6.2.2.deb
# dpkg -i TIVsm-BA-6.2.2.deb
# dpkg -i gskcrypt32-8.0.deb
# dpkg -i gskcrypt64-8.0.deb
# dpkg -i gskssl32-8.0.deb
# dpkg -i gskssl64-8.0.deb
9. Create missing symlinks
# ln -s /opt/tivoli/tsm/client/api/bin/libgpfs.so /lib32/
# ln -s /opt/tivoli/tsm/client/api/bin/libdmapi.so /lib32/
# ln -s /usr/lib/libgsk8cms.so /lib32/
# ln -s /usr/lib/libgsk8ssl.so /lib32/
# ln -s /usr/lib/libgsk8sys.so /lib32/
# ln -s /usr/lib/libgsk8iccs.so /lib32/
10. Test TSM Client
# dsmc
Joke: Or install the RPMs on RHEL 5 or 6 😉
That had to be challenging. Nice work.
19 června, 2011 at 9:49 pmThe most great explanation and the most helpful one.
29 června, 2011 at 4:26 pmThanks a lot !!!
…or get IBM to supply DEBs.
Thanks a lot!
11 července, 2011 at 11:49 amPatrick
The content is as clear and accurate as it should be.
thanks a lot!
13 července, 2011 at 2:31 pmGreat explanation! Works like a charm. Thanks a lot!
25 července, 2011 at 1:19 pmTo complete:
1. create a file /etc/ld.so.conf.d/tsm.conf
2. put the following two lines in the file:
/opt/tivoli/tsm/client/api/bin
/usr/local/ibm/gsk8/lib
3. run sudo ldconfig
to connect from remote:
2 srpna, 2011 at 5:25 pmssh -X unprivilegeduser@backupclient.fqdn
unprivilegeduser@backupclient.fqdn:$ gksudo /opt/tivoli/tsm/client/ba/bin/dsmj
great thanx
24 listopadu, 2011 at 6:26 pmwill these instructions work on wheezy non-ubuntu?
30 října, 2012 at 9:50 pmHi,
I got some Debian servers. A per uname -m this are 32 bits. This intructions are made for this kind of too.
22 ledna, 2014 at 8:32 pm