Wednesday, July 17, 2013

Installing the TSM client on an Ubuntu machine

Target OS: Ubuntu 12.04 Desktop
TSM Client Version: 6.4.0.0


sudo apt-get install ksh libstdc++5 alien

ftp://service.boulder.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r4/Linux/LinuxX86/BA/v640/6.4.0.0-TIV-TSMBAC-LinuxX86.tar

# mkdir 6.4.0.0-TIV-TSMBAC-LinuxX86.ORIG
# mkdir 6.4.0.0-TIV-TSMBAC-LinuxX86
# cp 6.4.0.0-TIV-TSMBAC-LinuxX86.ORIG/6.4.0.0-TIV-TSMBAC-LinuxX86.tar 6.4.0.0-TIV-TSMBAC-LinuxX86
# cd 6.4.0.0-TIV-TSMBAC-LinuxX86
# tar xvf 6.4.0.0-TIV-TSMBAC-LinuxX86.tar

# alien -c -g TIVsm-API64.x86_64.rpm
# alien -c -g TIVsm-BA.x86_64.rpm
# alien -c -g gskcrypt64-8.0.14.11.linux.x86_64.rpm
# alien -c -g gskssl64-8.0.14.11.linux.x86_64.rpm

# mv TIVsm-API64-6.4.0/debian TIVsm-API64-6.4.0/DEBIAN
# mv TIVsm-BA-6.4.0/debian TIVsm-BA-6.4.0/DEBIAN
# mv gskssl64-8.0/debian gskssl64-8.0/DEBIAN
# mv gskcrypt64-8.0/debian gskcrypt64-8.0/DEBIAN


edit control packages


    remove blank line after "Maintainer:" line
    in "Architecture:" line change "i386" to "amd64"
    delete "${shlibs:Depends}" in "Depends:" line
    joing two "Description:" lines into one line
    insert line "Version: 6.4.0"
    delete last two lines " ." and " (Converted..."
    append an empty line as last line


# dpkg -b TIVsm-API64-6.4.0
# dpkg -b TIVsm-BA-6.4.0
# dpkg -b gskssl64-8.0
# dpkg -b gskcrypt64-8.0


chmod 0775 postinst and other scripts

# dpkg -i TIVsm-API64-6.4.0.deb
# dpkg -i TIVsm-BA-6.4.0.deb
# dpkg -i gskssl64-8.0.deb
# dpkg -i gskcrypt64-8.0.deb



Add the TSM libraries to your linker config path, and rescan.

# echo "/opt/tivoli/tsm/client/api/bin" > /etc/ld.so.conf.d/tsm.conf
# echo "/opt/tivoli/tsm/client/api/bin64" >> /etc/ld.so.conf.d/tsm.conf
# echo "/usr/local/ibm/gsk8_64/lib64" >> /etc/ld.so.conf.d/tsm.conf
# echo "/usr/lib64" >> /etc/ld.so.conf.d/tsm.conf

# ldconfig


Make a link so the client knows where to find the language catalogs

# ln -s /opt/tivoli/tsm/client/lang/EN_US /opt/tivoli/tsm/client/ba/bin/EN_US

No comments: