Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 网站建设 > 服务器相关 > TSM server安装
【标  题】:TSM server安装
【关键字】:TSM,server
【来  源】:http://www.cublog.cn/u/15150/showart.php?id=81740

TSM server安装

Your Ad Here
步骤一
smit安装所需要的软件包:
        Tivoli.tsm.server.rte
        Tivoli.tsm.server.com
        Tivoli.tsm.server.webadmin
        Tivoli.tsm.license.rte
        Tivoli.tsm.license.cert
        Tivoli.tsm.devices.aix43.rte


步骤二
修改环境变量
        export DSMSERV_DIR=/usr/tivoli/tsm/server/bin
export DSMSERV_CONFIG=/usr/tivoli/tsm/server/bin/dmserv.opt

步骤三
修改dsmserv.opt文件
        解除屏蔽:
                COMMmethod TCPIP
                   COMMmethod HTTP
        添加:
                    TCPPort 1500
HTTPPort 1580

步骤四
建立server的自动运行:
        在TSM server软件包安装完成后,系统自动在inittab中添加了自动运行:
autosrvr:2nce:/usr/tivoli/tsm/server/bin/rc.adsmserv >;/dev/console 2>;&1
        注意:在有HA的情况下,不能使用该方式。

手动运行server:
        dsmserv quiet &


步骤五
修改server名称等属性:
        对象视图->;服务器->;服务器状态
        注意:口令有效期限

步骤六
使用命令行注册license
        reg lic file=[license file] number
        在TSM server安装完成后,在/usr/Tivoli/tsm/server/bin下会产生多个后缀为lic的license
文件,据此注册。

        在本次安装中,使用:
        reg lic file=*.lic number=2


步骤七
格式化DB、LOG和磁盘存储池所需要的空间
例如:
        dsmfmt -m -db /tsmdata/db01.dsm 300
        dsmfmt -m -log /xzbackup/tsmdata/log01.dsm 300
        dsmfmt -m -data /xzbackup /tsmdata/babkvol.dsm 200
        dsmfmt -m -data /xzbackup /tsmdata/baarcvol.dsm 200
        dsmfmt -m -data /xzbackup /tsmdata/tdpbkvol.dsm 200
                                                                                                        `
步骤八
扩展DB和LOG

使用web方式:
object view ->; Database ->; Database Volumes ->; Operations: ->; Define Database Volume

object view ->; Recovery log ->; Recovery log vo.umes ->; Operations: ->; Define Recovery log volume


步骤八
新建babkpool
        baarcpool
        tdpbkpool

Storage Pool Name           
Description          
Media Access Status          
Maximum Size Threshold          
Next Storage Pool          
High Migration Threshold          
Low Migration Threshold          
Cache Migrated Files?          YES  NO
Migration Processes          
Migration Delay          
Migration Continue          YES  NO
Copy Storage Pool(s)          
Continue Copy on Error?          YES  NO
CRC Data          YES  NO
       

步骤九
定义与3583带库有关的对象

3583设备文件名:
库设备为/dev/smc0
        drive为/dev/rmtx
若系统中已经有一个DDS带机(dev/rmt0),那么带库中的第一个drive设备名称
为/dev/rmt1。
                       
使用tapeutil查找3583 drive的element号
        1.# tapeutil
        2. 选:“1. Open a Device”,输入device名称:/dev/smc0
        3.选:“12. Element Information”,便可查找到drive的element号。
一般来说第一个drive的element号为256

定义库
select object view ->; server storage ->; Libraries and Drives ->; Automated Libraries ->; Operations: ->; Define Automated Library
library name :        3583
device:                /dev/smc0

定义驱动器
驱动器一:
select object view ->; server storage ->; Libraries and Drives ->; Automated Drives ->; Operations: ->; Define Automated Drive
        Library Name                         3583
        Drive Name                         3583_drive1
        Device                                 /dev/rmt1
        Element                                 256                ( 256 just for 3583 drive 1, you should find out element information via tapeutil )
        Device On-Line                                                       YES NO
        Cleaning Frequency (Gigabytes/ASNEEDED/NONE)
驱动器二:
define second drive
select object view ->; server storage ->; Libraries and Drives ->; Automated Drives ->; Operations: ->; Define Automated Drive
        Library Name                         3583
        Drive Name                         3583_drive2
        Device                                 /dev/rmt2
        Element                                 257                ( you should find out element information via tapeutil )
        Device On-Line                                                       YES NO
        Cleaning Frequency (Gigabytes/ASNEEDED/NONE)

定义LTO设备类
For 3583:
select object view ->; server storage ->; Device Classes ->; LTO Device Classes ->; Operations: ->; Define Device Class
                     Device Class Name                 3583_Class
                     Recording Format                 Drive
                     Library Name                 3583
                     Mount Limit                         DRIVES
                     Mount Retention                 60
                     Tape Volume Prefix                 ADSM
                     Estimated Capacity                
                     Mount Wait                         60



步骤十
1.        为BA建立策略域
(先用默认值)
badomain
2.        为TDP client建立策略域tdpdomain
注意:TDP client所使用的拷贝副本组属性必须是:
VERDELETED=0
RETONLY=0

为TDP建立策略域、策略集、管理类示例:

tsm: BRAZIL>;def domain api_domain DESC='DO for all DB-Backups'
ANR1500I Policy domain API_DOMAIN defined.
tsm: BRAZIL>;

tsm: BRAZIL>;def policyset api_domain api_policy DESC='PO for all DB Backups'
ANR1510I Policy set API_POLICY defined in policy domain API_DOMAIN.

tsm: BRAZIL>;def mgmtclass api_domain api_policy api_mgmtclass DESC='MC for all DB-Backups'
ANR1520I Management class API_MGMTCLASS defined in policy domain API_DOMAIN, set API_POLICY.
tsm: BRAZIL>;

以下为建立拷贝副本组,需注意选项值:
tsm: BRAZIL>;def copygroup api_domain api_policy api_mgmtclass type=archive DEST=api_disk retver=nolimit
ANR1535I Archive copy group STANDARD defined in policy domain API_DOMAIN, setAPI_POLICY, management class API_MGMTCLASS.

tsm: BRAZIL>;def copygroup api_domain api_policy api_mgmtclass type=backup DEST=api_disk_ vere=1 verd=0 rete=0 reto=0
ANR1530I Backup copy group STANDARD defined in policy domain API_DOMAIN, set
API_POLICY, management class API_MGMTCLASS.



步骤十一
建立include-exclude list
在client的dsm.sys中加入:
1.        domain /home /usr /datasave
当使用命令时dsmc incremental -domain="/fs1 /fs2"将备份domain指定的/home, /usr, /datasave文件系统,以及备份命令中由-domain指定的/fs1和/fs2文件系统

步骤十二
建立调度

        持续时间:5小时
        周期:根据用户需求而定,每隔多长时间务器调度运行一次。

测试调度
        可先调整一个合适的时间测试完成后再调回









B-A安装配置

步骤一.
Smit安装B-A client所需要安装的软件包
Tivoli.tsm.client.ba.aix43.32bit下的:
        Backup/Archive Base files
        Backup/Archive Common Files
Tivoli.tsm.client.books
Tivoli.tsm.client.web.aix43.32bit
tivoli.tsm.client.image.aix43.32bit
(api在TDP安装时安装)

步骤二
        修改环境变量
                export DSM_DIR=/usr/tivoli/tsm/client/ba/bin
export DSM_CONFIG=/usr/tivoli/tsm/client/ba/bin/dsm.opt
export DSM_LOG=/usr/tivoli/tsm/client/ba/bin

(以下为server端的环境变量:
                        export DSMSERV_DIR=/usr/tivoli/tsm/server/bin
export DSMSERV_CONFIG=/usr/tivoli/tsm/server/bin/dmserv.opt)


步骤三.
需要修改的文件:
dsm.opt文件:
        Servername      tsm

dsm.sys文件:
SErvername                          tsm
           COMMmethod               TCPip
           TCPPort                    1500
           TCPServeraddress           133.54.9.11
           nodename                   client1
passwordaccess             generate
           managedservices                webclient schedule

步骤四
启动dsmcad
        /usr/Tivoli/tsm/client/ba/bin/dsmcad







TDP for Oracle客户端安装
smit安装以下软件包:
tivoli.tsm.client.api.aix43.64bit
tivoli.tsm.client.oracle.64bit
tivoli.tsm.client.oracle.tools.64bit

编辑tdpo.opt文件:
在/usr/tivoli/tsm/client/oracle/bin/目录下新建文件tdpo.opt
***************************************************************************
* Tivoli Storage Manager - Tivoli Data Protection for Oracle
*
* Sample tdpo.opt for the AIX TDP for Oracle
*********************************************************************

DSMI_ORC_CONFIG   /usr/tivoli/tsm/client/api/bin64/dsm.opt
DSMI_LOG           /usr/tivoli/

TDPO_FS            adsmorc
TDPO_NODE          tdpora1
TDPO_OWNER         root
TDPO_PSWDPATH      /usr/tivoli/tsm/client/oracle/bin64

TDPO_DATE_FMT             1
TDPO_NUM_FMT             1
TDPO_TIME_FMT             1

*TDPO_MGMT_CLASS2   mgmtclass2
*TDPO_MGMT_CLASS3   mgmtclass3
*TDPO_MGMT_CLASS4   mgmtclass4

编辑api client的dsm.opt文件
* SErvername       A server name defined in the dsm.sys file
SErvername       tsm

编辑api client的dsm.sys文件

Servername                        tsm
COMMmethode                TCPip
TCPPort                        1500
TCPServeraddress                133.54.9.11
nodename                        tdpora1
PASSWORDAccess        prompt

TSM server注册api client(tdpora1)

初始化password:
使用tdpoconf password -tdpo_optfile=[TDP for Oracle option文件]
        如果tdpo.opt在默认目录下,该命令可不需要参数
        产生的password文件名为:TDPO.[节点名] (注意大小写)

        该口令与TSM server注册该节点时的口令相同

        注意:如果在运行tdpoconf时出现错误,那么可能是api64目录下的dsm.sys和dsm.opt文件,以及tdpo.opt文件的内容或文件属性有问题。比较.smp文件的属性,以其为准。

确认安装
1.        显示TDP的环境变量:
tdpoconf showenv
显示:


重新连接oracle备份的库文件
1.        关闭oracle
2.        重新连接库文件:
#rm $ORACLE_HOME/lib/libobk.a
#ln -s /usr/lib/libobk.a $ORACLE_HOME/lib/libobk.a
3.        启动oracle

在RS平台下,如何使用系统命令备份裸的逻辑卷?:【上一篇】
Twelve Steps to Configuring Your Tsm Environment:【下一篇】
【相关文章】
  • TSM培训
  • 在Cisco 2501上做PPPoE的Server
  • 在Windows 2000 Server上安装配置MySQL +Tomcat
  • 路由器下的用户用PPPOE客户端从AAA SERVER 10.72.254.
  • What is ISA Server 2006?
  • ISA Server 2004终极标靶系列课程
  • Fedora Core4 OpenLdap server How-to
  • 翻译:Sun ONE Directory Server 5.2 Reference Manual
  • 利用Squid构建高速的Proxy Server
  • 簡易 Proxy Server 架設
  • 【随机文章】
  • PHP Web 文件管理系统
  • 孙悟空的师父是谁? (ZT)
  • 打造完美SWT日期选择控件:(二)实现自适应大小
  • windows,让我看看你的眉(0)
  • rails实战(一): Hello World篇
  • BREW的功能函数库
  • 我终于还是在cu论坛上选择了沉默
  • 如何查出QQ好友精确地理位置
  • minicom中文手册(转)
  • 6口+2个GBIC三层交换机iSpirit3508G-L3
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.