User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:tsm-backup [2023/12/06 10:46]
Nicolas Stolz [Upgrading a working TSM instance to the latest package]
public:tsm-backup [2024/12/11 10:42] (current)
Nicolas Stolz
Line 6: Line 6:
  
 \\ \\
-Download the IBM Tivoli Client Software ​<​del>​(v7 is mandatory, v8 is not yet fully supported by the UIBK ADSM server)</​del>​:+Download the IBM Tivoli Client Software:
  
   * Version 8 branch:   * Version 8 branch:
     * Open https://​public.dhe.ibm.com/​storage/​tivoli-storage-management/​maintenance/​client/​v8r1/​Linux/​LinuxX86_DEB/​BA/ ​     * Open https://​public.dhe.ibm.com/​storage/​tivoli-storage-management/​maintenance/​client/​v8r1/​Linux/​LinuxX86_DEB/​BA/ ​
-    * Navigate in the directory with the newest version and get the tarball file (e.g. ''​8.1.20.0-TIV-TSMBAC-LinuxX86_DEB.tar''​) \\ \\+    * Navigate in the directory with the newest version and get the tarball file (e.g. ''​8.1.24.0-TIV-TSMBAC-LinuxX86_DEB.tar''​) \\ \\
   * Version 7 branch:   * Version 7 branch:
     * Download tarball from here: ftp://​ftp.software.ibm.com/​storage/​tivoli-storage-management/​maintenance/​client/​v7r1/​Linux/​LinuxX86_DEB/​BA/​v718/​7.1.8.0-TIV-TSMBAC-LinuxX86_DEB.tar     * Download tarball from here: ftp://​ftp.software.ibm.com/​storage/​tivoli-storage-management/​maintenance/​client/​v7r1/​Linux/​LinuxX86_DEB/​BA/​v718/​7.1.8.0-TIV-TSMBAC-LinuxX86_DEB.tar
Line 17: Line 17:
 <code bash> <code bash>
 # Put the tarball in a spearate directory and extract it: # Put the tarball in a spearate directory and extract it:
-# E.g., for version ​branch: +# E.g., for version ​branch: 
-mkdir TSMinstall; mv 8.1.20.0-TIV-TSMBAC-LinuxX86_DEB.tar TSMinstall; cd TSMinstall +mkdir TSMinstall; mv 8.1.24.0-TIV-TSMBAC-LinuxX86_DEB.tar TSMinstall; cd TSMinstall 
-tar xvf 8.1.20.0-TIV-TSMBAC-LinuxX86_DEB.tar+tar xvf 8.1.24.0-TIV-TSMBAC-LinuxX86_DEB.tar
   ​   ​
 # Install the packages in following order: # Install the packages in following order:
Line 251: Line 251:
  
 <code bash>rpm -Uvh gskcrypt64-8.0.55.31.linux.x86_64.rpm gskssl64-8.0.55.31.linux.x86_64.rpm TIVsm-API64.x86_64.rpm TIVsm-APIcit.x86_64.rpm TIVsm-BA.x86_64.rpm TIVsm-BAcit.x86_64.rpm</​code>​ <code bash>rpm -Uvh gskcrypt64-8.0.55.31.linux.x86_64.rpm gskssl64-8.0.55.31.linux.x86_64.rpm TIVsm-API64.x86_64.rpm TIVsm-APIcit.x86_64.rpm TIVsm-BA.x86_64.rpm TIVsm-BAcit.x86_64.rpm</​code>​
 +
 +\\
 +=== Debugging ===
 +On older RedHat based systems you may get some errors while updating, e.g.
 +<​code>​
 +error: Failed dependencies:​
 +        libc.so.6(GLIBC_2.14)(64bit) is needed by TIVsm-API64-8.1.20-0.x86_64
 +        libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by TIVsm-API64-8.1.20-0.x86_64
 +        libc.so.6(GLIBC_2.14)(64bit) is needed by TIVsm-BA-8.1.20-0.x86_64
 +        libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by TIVsm-BA-8.1.20-0.x86_64
 +</​code>​
 +
 +You have to update glibc to minimum version v2.14 AND libstdc (GLIBCXX) to minimum version v3.4.15.
 +
 +Beginning with IBM Spectrum Protect backup-archive client level 8.1.19, the operating system RHEL 6 and SLES 11 are no longer supported, as stated here: \\ [[https://​www.ibm.com/​support/​pages/​apar/​IT44180]]
 +
 +However, you can manually update the required libraries. This is not a clean way of updating, but tested working in several machines running CentOS 6:
 +
 +<code bash>
 +cd /​tmp/​TSMinstall
 +mkdir glibc; cd glibc
 +
 +# Check installed version(s) of glibc
 +ldconfig ​ -p | grep libc.so
 +strings /​lib64/​libc.so.6 | grep GLIBC
 +
 +# Download glibc v2.17 libraries compiled to work for CentOS 6 Systems
 +# Source: https://​gist.github.com/​harv/​f86690fcad94f655906ee9e37c85b174
 +wget http://​copr-be.cloud.fedoraproject.org/​results/​mosquito/​myrepo-el6/​epel-6-x86_64/​glibc-2.17-55.fc20/​glibc-2.17-55.el6.x86_64.rpm
 +wget http://​copr-be.cloud.fedoraproject.org/​results/​mosquito/​myrepo-el6/​epel-6-x86_64/​glibc-2.17-55.fc20/​glibc-common-2.17-55.el6.x86_64.rpm
 +wget http://​copr-be.cloud.fedoraproject.org/​results/​mosquito/​myrepo-el6/​epel-6-x86_64/​glibc-2.17-55.fc20/​glibc-devel-2.17-55.el6.x86_64.rpm
 +wget http://​copr-be.cloud.fedoraproject.org/​results/​mosquito/​myrepo-el6/​epel-6-x86_64/​glibc-2.17-55.fc20/​glibc-headers-2.17-55.el6.x86_64.rpm
 +
 +# You might have to install missing packet glibc-common and/or remove i686 version of glibc on 64bit systems:
 +# yum install glibc-common
 +# yum remove glibc.i686
 +
 +# Update glibc to v2.17
 +rpm -Uvh glibc-2.17-55.el6.x86_64.rpm glibc-common-2.17-55.el6.x86_64.rpm glibc-devel-2.17-55.el6.x86_64.rpm glibc-headers-2.17-55.el6.x86_64.rpm
 +
 +# Check again installed version(s) of glibc, you should now have v2.17
 +strings /​lib64/​libc.so.6 | grep GLIBC
 +
 +
 +# now update libstdc++ (GLIBCXX):
 +
 +# check GLIBCXX-Version
 +strings /​usr/​lib64/​libstdc++.so.6 |grep LIBCXX
 +
 +# Download libstdc++ v4.8.5 libraries
 +cd /​tmp/​TSMinstall
 +mkdir libstdc; cd libstdc
 +wget https://​rpmfind.net/​linux/​centos/​7.9.2009/​os/​x86_64/​Packages/​libstdc++-4.8.5-44.el7.x86_64.rpm
 +
 +# Update libstdc++ to v4.8.5
 +rpm -Uvh libstdc++-4.8.5-44.el7.x86_64.rpm
 +
 +# check GLIBCXX-Version again, should now be > the required GLIBCXX_3.4.15
 +strings /​usr/​lib64/​libstdc++.so.6 |grep LIBCXX
 +
 +# all dependencies should now be fixed, so you can finally install TSM 8:
 +cd ..
 +rpm -Uvh gskssl64-8.0.55.31.linux.x86_64.rpm gskcrypt64-8.0.55.31.linux.x86_64.rpm TIVsm-API64.x86_64.rpm TIVsm-APIcit.x86_64.rpm TIVsm-BA.x86_64.rpm TIVsm-BAcit.x86_64.rpm
 +</​code>​
 +\\
 ==== Restore ==== ==== Restore ====
  
Last modified: 2023/12/06 10:46 by Nicolas Stolz