免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1894 | 回复: 2
打印 上一主题 下一主题

[备份软件] 请问各位高手!在db2备份到TSM,需要设置些什么! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-19 18:57 |只看该作者 |倒序浏览
请问各位高手!在db2备份到TSM,需要设置些什么!

论坛徽章:
0
2 [报告]
发表于 2006-10-20 21:48 |只看该作者
参考IBM文档,很详细。

论坛徽章:
0
3 [报告]
发表于 2006-10-22 17:13 |只看该作者
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP