- 论坛徽章:
- 0
|
Step 1:
Install TSM client related software
Command: smitty install
Step 2:
Verification of TSM client API installation
Command: lslpp –L “tivoli.tsm.client.api*”
You must see the following output:
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
tivoli.tsm.client.api.aix51.64bit
5.1.7.0 C F TSM Client - 64 Bit
Application Programming
Interface
State codes:
A -- Applied.
B -- Broken.
C -- Committed.
E -- EFIX Locked.
O -- Obsolete. (partially migrated to newer version)
? -- Inconsistent State...Run lppchk -v.
Type codes:
F -- Installp Fileset
P -- Product
C -- Component
T -- Feature
R -- RPM Package
Step 3:
Set environment variables for API client
Command: su – db2prd
Add the following lines in file “/db2/PRD/.login”
setenv DSM_LOG /usr/tivoli/tsm/client/ba/bin
setenv DSM_DIR /usr/tivoli/tsm/client/ba/bin
setenv DSM_CONFIG /usr/tivoli/tsm/client/ba/bin/dsm.opt
setenv DSMI_LOG /usr/tivoli/tsm/client/api/bin64
setenv DSMI_DIR /usr/tivoli/tsm/client/api/bin64
setenv DSMI_CONFIG /usr/tivoli/tsm/client/api/bin64/dsm.opt
Step 4:
Log out and log in again as instance owner so that the environment variables take effect.
Step 5:
Create file: /usr/tivoli/tsm/client/api/bin64/dsm.sys
File content:
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client System Options file for AIX and SunOS (dsm.sys.smp) *
************************************************************************
* This file contains the minimum options required to get started
* using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file,
* enter the appropriate values for each option listed below and
* remove the leading asterisk (*) for each one.
* If your client node communicates with multiple TSM servers, be
* sure to add a stanza, beginning with the SERVERNAME option, for
* each additional server.
************************************************************************
SErvername TSM
NODENAME saptsu01_db
COMMmethod TCPip
TCPPort 1500
TCPServeraddress 172.32.236.8
PASSWORDACCESS generate
Step 6:
Create file: /usr/tivoli/tsm/client/api/bin64/dsm.opt
File content:
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client User Options file for AIX and SunOS (dsm.opt.smp) *
************************************************************************
* This file contains an option you can use to specify the TSM
* server to contact if more than one is defined in your client
* system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt.
* If you enter a server name for the option below, remove the
* leading asterisk (*).
************************************************************************
* SErvername A server name defined in the dsm.sys file
SERVERNAME TSM
Step 7:
Restart DB2 instance
Command : su – db2prd
db2stop
db2start
Step 8:
Set the TSM passwd
Command: su – root
/db2/PRD/sqllib/adsm/dsm/dsmapipw
Old password: passwd
New password: passwd |
|