Tag Archives: tarball

My First Ever Install of TSM Client 6.2.1 on Redhat Enterprise Linux (5.5 32Bit)

For the first time ever I was given the pleasure/task of installing TSM on a couple of the servers I’m responsible for. Our TSM chap had only ever installed the client on Windows so was no help to me whatsoever. I also found IBM’s documentation quite poor – though their Redbooks are okay. Anyway, a few details for you. This is TSM Client 6.2.1 (32bit) running on Redhat Enterprise Linux 5.5. The hardware platform is IBM x3650 with 64GB of RAM. NB: I’m going to use a script to backup TSM so I won’t be setting up the scheduler. Here’s how it went down..

  1. Create a directory to house the TSM tarball and rpms. My
    directory of choice is /root/TSM

[root@myServer ~]# mkdir TSM

[root@myServer ~]# cd TSM

  1. Acquire your TSM installer/tarball/rpms and transfer to
    it/them to /root/TSM using the tool of your choice – be it
    ftp/sftp/scp/cp or whatever other means you have a your disposal.
    I used scp from our master TSM server.

[root@myServer ~]scp tsm@tsmserver:/tsm/6.2.1.0-TIV-TSMBAC-LinuxX86.tar

  1. Untar the TSM client tarball

[root@myServer ~]tar -xf 6.2.1.0-TIV-TSMBAC-LinuxX86.tar

  1. Lets have a look-see what files we have…

[root@myServer TSM]# ls -al
total 196612
drwxr-xr-x 2 root root 4096 Dec 14 12:29 .
drwxr-xr-x 3 root root 4096 Dec 14 12:29 ..
-rw-r–r– 1 root root 100536320 Dec 14 12:29 6.2.1.0-TIV-TSMBAC-LinuxX86.tar
-rw-r–r– 1 root root 1086705 Dec 14 12:29 gskcrypt32-8.0.13.3.linux.x86.rpm
-rw-r–r– 1 root root 1255938 Dec 14 12:29 gskcrypt64-8.0.13.3.linux.x86_64.rpm
-rw-r–r– 1 root root 7080355 Dec 14 12:29 gskssl32-8.0.13.3.linux.x86.rpm
-rw-r–r– 1 root root 7172566 Dec 14 12:29 gskssl64-8.0.13.3.linux.x86_64.rpm
-rw-r–r– 1 root root 118183 Dec 14 12:29 NOTICES.TXT
-rw-r–r– 1 root root 10528 Dec 14 12:29 README_api_enu.htm
-rw-r–r– 1 root root 10389 Dec 14 12:29 README_enu.htm
-rw-r–r– 1 root root 8530 Dec 14 12:29 README_hsm_enu.htm
-rw-r–r– 1 root root 2204226 Dec 14 12:29 TIVsm-API64.i386.rpm
-rw-r–r– 1 root root 8108314 Dec 14 12:29 TIVsm-API.i386.rpm
-rw-r–r– 1 root root 16616211 Dec 14 12:29 TIVsm-BA.i386.rpm
-rw-r–r– 1 root root 56849218 Dec 14 12:29 TIVsm-HSM.i386.rpm
[root@myServer TSM]#

  1. Install the rpms. We need All of the 32bit rpms except for
    TIVsm-HSM.i386.rpm. We’re going to use yum to do
    the install because, well, firstly because I like it and secondly
    it’ll sort out your package dependencies for you.

[root@myServer TSM]# yum -y localinstall
gskssl32-8.0.13.3.linux.x86.rpm gskcrypt3
2-8.0.13.3.linux.x86.rpm TIVsm-API.i386.rpm TIVsm-BA.i386.rpm
–nogpgpcheck

Loaded plugins: rhnplugin, security
Setting up Local Package Process
Examining gskssl32-8.0.13.3.linux.x86.rpm: gskssl32-8.0-13.3.i386
Marking gskssl32-8.0.13.3.linux.x86.rpm to be installed
Examining gskcrypt32-8.0.13.3.linux.x86.rpm: gskcrypt32-8.0-13.3.i386
Marking gskcrypt32-8.0.13.3.linux.x86.rpm to be installed
Examining TIVsm-API.i386.rpm: TIVsm-API-6.2.1-0.i586
Marking TIVsm-API.i386.rpm to be installed
Examining TIVsm-BA.i386.rpm: TIVsm-BA-6.2.1-0.i586
Marking TIVsm-BA.i386.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package TIVsm-API.i586 0:6.2.1-0 set to be updated
—> Package TIVsm-BA.i586 0:6.2.1-0 set to be updated
—> Package gskcrypt32.i386 0:8.0-13.3 set to be updated
—> Package gskssl32.i386 0:8.0-13.3 set to be updated
–> Finished Dependency Resolution
Dependencies Resolved

================================================================================
Package        Arch     Version       Repository                          Size
================================================================================
Installing:
TIVsm-API      i586     6.2.1-0       /TIVsm-API.i386                     23 M
TIVsm-BA       i586     6.2.1-0       /TIVsm-BA.i386                      34 M
gskcrypt32     i386     8.0-13.3      /gskcrypt32-8.0.13.3.linux.x86     2.6 M
gskssl32       i386     8.0-13.3      /gskssl32-8.0.13.3.linux.x86        19 M

Transaction Summary
================================================================================
Install       4 Package(s)
Upgrade       0 Package(s)

Total size: 79 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing     : gskcrypt32 [########################################## ] 1/4
Installing     : gskssl32 [############################################ ] 2/4
Installing     : TIVsm-API [########################################### ] 3/4
Postinstall of the API

TSM Linux API installation complete.

Be sure to set up the configuration files!

Installing     : TIVsm-BA [############################################ ] 4/4
Postinstall of the Backup Archive client

TSM Linux client installation complete.

Be sure to set up the system configuration file
before starting the client!

Installed:
TIVsm-API.i586 0:6.2.1-0  TIVsm-BA.i586 0:6.2.1-0  gskcrypt32.i386 0:8.0-13.3
gskssl32.i386 0:8.0-13.3

Complete!

  1. Now I’ll do a very basic configuration of TSM – please not I will not be setting up the scheduler!

[root@myServer TSM]# cd /opt/tivoli/tsm/client/ba/bin/
[root@myServer bin]# ls -al dsm.*.smp
-r–r–r– 1 root bin 782 Apr 28 2010 dsm.opt.smp
-r–r–r– 1 root bin 971 Apr 28 2010 dsm.sys.smp
[root@myServer bin]# cp dsm.opt.smp dsm.opt
[root@myServer bin]# cp dsm.sys.smp dsm.sys

  1. Edit your dsm.sys file and make it look like the text below – note that I’m using the default port (1500), my TSM Server is 172.24.1.10 – It doesn’t have a DNS entry yet.. – and my TSM Node is called myServer. Change these to suit your environment.

SErvername TSM_A

COMMMethod       TCPip

TCPPort   1500

TCPServeraddress  172.24.1.10

Passwordaccess generate

TCPNodelay        YES

TCPBuffsize       32

TCPWindowsize     64

TXNByteLimit      25600

Nodename  myServer *bogus server name

InclExcl  /opt/tivoli/tsm/client/ba/bin/inclexcl.list

  1. Edit your dsm.opt file and make it look like the text below. My server has only local disk to I’ve set
    Domain to ALL-LOCAL.

SErvername TSM_A

Domain ALL-LOCAL

Subdir YES

  1. Create the include/exclude file (this is completely empty at the moment. Edit this file according to your needs).

[root@myServer bin]# touch inclexcl.list

  1. Connect to the TSM Server for the first time. When Prompted for your “user id” (which should be the same as your NodeName as defined in dsm.sys). Enter your password whenprompted and you should be the proud recipient of a tsm> prompt

[root@myServer bin]# dsmc

IBM Tivoli Storage Manager Command Line Backup-Archive Client Interface

Client Version 6, Release 2, Level 1.0

Client date/time: 14/12/10 12:56:43

(c) Copyright by IBM Corporation and other(s) 1990, 2010. All Rights Reserved.

Node Name: MYSERVER

Please enter your user id :

Please enter password for user id “MYSERVER”: ********

Session established with server TSM_A: Windows
Server Version 6, Release 2, Level 1.1

Server date/time: 14/12/10 12:56:31 Last access: 14/12/10 12:56:31

tsm>

  1. Run your first backup. You don’t have to do this but as you’ve installed the backup client you may as well. It’s worth checking with your TSM admin people if it’s ‘safe’ to perform a backup right now.

tsm> backup

Incremental backup of volume ‘/’
Incremental backup of volume ‘/oracle’
Incremental backup of volume ‘/boot’
ANS1898I ***** Processed     2,000 files *****
Directory–>               1,024 /boot/ [Sent]     
Normal File–>               163 /boot/.vmlinuz-2.6.18-194.26.1.el5.hmac [Sent]     
Normal File–>               158 /boot/.vmlinuz-2.6.18-194.el5.hmac [Sent]     
Normal File–>         1,243,713 /boot/System.map-2.6.18-194.26.1.el5 [Sent]     
Normal File–>         1,242,340 /boot/System.map-2.6.18-194.el5 [Sent]     
..
..
..
..
..
Normal File–>               185 /var/yp/nicknames [Sent]     
Successful incremental backup of ‘/’
Directory–>               4,096 /oracle/ [Sent]     
Directory–>              16,384 /oracle/lost+found [Sent]     
Successful incremental backup of ‘/oracle’
Total number of objects inspected:  102,143
Total number of objects backed up:  102,125
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 inspected:      5.16 GB
Total number of bytes transferred:    5.14 GB
Data transfer time:                  117.98 sec
Network data transfer rate:        45,749.23 KB/sec
Aggregate data transfer rate:      21,568.04 KB/sec
Objects compressed by:                    0%
Total data reduction ratio:            0.31%
Elapsed processing time:           00:04:10
tsm>

  1. When you’re finished type ‘quit’ at the tsm prompt to exit out of the TSM client.

tsm>quit

And there you have it. My first ever encounter with a TSM client.I hope you found this useful…