This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
public:tsm-backup [2023/12/05 14:29] Nicolas Stolz |
public:tsm-backup [2025/11/03 15:04] (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.27.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 7 branch: | + | # E.g., for version 8 branch: |
| - | mkdir TSMinstall; mv 8.1.20.0-TIV-TSMBAC-LinuxX86_DEB.tar TSMinstall; cd TSMinstall | + | mkdir TSMinstall; mv 8.1.27.0-TIV-TSMBAC-LinuxX86_DEB.tar TSMinstall; cd TSMinstall |
| - | tar xvf 8.1.20.0-TIV-TSMBAC-LinuxX86_DEB.tar | + | tar xvf 8.1.27.0-TIV-TSMBAC-LinuxX86_DEB.tar |
| | | ||
| # Install the packages in following order: | # Install the packages in following order: | ||
| Line 26: | Line 26: | ||
| # 3. tivsm-api64 | # 3. tivsm-api64 | ||
| # 4. tivsm-ba | # 4. tivsm-ba | ||
| + | |||
| + | # E.g., for version 8 branch: | ||
| + | dpkg -i gskcrypt64_8.0-60.4.linux.x86_64.deb | ||
| + | dpkg -i gskssl64_8.0-60.4.linux.x86_64.deb | ||
| + | dpkg -i tivsm-api64.amd64.deb | ||
| + | dpkg -i tivsm-ba.amd64.deb | ||
| + | |||
| # E.g., for version 7 branch: | # E.g., for version 7 branch: | ||
| dpkg -i gskcrypt64_8.0-50.78.linux.x86_64.deb | dpkg -i gskcrypt64_8.0-50.78.linux.x86_64.deb | ||
| Line 173: | Line 180: | ||
| * Change locale with <code bash>localectl set-locale LANG="en_US" LC_CTYPE="en_US"</code> and verify with <code bash>localectl</code> | * Change locale with <code bash>localectl set-locale LANG="en_US" LC_CTYPE="en_US"</code> and verify with <code bash>localectl</code> | ||
| * Finally, restart dsmcad scheduler:<code bash>systemctl restart dsmcad</code> In the next run all files including those with special characters should be backed up. | * Finally, restart dsmcad scheduler:<code bash>systemctl restart dsmcad</code> In the next run all files including those with special characters should be backed up. | ||
| + | |||
| + | -------------------- | ||
| + | |||
| + | === ANS1592E Failed to initialize SSL protocol. === | ||
| + | |||
| + | :!: //UIBK only!// \\ \\ | ||
| + | In some (rare) cases, you can experience this error when trying to connect with ''dsmc'' after a fresh install. | ||
| + | \\ \\ | ||
| + | Unlike the error may suggest, the problem lies on the server side. ZID has to do follwing steps to correct that: | ||
| + | |||
| + | * (Re)set your node password to a different one | ||
| + | * Correct the Node Registration (set session security to transitional) | ||
| + | |||
| + | There are some ZID-Tickets addressing this issue, e.g. https://zid-ts.uibk.ac.at/browse/SYSOP-101605 | ||
| -------------------- | -------------------- | ||
| Line 216: | Line 237: | ||
| * Go to | * Go to | ||
| - | * for branch 7: https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v7r1/Linux/LinuxX86/BA/ | + | * <del>for branch 7: https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v7r1/Linux/LinuxX86/BA/</del> |
| * for branch 8: https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86/BA/ | * for branch 8: https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86/BA/ | ||
| * Select the newest version and download the .tar file | * Select the newest version and download the .tar file | ||
| * Extract the files in a temporary folder | * Extract the files in a temporary folder | ||
| * With __rpm -ivh__ install the packages in the **following** order: | * With __rpm -ivh__ install the packages in the **following** order: | ||
| - | * gskcrypt | + | - gskcrypt |
| - | * gskssl | + | - gskssl |
| - | * TIVsm-API64 | + | - TIVsm-API64 |
| - | * TIVsm-APIcit | + | - TIVsm-APIcit |
| - | * TIVsm-BA | + | - TIVsm-BA |
| - | * TIVsm-BAcit | + | - TIVsm-BAcit |
| - | + | ||
| - | Use ''rpm -Uvh'' to upgrade the packages. TIV packages need to be updated with one singele command example ''rpm -Uvh TIVsm-API64.x86_64.rpm TIVsm-APIcit.x86_64.rpm TIVsm-BA.x86_64.rpm TIVsm-BAcit.x86_64.rpm'' | + | |
| Configuration and futher steps are details in the [[https://web.archive.org/web/20070824061029/http://unix-docu.uibk.ac.at/zid/systeme/adsm/workstations/v5.unix.install.html#HDR0003|ZID Unix-Docu, archived version]] :!: **//some parts there are outdated!//**:!:. | Configuration and futher steps are details in the [[https://web.archive.org/web/20070824061029/http://unix-docu.uibk.ac.at/zid/systeme/adsm/workstations/v5.unix.install.html#HDR0003|ZID Unix-Docu, archived version]] :!: **//some parts there are outdated!//**:!:. | ||
| Line 240: | Line 259: | ||
| If you are behind a firewall you should set the option webports to specific values and forward those ports on your firewall for the TSM server to be able to reach you. | If you are behind a firewall you should set the option webports to specific values and forward those ports on your firewall for the TSM server to be able to reach you. | ||
| + | |||
| + | |||
| + | ==== Upgrading a working TSM instance to the latest package ==== | ||
| + | Use ''rpm -Uvh'' to upgrade the packages. TIV packages need to be updated with one single command, e.g.: | ||
| + | |||
| + | <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 ==== | ||