[FONT=Nimbus Roman No9 L, serif]My last post covered TSM 551 and Ubuntu 9.04. However, the new Ubuntu release required some modifications. Time for an update. Below instructions worked for me. I hope they also work for you.[/FONT]
[FONT=Nimbus Roman No9 L, serif]Please note: In the text below I used the vertical bar sign "|" to indicate the beginning of a line when referring to lines in a file.[/FONT]
[FONT=Nimbus Roman No9 L, serif]
[/FONT]
[FONT=Nimbus Roman No9 L, serif]Regards,[/FONT]
[FONT=Nimbus Roman No9 L, serif]Werner[/FONT]
[FONT=Nimbus Roman No9 L, serif]Please note: In the text below I used the vertical bar sign "|" to indicate the beginning of a line when referring to lines in a file.[/FONT]
[FONT=Nimbus Roman No9 L, serif]
[/FONT]
- [FONT=Nimbus Roman No9 L, serif]get the TSM RPMs
[FONT=Nimbus Mono L, monospace]wget "ftp://ftp.software.ibm.com/storage/...LinuxX86/v552/5.5.2.0-TIV-TSMBAC-LinuxX86.tar"[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]install 'ksh' and “ia32-libs”
[FONT=Nimbus Mono L, monospace]apt-get install ksh ia32-libs[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]install 'libstdc++5'
This package is no longer maintained in 10.04 and must be imported from an older release. Note: the first 'dpkg' drops the libraries into the 64-bit directory; these must be moved to the 32-bit directory before the second 'dpkg' overwrites the libraries in the 64-bit directory.
[FONT=Nimbus Mono L, monospace]wget http://mirrors.us.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
dpkg -i --force-architecture \ libstdc++5_3.3.6-17ubuntu1_i386.deb
mv /usr/lib/libstdc++.so.5* /usr/lib32/
wget http://mirrors.us.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
dpkg -i libstdc++5_3.3.6-17ubuntu1_amd64.deb[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]unpack the archive
[FONT=Nimbus Mono L, monospace]tar xvf 5.5.2.0-TIV-TSMBAC-LinuxX86.tar[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]unpack the RPM archives (ignore warnings re scripts)
[FONT=Nimbus Mono L, monospace]alien -g TIVsm-API.i386.rpm
alien -g TIVsm-BA.i386.rpm[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]change directory names
[FONT=Nimbus Mono L, monospace]mv TIVsm-API-5.5.2/debian TIVsm-API-5.5.2/DEBIAN
mv TIVsm-BA-5.5.2/debian TIVsm-BA-5.5.2/DEBIAN[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]edit the control files
[FONT=Nimbus Mono L, monospace]vim TIVsm-API-5.5.2/DEBIAN/control[/FONT]
-- remove blank line after "Maintainer:" line
-- in "Architecture:" line change "i386" to "amd64"
-- delete "${shlibsepends}" in "Depends:" line
-- joing two "Description:" lines into one line
-- insert line "Version: 5.5.2"
-- delete last two lines " ." and " (Converted..."
-- append an empty line as last line
[FONT=Nimbus Mono L, monospace]|Source: tivsm-api
|Section: alien
|Priority: extra
|Maintainer: who are you
|Package: tivsm-api
|Architecture: amd64
|Depends:
|Description: the API IBM Tivoli Storage Manager API
|Version: 5.5.2
|[/FONT]
-- save and exit
[FONT=Nimbus Mono L, monospace]vim TIVsm-BA-5.5.2/DEBIAN/control[/FONT]
-- remove blank line after "Maintainer:" line
-- in "Architecture:" line change "i386" to "amd64"
-- delete "${shlibsepends}" in "Depends:" line
-- joing two "Description:" lines into one line
-- insert line "Version: 5.5.2"
-- delete last two lines " ." and " (Converted..."
-- append an empty line as last line
[FONT=Nimbus Mono L, monospace]|Source: tivsm-ba
|Section: alien
|Priority: extra
|Maintainer: who are you
|Package: tivsm-ba
|Architecture: amd64
|Depends:
|Description: the Backup Archive Client IBM TSM Client
|Version: 5.5.2
|[/FONT]
-- save and exit[/FONT] - [FONT=Nimbus Roman No9 L, serif]create *.deb packages
[FONT=Nimbus Mono L, monospace]dpkg -b TIVsm-API-5.5.2
dpkg -b TIVsm-BA-5.5.2[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]create /etc/ld.so.conf.d/tsm-api.conf with this one line:
[FONT=Nimbus Mono L, monospace]/opt/tivoli/tsm/client/api/bin[/FONT][/FONT] - [FONT=Nimbus Mono L, monospace]ldconfig[/FONT]
- [FONT=Nimbus Roman No9 L, serif]install *.deb packages
[FONT=Nimbus Mono L, monospace]dpkg -i TIVsm-API-5.5.2.deb
dpkg -i TIVsm-BA-5.5.2.deb[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]create/modify TSM configuration files
[FONT=Nimbus Mono L, monospace]vim /opt/tivoli/tsm/client/ba/bin/dsm.opt
| ServerName TSMServer
| Domain ALL-LOCAL
| DateFormat 3[/FONT]
-- save and exit
[FONT=Nimbus Mono L, monospace]vim /opt/tivoli/tsm/client/ba/bin/dsm.sys
| ServerName TSMServer
| CommMethod TCPip
| TcpPort 1500
| TcpServerAddress tsmserver.your.domain.com
| NodeName registered-name-for-this-system
| PasswordAccess generate
| Compression On
| ErrorLogName /var/log/dsmerror.log
| ErrorLogRetention 5 D
| SchedLogName /var/log/dsmsched.log
| SchedLogRetention 5 D
|* InclExcl /opt/tivoli/tsm/client/ba/bin/dsm.inclexcl[/FONT]
-- set the TcpServerAddress to the fully qualified name of the TSM Server
-- set the NodeName to the node name as registered with the TSM Server
-- save and exit[/FONT] - [FONT=Nimbus Mono L, monospace]ln -s ../../lang/en_US in “/opt/tivoli/tsm/client/ba/bin”[/FONT]
- [FONT=Nimbus Roman No9 L, serif]run an incremental backup
d[FONT=Nimbus Mono L, monospace]smc incremental[/FONT]
[/FONT]
- [FONT=Nimbus Roman No9 L, serif]create upstart script
[FONT=Nimbus Mono L, monospace]vim /etc/init/dsm-sched.conf
# dsm-sched
# This service starts the TSM "dsmc sched" backup process
# and respawns it when the dsmc process gets
# killed or dies.
Description “start the Tivoli Storage Manager scheduler”
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
respawn
exec /usr/bin/dsmc sched >>/tmp/dsm-sched.log 2>&1
# end of dsm-sched[/FONT]
-- save and exit[/FONT] - [FONT=Nimbus Roman No9 L, serif]start the TSM scheduler
[FONT=Nimbus Mono L, monospace]start dsm-sched[/FONT][/FONT] - [FONT=Nimbus Roman No9 L, serif]verify the scheduler picked up its scheduletail /var/log/dsmsched.log[/FONT]
- [FONT=Nimbus Roman No9 L, serif]you are done...[/FONT]
[FONT=Nimbus Roman No9 L, serif]Regards,[/FONT]
[FONT=Nimbus Roman No9 L, serif]Werner[/FONT]