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