Linux Client 6.3.0 with Ubuntu 10.04 x64

sfletche

Active Newcomer
Joined
Jul 29, 2010
Messages
34
Reaction score
0
Points
0
Hi All,

Hoping someone can help me with this problem. I'm a windows admin and we are trying to setup linux (ubuntu) with tsm and i'm completely lost. I've used lots of links from this site and google and have patched together the installation which seems to work OK. I can backup and restore files no problem.

When i get to the scheduler im lost. (pardon my poor linux skills as well)

What seems to happen is dsmcad ends up in /etc/init.d and links to /opt/tivoli/tsm/client/ba/bin/rc.dsmcad
if i go to /etc/init.d and run "start dsmcad" i see the process running but nothing happens - no log activity , running all commands as root.

what i dont understand is why there is no dsmcheduler service in /etc/init.d

If i manually run dsmc schedule i see the scheduler running but how do i get the dsmcad service to kick off the scheduler automatically like in windows?

I have not tried restarting the server because ideally when we start deploying this to production servers it wont require a reboot. Some of the sources i've used are here

http://adsm.org/forum/showthread.php?21143-How-To-Install-TSM-Client-552-on-Ubuntu-10.04-amd64
http://adsm.org/forum/showthread.php?22542-How-To-Install-TSM-Client-6.2-on-Ubuntu-10.04-amd64
http://slavecache.blogspot.com/2010/05/ibm-tsm-backup-with-upstart.html

Any help would be appreciated
 
Hi etchingsj!

Thanks for the quick response
Those steps above were all covered in the links i had as well. The .opt and .sys file look like this

dsm.sys
ServerName 142.xxx.xxx.xxx
CommMethod TCPip
TcpPort 1500
TcpServerAddress 142.xxx.xxx.xx
NodeName ZOMBIE
PasswordAccess generate
Compression On
ErrorLogName /var/log/dsmerror.log
ErrorLogRetention 60 D
SchedLogName /var/log/dsmsched.log
SchedLogRetention 30 D

dsm.opt
ServerName 142.xxx.xxx.xxx
Domain ALL-LOCAL
DateFormat 3
 
Thanks - that worked!

When i set it up i got "Dsmc: error while loading shared libraries: libgpfs.so: Cannot open shared object file: No such file or directory"
As per another forum post i had to type
export LD_LIBRARY_PATH=/opt/tivoli/tsm/client/api/bin64:/usr/local/ibm/gsk8_64/lib64

but it seems to have lost that setting on reboot. Anyone know why that is necessary or how i can add it perm.?

Thanks again!
 
Run this to add the library paths persistently.

echo "/opt/tivoli/tsm/client/api/bin64" >> /etc/ld.so.conf echo "/usr/local/ibm/gsk8_64/lib64" >> /etc/ld.so.conf ldconfig
 
I Actually got this finished and thought i'd post my steps in case anyone looks for it

Installing the Tivoli Client 6.3.0 on Ubuntu Linux 10.04 x64

**** AS ROOT****

1. Create folder /tmp/tivinstall

2. Copy files from \\tsmblade1\client\Linux\6.3\x64 Converted .DEB for Ubuntu to /tmp/tivinstall
**** The steps on converting the rpms to debs I followed this post http://adsm.org/forum/showthread.php?21143-How-To-Install-TSM-Client-552-on-Ubuntu-10.04-amd64 ****

3. install ksh and ia32-libs and libstdc++6
apt-get install ksh
apt-get install ia32-libs
apt-get install libstdc++6

4. install deb pagaes from /tmp/tivinstall
dpkg -i gskcrypt64_8.0-14.11_amd64.deb
dpkg -i gskssl64_8.0-14.11_amd64.deb
dpkg -i TIVsm-API64-6.3.0.deb
dpkg -i TIVsm-BA-6.3.0.deb


5. Create/modify TSM configuration files (Change NodeNAME to your node)
nano /opt/tivoli/tsm/client/ba/bin/dsm.opt
ServerName xxx.xxx.xxx.xxx
Domain ALL-LOCAL
DateFormat 3

-- save and exit

nano /opt/tivoli/tsm/client/ba/bin/dsm.sys
ServerName xxx.xxx.xxx.xxx
CommMethod TCPip
TcpPort 1500
TcpServerAddress xxx.xxx.xxx.xxx
NodeName ZOMBIE
PasswordAccess generate
Compression On
ErrorLogName /var/log/dsmerror.log
ErrorLogRetention 60 D
SchedLogName /var/log/dsmsched.log
SchedLogRetention 30 D
ManagedServices Schedule

-- save and exit

6. copy files
/opt/tivoli/tsm/client/lang/EN_US folder
to
/opt/tivoli/tsm/client/lang/EN_CA




7. Create the following links

ln -s /opt/tivoli/tsm/client/lang/EN_US in “/opt/tivoli/tsm/client/ba/bin”

ln -s /opt/tivoli/tsm/client/lang/EN_CA in “/opt/tivoli/tsm/client/ba/bin”

ln -s /opt/tivoli/tsm/client/api/bin64/libgpfs.so /lib32/

ln -s /opt/tivoli/tsm/client/api/bin64/libdmapi.so /lib32/

ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8cms_64.so
/lib32/

ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8ssl_64.so /lib32/

ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8sys_64.so
/lib32/

ln -s /usr/local/ibm/gsk8_64/lib64/libgsk8iccs_64.so
/lib32/

ldconfig

8. test client (you will need your nodename and password)
dsmc


9. run update-rc.d dsmcad defaults

10. open and edit the following file so only the following “exec” line exists.

nano /opt/tivoli/tsm/client/ba/bin/rc.dsmcad

exec /opt/tivoli/tsm/client/ba/bin/dsmcad >>/var/log/dsmerror.log 2>&1

then save

11. chmod a+x rc.dsmcad

12. start the TSM dsmcad
dsmcad start

13. check schedule log
/var/log/dsmsched.log
 
OK, so you are explicitly linking the libraries instead of adding the whole directory to ldconfig, yes, maybe that is a neater solution than deleting the conflicting libraries.

By the way, I just ran "alien -k" on the RPMs to convert them to deb. No need to change the control files anymore to get them to install on x64.
 
Back
Top