Installing TSM on Solaris 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.

Acquire the software at TSM Client Code download page to retrieve the latest version of the software.

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 Solaris
Host Base Fire wall rules need to allow tsm-servers to access to port 1500 and 1501 for server communications

Please read the README file install section for more information on installation. The README file includes information about APARs fixes within this PTF

To install the TSM B/A client, and API install the following as root
Download the file 6.2.1.0-TIV-TSMBAC-SolarisSparc.tar.Z or later to your workstation
Put the file in a directory of your choice
You *must* download the image in binary mode!

Uncompress the file 6.2.1.0-TIV-TSMBAC-SolarisSparc.tar.Z with the command
uncompress 6.2.1.0-TIV-TSMBAC-SolarisSparc.tar.Z
or
compress -d 6.2.1.0-TIV-TSMBAC-SolarisSparc.tar.Z
or
Unpack the file 6.2.1.0-TIV-TSMBAC-SolarisSparc.tar with the command
or
tar -xf 6.2.1.0-TIV-TSMBAC-SolarisSparc.tar

Now you have the installable TSM client package available
Copy the dsm.sys, dsm.opt, and include/exclude file to a temporary folder

Remove old package of the TSM code "pkgrm" for each set
Then install the new packages for the TSM Client and copy the dsm.sys, dsm.opt and include/exclude files back into "/opt/tivoli/tsm/client/ba/bin" directory

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
PASSwordaccess generate
*Inclexcl /opt/tivoli/tsm/client/ba/bin/inclexcl.txt <--- optional
Resourceutilization 10
tcpwindowsize 64
tcpbuffsize 32
txnbytelimit 25600
COMPRESSIon no

Sample TSM Scheduler Start up script; your system may vary ?

[root@xxxx-serv rc3.d]# pwd
/etc/rc3.d
[root@xxxx-serv rc3.d]# cat S98tsm
#!/bin/sh

case $1 in
`start`)

echo "starting local scripts"
/opt/tivoli/tsm/client/ba/bin/startdsm
;;

`stop`)
echo "stopping local scripts"
;;

esac



Sample of default excludes listed below

[root@Solaris-machine cjcase]# dsmc q inclexcl
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
Client Version 6, Release 2, Level 0.2
Client date/time: 11/05/2007 13:36:26
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

Node Name: TEST.OIT.DUKE.EDU
Session established with server TSM-SRV-0x: AIX-RS/6000
Server Version 6, Release 2, Level 4.0

Server date/time: 11/05/2007 13:37:06 Last access: 11/04/2007 17:00:35


*** FILE INCLUDE/EXCLUDE ***

Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
Excl Filespace /var/run Server
Excl Filespace /var/run Server
Excl Filespace /etc/mnttab Server
Excl Filespace /cache Server
Excl Directory /.../.TsmCacheDir TSM
Exclude All /exlibris/oradata/* Server
Exclude All /.../oradata/.../* Server
Exclude All /var/tmp Server
Exclude All /tmp Server
Exclude All /proc Server
Exclude All /dev Server
Exclude All /oracle*/oraarch/* Server
Exclude All /oracle*/.../* Server
No DFS include/exclude statements defined.
[root@Solaris-machine

Installing TSM on Linux Sample for TSM-SRV-xx

Note: All parts in bold text are unique to a second server instance, like 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.

Acquire the software at TSM Client Code download page to retrieve the latest version of the software.

We do not install the TSM HSM code

The TSM 6.2.2 client and README files are:
6.2.2.0-TIV-TSMBAC-LinuxX86.tar
6.2.2.0-TIV-TSMBAC-LinuxX86.README.FTP
6.2.2.0-TIV-TSMBAC.README_enu.htm
 

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 Base Fire wall rules need to allow tsm-servers to access to TCP port 1600 and 1601 for server communications
-A INPUT -p tcp -m tcp -s 152.3.105.4 --dport 1600:1601 -j ACCEPT
-A INPUT -p tcp -m tcp -s 152.3.100.147 --dport 1600:1601 -j ACCEPT

-A INPUT -p tcp -m tcp -s 152.3.102.54 --dport 1600:1601 -j ACCEPT

 

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 1600
TCPCLIentport 1601

PASSwordaccess generate
*Inclexcl /opt/tivoli/tsm/client/ba/bin/inclexcl.txt <--- optional
Resourceutilization 10
tcpwindowsize 64
tcpbuffsize 32
txnbytelimit 25600
COMPRESSIon no

Sample TSM Scheduler Start up script; your system may vary ?

[root@xxxx-serv rc3.d]# pwd
/etc/rc3.d
[root@xxxx-serv rc3.d]# cat S95dsmc
# Start Tivoli Storage Manager

# description: Tivoli backup client
#
restart() {
}
start() {
# Force the dsmerror.log file to be generated in /var/log

# Now launch the dsmc client in schedule mode

# Set TSM variables and then export them

DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt
DSM_DIR=/opt/tivoli/tsm/client/ba/bin
export DSM_CONFIG DSM_DIR

echo "Starting Tivoli Storage Manager"

( cd /var/log; /opt/tivoli/tsm/client/ba/bin/dsmc sched ) > /dev/null 2>&1 &


echo "done"
}

stop() {
echo "Stopping Tivoli Storage Manger"
pkill dsmc
echo "done"
}

case $1 in
start)
start
;;

stop)
stop
;;

restart|force-reload)
restart
;;

*)

echo "use dsmc start, stop or restart"

esac

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 all the 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;

[root@Linux-machine cjcase]# dsmc q inclexcl
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
Client Version 6, Release 2, Level 2.0
Client date/time: 11/05/2007 13:36:26
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

Node Name: TEST.OIT.DUKE.EDU
Session established with server TSM-SRV-21: AIX-RS/6000
Server Version 6, Release 2, Level 2.3

Server date/time: 11/05/2007 13:37:06 Last access: 11/04/2007 17:00:35

*** FILE INCLUDE/EXCLUDE ***

Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
Excl Filespace /var/run Server
Excl Filespace /etc/mnttab Server
Excl Filespace /cache Server
Excl Directory /.../.TsmCacheDir TSM
Exclude All /exlibris/oradata/* Server
Exclude All /.../oradata/.../* Server
Exclude All /var/tmp Server
Exclude All /tmp Server
Exclude All /proc Server
Exclude All /dev Server
Exclude All /oracle*/oraarch/* Server
Exclude All /oracle*/.../* Server
No DFS include/exclude statements defined.
[root@Linux-machine]

Installing TSM on Solaris Sample for TSM-SRV-xx

Note: All parts in bold text are unique to a second server instance, like 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.

Acquire the software at TSM Client Code download page to retrieve the latest version of the software. 

The TSM 6.2.2 client and README files are:
6.2.2.0-TIV-TSMBAC-SolarisSparc.tar.Z
6.2.2.0-TIV-TSMBAC-SolarisSparc.README.FTP
6.2.2.0-TIV-TSMBAC.README_enu.htm

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 Solaris
Host Base Fire wall rules need to allow tsm-servers to access to TCP port 1600 and 1601 for server communications

Please read the README file install section for more information on installation. The README file includes information about APARs fixes within this PTF

To install the TSM B/A client, and API install the following as root

Download the 6.2.2.0-TIV-TSMBAC-SolarisSparc.tar.Z file.

Z or later to your workstation
Put the file in a directory of your choice
You *must* download the image in binary mode!

Uncompress the file 6.2.2.0-TIV-TSMBAC-SolarisSparc.tar.Z with the command
uncompress 6.2.2.0-TIV-TSMBAC-SolarisSparc.tar.Z
or
compress -d 6.2.2.0-TIV-TSMBAC-SolarisSparc.tar.Z
or
Unpack the file 6.2.2.0-TIV-TSMBAC-SolarisSparc.tar with the command
or
tar -xf 6.2.2.0-TIV-TSMBAC-SolarisSparc.tar

Now you have the installable TSM client package available
Copy the dsm.sys, dsm.opt, and include/exclude file to a temporary folder

Remove old package of the TSM code "pkgrm" for each set
Then install the new packages for the TSM Client and copy the dsm.sys, dsm.opt and include/exclude files back into "/opt/tivoli/tsm/client/ba/bin" directory

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 1600

TCPCLIentport 1601
PASSwordaccess generate
*Inclexcl /opt/tivoli/tsm/client/ba/bin/inclexcl.txt <--- optional
Resourceutilization 10
tcpwindowsize 64
tcpbuffsize 32
txnbytelimit 25600
COMPRESSIon no

Sample TSM Scheduler Start up script; your system may vary ?

[root@xxxx-serv rc3.d]# pwd
/etc/rc3.d
[root@xxxx-serv rc3.d]# cat S98tsm
#!/bin/sh

case $1 in
`start`)

echo "starting local scripts"
/opt/tivoli/tsm/client/ba/bin/startdsm
;;

`stop`)
echo "stopping local scripts"
;;

esac

 

Sample of default excludes listed below

[root@Solaris-machine cjcase]# dsmc q inclexcl
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
Client Version 6, Release 6, Level 2.0
Client date/time: 11/05/2007 13:36:26
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

Node Name: TEST.OIT.DUKE.EDU
Session established with server TSM-SRV-0x: AIX-RS/6000
Server Version 6, Release 2, Level 0.3

Server date/time: 11/05/2007 13:37:06 Last access: 11/04/2007 17:00:35

 

*** FILE INCLUDE/EXCLUDE ***

Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
Excl Filespace /var/run Server
Excl Filespace /var/run Server
Excl Filespace /etc/mnttab Server
Excl Filespace /cache Server
Excl Directory /.../.TsmCacheDir TSM
Exclude All /exlibris/oradata/* Server
Exclude All /.../oradata/.../* Server
Exclude All /var/tmp Server
Exclude All /tmp Server
Exclude All /proc Server
Exclude All /dev Server
Exclude All /oracle*/oraarch/* Server
Exclude All /oracle*/.../* Server
No DFS include/exclude statements defined.
[root@Solaris-machine

 

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