Installing TSM on Linux Sample for TSM-SRV-XX


You must have registered a node with the TSM Administrator and have received confirmation of your node name. Make sure you know the password that you specified when applying for the node.

Note:  whenever you see TSM-SRV-xx, replace the ‘xx’ with the TSM server number noted in your Service Now ticket.

Always read the README file in the code directory for more updates.
The TSM code is installed in /opt/tivoli/tsm/client/ba/bin for Linux

Host based firewall rules need to allow tsm-servers to access to port 1500, 1501, 1505, 1506, 1552, 1553, and 1581 for server communications.  Look up the IP number for your TSM-SRV-xx.oit.duke.edu

-A INPUT -p tcp -m tcp -s <your TSM server IP number> –dport 1500:1501 -j ACCEPT


-A INPUT -p tcp -m tcp -s <your TSM server IP number> –dport 1505:1506 -j ACCEPT

-A INPUT -p tcp -m tcp -s <your TSM server IP number> –dport 1552:1553 -j ACCEPT

-A INPUT -p tcp -m tcp -s <your TSM server IP number> –dport 1581 -j ACCEPT

sample@test  ~ $ iptables -L -n | grep -i tsm
ACCEPT     tcp  —  152.3.104.206        0.0.0.0/0            multiport dports 1581 /* 200 tsm-srv-xx tsm-http */
ACCEPT     tcp  —  152.3.104.206        0.0.0.0/0            multiport dports 1501 /* 200 tsm-srv-xx tsm-tcpclientport */
ACCEPT     tcp  —  152.3.104.206        0.0.0.0/0            multiport dports 1500 /* 200 tsm-srv-xx tsm-tcpport */
ACCEPT     tcp  —  152.3.104.206        0.0.0.0/0            multiport dports 1505 /* 200 tsm-srv-xx tsm-web */
ACCEPT     tcp  —  152.3.104.206        0.0.0.0/0            multiport dports 1506 /* 200 tsm-srv-xx tsm-web-client */

Sample dsm.opt file listed below
Servername tsm-srv-xx

Sample dsm.sys file listed below
Servername tsm-srv-xx

TCPServeraddress tsm-srv-xx.oit.duke.edu

NODEName hostname.oit.duke.edu

schedmode prompted

SCHEDLOGRETENTION 7

SCHEDLOGNAME /var/log/dsmsched.log

ERRORLOGRETENTION 7

ERRORLOGNAME /var/log/dsmerror.log

COMMmethod TCPip

TCPPort 1500

TCPClientPort 1501
Webport 1505 1506 1552 1553
HTTPport 1581
PASSwordaccess generate

*Inclexcl /opt/tivoli/tsm/client/ba/bin/inclexcl.txt <— optional

Resourceutilization 10

MANAGEDServices schedule webclient

Stop the running dsmcad on UNIX and Linux or Acceptor service on Windows.

 #ps -ef|grep dsmcad
 #kill pid_of_dsmcad

Generate local encrypted password

 dsmc q session  …enter NODEID/PASSword when prompted

Start dsmcad for UNIX and Linux or Acceptor Service for Windows

sample@test  ~ $ service dsmcad start

sample@test  ~ $ service dsmcad status
dsmcad.service – LSB: TSM Client Acceptor Daemon
   Loaded: loaded (/etc/rc.d/init.d/dsmcad)
   Active: active (running) since Mon 2014-10-27 15:42:24 EDT; 2 weeks 1 days ago
   Process: 959 ExecStart=/etc/rc.d/init.d/dsmcad start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/dsmcad.service
           └─1502 /opt/tivoli/tsm/client/ba/bin/dsmcad

Notes
First time logging into the TSM server from the TSM client run “sudo dsmc” and you will be prompted for the mode name and here just press enter, then you will be prompted for the default password “enter password”.
This login passes the entire configuration from the dsm.sys, dsm.opt, and the include/exclude files.
Next start the TSM scheduler on your machine after the login because now the machine has been configured and schedule for nightly backups.

Sample of default excludes listed below;

EXCLUDE /…/dsmsched.log
EXCLUDE /…/dsmprune.log
EXCLUDE /…/dsmj.log
EXCLUDE /…/dsmerror.log
EXCLUDE /…/.hotfiles.bTree
EXCLUDE.DIR /private/tmp
EXCLUDE.DIR /private/var/vm
EXCLUDE.DIR /private/var/tmp
EXCLUDE.DIR /private/var/db/netinfo/local.nidb
EXCLUDE.DIR /…/.Trashes
EXCLUDE.DIR /…/.Spotlight-*
EXCLUDE.DIR /…/Library/Caches
EXCLUDE.DIR /…/.fseventsd
EXCLUDE.DIR /Users/…/Library/Caches
exclude /…/tmp/…/*

Contact the TSM Administrator at tsm-admins@duke.edu.