前言
ubuntu 13.04以後已經不support ia32-libs,所以之後的要怎樣跑64bit的client還要try
ubuntu 11.04 apt-get一直search不到更新來源,還要確認更舊版本是否有問題
===================================================================
root@ubuntu:~# apt-get install alien libstdc++5 ksh ia32-libs
root@ubuntu:~# tar xvf 5.5.4.0-TIV-TSMBAC-LinuxX86.tar
NOTICES.TXT
README_enu.htm
README_api_enu.htm
README_hsm_enu.htm
TIVsm-API.i386.rpm
TIVsm-API64.rpm
TIVsm-BA.i386.rpm
TIVsm-HSM.i386.rpm
root@ubuntu:~# alien -g TIVsm-API.i386.rpm
Warning: Skipping conversion of scripts in package TIVsm-API: postinst prerm
Warning: Use the --scripts parameter to include the scripts.
Directories TIVsm-API-5.5.4 and TIVsm-API-5.5.4.orig prepared.
root@ubuntu:~# alien -g TIVsm-BA.i386.rpm
Warning: Skipping conversion of scripts in package TIVsm-BA: postinst prerm
Warning: Use the --scripts parameter to include the scripts.
Directories TIVsm-BA-5.5.4 and TIVsm-BA-5.5.4.orig prepared.
root@ubuntu:~# mv TIVsm-API-5.5.4/debian/ TIVsm-API-5.5.4/DEBIAN
root@ubuntu:~# mv TIVsm-BA-5.5.4/debian/ TIVsm-BA-5.5.4/DEBIAN
root@ubuntu:~# vi TIVsm-API-5.5.4/DEBIAN/control
root@ubuntu:~# vi TIVsm-API-5.5.4/DEBIAN/control
root@ubuntu:~# dpkg -b TIVsm-API-5.5.4
dpkg-deb: error: maintainer script `postinst' has bad permissions 644 (must be >=0555 and <=0775)
root@ubuntu:~# chmod 755 TIVsm-API-5.5.4/DEBIAN/postinst
root@ubuntu:~# chmod 755 TIVsm-BA-5.5.4/DEBIAN/postinst
root@ubuntu:~# dpkg -b TIVsm-API-5.5.4
root@ubuntu:~# dpkg -b TIVsm-BA-5.5.4
root@ubuntu:~# echo "/opt/tivoli/tsm/client/api/bin" >> /etc/ld.so.conf.d/tsm-api.conf
root@ubuntu:~# ldconfig
root@ubuntu:~# dpkg -i TIVsm-API-5.5.4.deb
root@ubuntu:~# dpkg -i TIVsm-BA-5.5.4.deb
root@ubuntu:~# cd /opt/tivoli/tsm/client/ba/bin/
root@ubuntu:/opt/tivoli/tsm/client/ba/bin# cp dsm.sys.smp dsm.sys
root@ubuntu:/opt/tivoli/tsm/client/ba/bin# cp dsm.opt.smp dsm.opt
root@ubuntu:/opt/tivoli/tsm/client/ba/bin# chmod 755 dsm.sys
root@ubuntu:/opt/tivoli/tsm/client/ba/bin# chmod 755 dsm.opt
root@ubuntu:/opt/tivoli/tsm/client/ba/bin# vi dsm.sys
root@ubuntu:~# dsmc
dsmc: error while loading shared libraries: libgpfs.so: cannot open shared object file: No such file or directory
root@ubuntu:~# ln -s /opt/tivoli/tsm/client/api/bin/libgpfs.so /lib/
root@ubuntu:~# ln -s /opt/tivoli/tsm/client/api/bin/libdmapi.so /lib/
root@ubuntu:~# ln -s /opt/tivoli/tsm/client/api/bin/libha_gs_r.so /lib/
root@ubuntu:~# ln -s /opt/tivoli/tsm/client/api/bin/libct_cu.so /lib/
root@ubuntu:~# dsmc
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
Client Version 5, Release 5, Level 4.0
Client date/time: 05/06/2014 09:46:48
(c) Copyright by IBM Corporation and other(s) 1990, 2012. All Rights Reserved.
Node Name: PAN660-3
Please enter your user id
:
Please enter password for user id "PAN660-3":
Session established with server TSM2: Linux/x86_64
Server Version 6, Release 3, Level 3.0
Server date/time: 05/06/2014 09:46:47 Last access: 05/06/2014 09:46:38
tsm> inc /
Incremental backup of volume '/'
ANS1898I ***** Processed 6,000 files *****
Directory--> 4,096 / [Sent]
Directory--> 4,096 /bin [Sent]
Directory--> 4,096 /boot [Sent]
...
...
...
Directory--> 4,096 /var/spool/cron/atjobs [Sent]
Directory--> 4,096 /var/spool/cron/atspool [Sent]
Directory--> 4,096 /var/spool/cron/crontabs [Sent]
Normal File--> 2 /var/spool/cron/atjobs/.SEQ [Sent]
Successful incremental backup of '/'
Total number of objects inspected: 69,618
Total number of objects backed up: 69,618
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of bytes transferred: 1.67 GB
Data transfer time: 19.07 sec
Network data transfer rate: 92,190.76 KB/sec
Aggregate data transfer rate: 25,550.86 KB/sec
Objects compressed by: 0%
Elapsed processing time: 00:01:08
tsm> quit
root@ubuntu:~#