TSMServer,Client,TDPO安装配置手记

发表于:2007-05-25来源:作者:点击数: 标签:TSMServerTDPO配置Client安装
作者: 中铝广西分公司信息部 陈虹 TSM Server、Client 、TDPO安装配置手记 一、TSM安装规划 H50a: 生产机1 H50b:生产机2 磁带机与h50b连接 H50b: ◆ 创建卷组-à建立逻辑卷-à建立文件系统 ◆ 安装TSM Server,TSM Client,TDP for Oracle ◆ TSM Server

  
  作者: 中铝广西分公司信息部 陈虹
  
  TSM Server、Client 、TDPO安装配置手记
  
  一、TSM安装规划
  H50a: 生产机1
  
  H50b:生产机2
  
  磁带机与h50b连接
  
  H50b:
  
    ◆ 创建卷组-à建立逻辑卷-à建立文件系统
  
    ◆ 安装TSM Server,TSM Client,TDP for Oracle  
  
    ◆ TSM Server用到的db,log,data数据文件存放于/usr/Tivoli/tsm/tsmdata中。
  
      Db: db01.dsm 513 M
  
      Log: log01.dsm 513 M
  
      Data: bkvol.dsm 2047M
  
      arcvol.dsm 512M
  
      dbbak:513M(用于备份db)**
  
      (磁盘存储池卷应该足够大,至少能容纳客户机一天的备份)
  
  二、安装Tivoli Storage Manager Server/Client
    1. 创建卷组tsmvg(B机整个hdisk1本地硬盘作为tsmvg)
  
    2. 激活卷组tsmvg :varyon tsmvg
  
    3. 在tsmvg上建立逻辑卷tsmlv,大小为320LP(320*16M=5G),然后在tsmlv上建立文件系统/usr/tivoli/tsm;
  
  # smitty mklv
  Logical volume NAME [tsmlv]
  * VOLUME GROUP name [tsmvg]
  * Number of LOGICAL PARTITIONS [320]
  ……
  # smitty crjfslvbf
  * LOGICAL VOLUME name tsmlv
  * MOUNT POINT [/usr/tivoli/tsm]
  Mount AUTOMATICALLY at system restart? yes
  ……
  Allocation Group Size (MBytes) 8
  # mount /dev/tsmlv
  
    注:因为TSM Server默认将TSM安装到/usr/tivoli/tsm下,所以用该路径做安装点。
  
    4. 确认/usr文件系统至少有300M剩余空间,否则使用# smitty chfs增加空间。
  
    5. TSM Server安装:(要安装7个文件集)
  
    将TSM Server for AIX放入光驱以root用户身份执行命令:
  
  # smitty installp
  Install and Update from LATEST Available Software ->
  *INPUT device / directory for software -> /dev/cd0(用F4进行选择)
  *SOFTWARE to install [-all_latest] (用F4进行选择)
  
    (安装除64位和AIX5例如:tivoli.tsm.server.aix5.rte64外的所有文件集。)
  
  COMMIT software updates?    [no]
  SAVE replaced files?       [yes]
  
  
    6. 执行以下命令,就可以启用Web管理界面了。
  
    # cd /usr/tivoli/tsm/server/bin
    # dsmserv runfile /usr/tivoli/tsm/server/webimages/dsmserv.idl
  
    7. 重新启动:shutdown -Fr
  
    8. 重启以后,就可以使用TSM了。
  
    9. Client安装:(客户端要安装9个文件集)
  
    将TSM UnixBackup/Archive Clients V2.2放入光驱,执行上述相同的操作。
  
    安装完成后,运行下述命令确保以下文件集安装:
  
    # lslpp -l | grep tsm
  
    10. 安装TSM后,/etc/inittab文件被修改,确认包含如下文本行,否则请自行添加:
  
  autosrvr:2:once:/use/tivoli/tsm/server/bin/rc.adsmserv>
    /dev/console 2>
    &1 #start the Tivoli Storagā?苨??? ?????e Manager server
  
    查看TSM的进程:# ps -ef | grep dsm
  
  root 7028   1  0 09:42:31
    - 0:00 ksh /usr/tivoli/tsm/server/bin/rc.adsmserv
  root 9546   1  0 09:42:29
    - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmrecalld
  root 9804   1  0 09:42:29
    - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmmonitord
  root 10584 7028  0 09:42:31
    - 0:00 dsmserv quiet
  root 11378 7740  1 09:47:15
    0 0:00 grep dsm
  
    如果TSM没有运行,请运行:/usr/Tivoli/tsm/server/bin/rc.adsmserv &(以后台方式运行)
  
    TSM Server 缺省路径:/usr/tivoli/tsm/server/bin/
  
    TSM Backup/Archive Client 缺省路径:/usr/tivoli/tsm/client/ba/bin/
  
  三、配置TSM Server/Client
    ◆ 配置TSM客户端
  
    1. 建立Tivoli Storage Manager 选项文件:复制样本客户机系统选项文件(dsm.sys.smp)和样本客户机用户选项文件(dsm.opt.smp):
  
  # cd /usr/tivoli/tsm/client/ba/bin
  # cp dsm.opt.smp dsm.opt
  # cp dsm.sys.smp dsm.sys
  
    2. 编辑该文件使之包含下面列出的选项:
  
  # vi /usr/tivoli/tsm/client/ba/bin/dsm.opt
   SErvername tsmserver
  TAPEPROMPT yes
   # vi /usr/tivoli/tsm/client/ba/bin/dsm.sys
  在dsm.sys中添加: SErvername tsmserver
  COMMmethod TCPip
  TCPPort 1500
  TCPServeraddress 172.16.18.2
  Nodename client
  PasswordAclearcase/" target="_blank" >ccess generate
  
    3. 现在可以使用管理客户端dsmadmc了。
  
    ◆ 配置TSM服务器
  
    1、 配置TSM Server:
  
    2、创建TSM数据库文件:
  
  # mkdir /usr/Tivoli/tsm/tsmdata
  # cd /usr/Tivoli/tsm/tsmdata
  # dsmfmt -db db01.dsm 513
  # dsmfmt -log log01.dsm 513
  # dsmfmt -data bkvol.dsm 2047
  # dsmfmt -data arcvol.dsm 513
  
    3. 进入/usr/tivoli/tsm/client/ba/bin执行下列命令(用户/密码:admin/admin)进入管理界面并注册许可文件(以TSM>开头的命令均为在管理界面中执行的命令):
  
  # dsmadmc
   TSM> register license file=*.lic
  
    注册NODE(注册节点tdp_h50b、tdp_h50a,ora817):
  
  TSM>register node tdp_h50b tdp_h50b backdelete=yes(node名为tdp_h50b,密码这tdp_h50b)
   TSM>register node tdp_h50a tdp_h50a backdelete=yes
   TSM>register node ora817 ora817 backdelete=yes
   TSM> quit
  
    4. 在PC计算机的浏览器中输入:http://172.16.18.2:1580/,输入管理员的用户名和密码后,从Web界面来配置TSM服务器。在使用Web管理界面时确保服务器选项文件/usr/tivoli/tsm/server/bin/dsmserv.opt中包含如下行:
  
  COMMethod HTTP
  HTTPPOrt 1580
  
    5. 安装、配置3570磁带库
    在RS 6000上安装3570驱动程序有两种方法:
  
    2 运行:# installp -acXd /pathname/Atape.5.4.4.0.bin Atape.driver。如果已经安装了相同版本的驱动程序,可使用"-F"执行强制安装。安装完成后使用下列命令列出当前安装的Atape.driver的版本:
  
    # lslpp -l Atape.driver
  
    ◆ 将3570的驱动程序Atape.5.4.4.0.bin复制到任意目录,这里复制到/tmp下。执行:
  
  # smit installp
  Install and Update from LATEST Available Software ->
  INPUT device / directory for software -> /dev/cd0
  * INPUT device / directory for software /tmp
  * SOFTWARE to install [Atape ]
  PREVIEW only? (install operation will NOT occur) no
  COMMIT software updates? yes
  SAVE replaced files? yes
  Process multiple volumes? yes
  ……
  
    使用下列命令列出当前安装的Atape.driver的版本:
  
    # lslpp -l Atape.driver
  
    确认Magstar MP连接到适配器并安装了上述驱动程序,配置并激活Magstar MP 3570。没有配置、激活的Magstar MP是不能使用的。
  
    为了连接3570库中的驱动器请运行命令:
  
  # smit dev
  Tape Drive ->
  Add a Tape Drive ->(如何没有安装3570驱动程序,就没有3570的选项)
  "3570 scsi IBM Magstar MP Tape Subsystem"-->
  "scsi1 Available 10-70 Wide SCSI I/O Controller"-->
  Tape Drive type 3570
  Tape Drive interface scsi
  Description IBM Magstar MP Tape Subsystem
  Parent adapter scsi1
  * CONNECTION address [1,0]
  ……
  注:CONNECTION address:第1 SCSI标识:SCSI ID
               第2 SCSI逻辑单元号:(lun)
  
    如果看到"rmt1 Available"消息就表示配置完成了。rmt1表示TSM使用的特殊文件名。
  
    使用下面的命令来配置并激活Magstar MP 3570磁带子系统:
  
    # cfgmgr
  
    输入不带参数的命令:cfgmgr。该命令配置所有已知的设备包伙新添加的Magstar MP设备。输入下列命令来校验配置是否成功:
  
    # lsdev -Cc tape
  
    # ls -l /dev/rmt1.smc
  
    注:设备文件/dev/rmt1.smc非常重要,它是由3570库使用SCSI介质换片器的特殊文件。如果该文件不存在,则无法进行下面的配置。
  
    6. 按下列步骤配置3570库:
  
  ◆ Operation View ->
  Manager Security ->
  Set web authentication time out ->
  change 10 to 60 -> 60
  ◆ Object View ->
  Server Storage ->
  Libraries and Drives ->
  Automated Libraries ->
  Operations: -> Define Automated Library
  library name 3570lib
  device /dev/rmt1.smc
  Share Library NO
  ◆ Object View ->
  Server Storage ->
  Libraries and Drives ->
  Automated Drives ->
  Operations: -> Define Automated Drive
  Library Name 3570lib
  Drive Name 3570drv
  Device /dev/rmt1
  Element 16
  Dā?苨??? ?????evice On-Line YES
  ◆ Object View ->
  Server Storage ->
  Device Classes ->
  3570 Device Classes ->
  Operations: -> Define Device Class
  Device Class Name 3570C11
  Recording Format 3570C
  Library Name 3570lib
  Mount Limit DRIVES
  Mount Retention 60
  Tape Volume Prefix ADSM
  Mount Wait 60
  ◆ Object View ->
  Server Storage ->
  Storage Pools ->
  Sequential Access Storage Pools ->
  Operations: -> Define Sequential Access Storage Pool
  Storage Pool Name 3570pool
  Device Class 3570C11
  Description Backup Oracle Database
  ……
  Collocate? NO
  Maximum Scratch Volumes 20
  Allowed
  ……
  Migration Continue YES
  ◆ Object View ->
  Server Storage ->
  Storage Pools ->
  Disk Storage Pools ->
  ARCHIVEPOOL -> Volumes ->
  Operations: -> Define a disk storage pool volume
  Storage Pool Name ARCHIVEPOOL
  Volume Name /usr/tivoli/tsm/tsmdata/arcvol.dsm
  Media Access Status READWRITE
  Format Size
  Wait YES
  ◆ Object Vview ->
  Server Storage ->
  Storage Pools ->
  Disk Storage Pools ->
  BACKUPPOOL -> Volumes ->
  Operations: -> Define a disk storage pool volume
  
  Storage Pool Name BACKUPPOOL
  Volume Name /usr/tivoli/tsm/tsmdata/bkvol.dsm
  Media Access Status READWRITE
  Format Size
  Wait YES
  ◆ Object View ->
  Server Storage ->
  Storage Pools ->
  Disk Storage Pools ->
  ARCHIVEPOOL ->
  Operations: -> Update a disk storage pool
  
  Next Storage Pool 3570pool
  ◆ Object View ->
  Server Storage ->
  Storage Pools ->
  Disk Storage Pools ->
  BACKUPPOOL ->
  Operations: -> Update a disk storage pool
  
  Next Storage Pool 3570pool
  ◆ Object View ->
  Database ->
  Database Volumes ->
  Operations: -> Define Database Volume
  
  Volume Name /usr/tivoli/tsm/tsmdata/db01.dsm
  Format Size
  Wait YES
   Object View ->
  Database ->
  Database Volumes ->
  Operations: -> Define Database Copy
  
  Database volume name /usr/tivoli/tsm/tsmdata/db01.dsm
  Copy Volume Name /usr/tivoli/tsm/tsmdata/db02.dsm
  
  ◆ Object View ->
  Recovery log ->
  Recovery log Volumes ->
  Operations: -> Define Recovery log Volume
  
  Volume Name /usr/tivoli/ā?苨??? ?????tsm/tsmdata/log01.dsm
  Format Size
  Wait YES
  
  ◆ Select Object View ->
  Recovery log ->
  Recovery log Volumes ->
  Operations: -> Define Recovery log Copy
  
  Database volume name /usr/tivoli/tsm/tsmdata/log01.dsm
  Copy Volume Name /usr/tivoli/tsm/tsmdata/log02.dsm
  
  四、标记磁带卷并检入库
    所有的磁带卷在TSM使用前都必须标记,只有标记过的磁带卷才能由库进行管理。为确保下列命令顺利执行,在操作面板上选择"SET LIBR MODE"->"Random"->"Cancel"。
  
    1. 执行以下命令标记磁带卷:
  
    # cd /usr/tivoli/tsm/server/bin
  
    # ./dsmlabel -drive=/dev/rmt1,16 -library=/dev/rmt1.smc -search -keep [-overwrite]
  
    注意:Picker(拣选器)将装入可用的磁带卷,然后提示管理员一个一个的输入卷标名。卷标名在1-6个字符之间,可自行定义。这里定义为tape01-tape10。
  
    2. 当磁带卷全部标记完后,再将磁带卷检入库:
  
    # dsmadmc
  
    # TSM> checkin libvolume 3570lib search=yes status=scratch devtype=3570
  
    注意:该命令将磁带卷定义为临时卷。
  
    3. 将磁带卷tape01定义为3570lib的专用卷:
  
    TSM> define volume 3570pool tape01
  
    注意:磁带卷tape01成为专用卷,就是说tape01属于存储池。如果要定义专用卷,参数"Maximum Scratch Volumes Allowed"必需大于0。至此,TSM的安装全部完成。
  
    4. 可以检入一个指定磁带进库
  
    前台运行 # cd /usr/tivoli/tsm/server/bin
  
  #dsmserv
  
    首先,checkin之前,3570上必须有空槽,若没有,先checkout一磁带。
  
    TSM> checkin libv 3570lib tapexx status=scratch(数据带时为private)
  
    把磁带放入31槽中,根据提示,执行reply pp命令,系统自动把此磁带移入3570的空槽中,并记录在案。
  
    5. checkout一个指定磁带
  
    TSM>checkout libv 3570lib tapexx
  
    系统会自动取出指定磁带,移到3570的31槽,应及时取走,并根据提示执行reply pp命令,向系统确认已经取走磁带。
  
    checkout多个磁带
  
    直接取出整个磁带架,把磁带取出,插入空磁带架,发出命令:
  
    TSM>audit library 3570lib
  
    6. 将新磁带添加到Storage Pool中:
  
    TSM>defi volume 3570pool tape02
  
  五、测试
    从备份客户机进行
  
    从命令行执行下列命令:
  
  # cd /usr/tivoli/tsm/server/bin
  # dsmc
  Tivoli Storage Manager
  Command Line Backup Client Interface - Version 3, Release 7, Level 0.0
  (C) Copyright IBM Corporation, 1990, 1999, All Rights Reserved.
  TSM> incr /tmp
  Node Name: CLIENT
  Please enter your user id <CLIENT>:
  Please enter password for user id "CLIENT": client
  Incremental backup of volume '/tmp'
  Directory -> 512 /tmp/ibm [Sent]
  Normal File -> 59,101 /tmp/.oslevel.mlinfo.cache [Sent]
  Normal File -> 155 /tmp/.toc [Sent]
  Normal File -> 1,143,969 /tmp/55324085.DBB [Sent]
  ……
  Successful incremental backup of '/tmp'
  Total number of objects inspected: 531
  Total number of objects backed up: 34
  Total number of objects updated: 0
  Total number of objects rebound: 0
  Total number of objects deleted: 4
  Total nā?苨??? ?????umber of objects failed: 0
  Total number of bytes transferred: 2.17 MB
  Data transfer time: 0.48 sec
  Network data transfer rate: 4,636.25 KB/sec
  Aggregate data transfer rate: 717.28 KB/sec
  Objects compressed by: 0%
  Elapsed processing time: 00:00:03
  TSM>
  
    看到输出的信息类似于上述文本,就表示备份成功。
  
  六、TDP for Oracle ON AIX 32-bit安装及配置
    安装配置要点
  
    ◆ smit安装软件包:
  
    ◆ 编辑tdpo.opt文件
  
    ◆ 编辑api client的dsm.opt文件
  
    ◆ 编辑api client的dsm.sys文件
  
    ◆ 在TSM server注册api client(tdp_h50b)
  
    注意:该客户机节点的属性必须是:BACKDELETE=YES
  
    ◆ 初始化password:
  
    ◆ 确认安装:显示TDP的环境变量:
  
    tdpoconf showenv
  
    ◆ 重新连接oracle备份的库文件
  
    步骤实施
  
    1、 h50b机器上,安装点与TSM相同(/usr/Tivoli/tsm)
  
    2、 将TDP for Oracle光盘放入光驱以root用户身份执行命令:
  
  # smitty installp
  tivoli.tsm.client.oracle.32bit
  tivoli.tsm.client.oracle.tools.32bit
  tivoli.tsm.client.api.32bit
  
    只安装TDP for Oracle on AIX 32-bit的文件集。
  
    3、 #su - oracle
  
    shutdown oracle
    $cd $ORACLE_HOME/lib
    $mv libobk.a libobk.a.03_24(移去此文件)
    $ cd $ORACLE_HOME/rdbms/lib
     $ make -f ins_rdbms.mk LLIBMM=/usr/lib/libobk.a ioracle
    - Linking Oracle ld -L/user/oracle/app/oracle/product/8.0.5/lib/
    -L/user/oracle/app/oracle/product/8.0.5/rdbms/lib
    -o /user/oracle/app/oracle/product/8.0.5/rdbms/lib/oracle
    -bI:/user/oracle/app/oracle/product/8.0.5/lib/pw-syscall.exp
    -bI:/user/oracle/app/oracle/product/8.0.5/lib/ksms.imp
    /user/oracle/app/oracle/product/8.0.5/rdbms/lib/opimai.o
    /user/oracle/app/oracle/product/8.0.5/rdbms/lib/ssoraed.o
    /user/oracle/app/oracle/product/8.0.5/rdbms/lib/ttcsoi.o
    /user/oracle/app/oracle/product/8.0.5/rdbms/lib/config.o
    -lserver -lclient -lvsn -lcommon -lgeneric
    /user/oracle/app/oracle/product/8.0.5/rdbms/lib/defopt.o
    /user/oracle/app/oracle/product/8.0.5/lib/ncrstab.o
    -lknlopt -lslax -lplsf -lplsb -lextp -lserver -lclient -lvsn
    -lcommon -lgeneric -lknlopt -lslax -lplsf -lplsb -lextp -ldbicx
    /user/oracle/app/oracle/product/8.0.5/lib/nautab.o
    /user/oracle/app/oracle/product/8.0.5/lib/naeet.ā?苨??? ?????o
    /user/oracle/app/oracle/product/8.0.5/lib/naect.o
    /user/oracle/app/oracle/product/8.0.5/lib/naedhs.o
    -.netv2 -lnttcp -lnetwork -lncr -lnetv2
    -lnttcp -lnetwork -lclient -lvsn -lcommon -lgeneric
    /usr/lib/libobk.a -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3
    -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork
    -lclient -lvsn -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3
    -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3
    -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lld -lm
    /lib/crt0_r.o -lc_r -lpthreads -lodm -lm -lm
    /user/oracle/app/oracle/product/8.0.5/rdbms/lib/skgxns.o
    -lkidt -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lld -lm
    /lib/crt0_r.o -lc_r -lpthreads -lodm -lm -lm
    mv -f /user/oracle/app/oracle/product/8.0.5/bin/oracle
    /user/oracle/app/oracle/product/8.0.5/bin/oracleO
      mv oracle /user/oracle/app/oracle/product/8.0.5/bin/oracle
      chmod 6751 /user/oracle/app/oracle/product/8.0.5/bin/oracle
    $startup oracle
       $exit
  
    4、 #cd /usr/tivoli/tsm/client/api/bin
  
    5、 cp dsm.opt.smp dsm.opt
  
  #vi dsm.opt
  
  Servername    tsmserver  
  TAPEPROMPT  yes
  # cp dsm.sys.smp dsm.sys
  #vi dsm.sys
  
  SErvername tsmserver
    COMMmethod     TCPip
    TCPPort        1500
    TCPServeraddress    172.16.18.2
    nodename       tdp_h50b
    passwordaccess    prompt
  
    6、 #cd /usr/tivoli/tsm/client/oracle/bin
  
  #cp tdpo.opt.smp tdpo.opt
  #vi tdpo.opt
  DSMI_LOG        /tmp
  DSMI_ORC_CONFIG     /usr/tivoli/tsm/client/oracle/bin/dsm.opt
  TDPO_FS         adsmorc
  TDPO_NODE        tdp_h50b
  TDPO_OWNER       oracle
  TDPO_PSWDPATH      /usr/tivoli/tsm/client/oracle/bin
  TDPO_AVG_SIZE      1500
  TDPO_NUM_BUFFERS    2
  # vi dsm.opt
  TAPEPROMPT   yes
  
    7、 # ./tdpoconf password
  
  ***************************************************************
  *    Tivoli Data Protection for Oracle Utility       *
  * Password file initializatā?苨??? ?????ion/update program        *
  *   ROOT privilege needed to update value          *
  ***************************************************************
  Please enter current password: tdp_h50b
  Please enter new password:*******
  Please reenter new password for verification:
  ANU0260I Password successfully changed.
  #
  # ls -la TDPO.*
  -rw-r--r--  1 root   sys 48 Mar 25 14:06 TDPO.tdp_h50b
  
  # ./tdpoconf showenv
  TDP FOR ORACLE INFORMATION
   Version:       2
   Release:       2
   Level:        0
   Sublevel:       0
   Platform:       TDP Oracle AIX
  
  TSM SERVER INFORMATION
   Server Name:     TDP_H50B
   Server Address:    172.16.18.2
   Server Type:     AIX-RS/6000
   Server Port:     1500
   Communication Method: TCP/IP
  
  SESSION INFORMATION
   Owner Name:      oracle
   Node Name:      TDP_H50B
   Node Type:      TDP Oracle AIX
   DSMI_DIR:       /usr/tivoli/tsm/client/api/bin
   DSMI_ORC_CONFIG:   /usr/tivoli/tsm/client/oracle/bin/dsm.opt
   TDPO_OPTFILE:     /usr/tivoli/tsm/client/oracle/bin/tdpo.opt
   Password Directory:  /usr/tivoli/tsm/client/oracle/bin
   Compression:     FALSE
  
  POLICY DATA
   Domain Name:     STANDARD
   Management Class:   STANDARD
   Active Policy Set:  STANDARD
   Backup Retention:   30
  #
  
    h50a机器:安装TDP For Oracle和Tsm client。
  
    1、 创建卷组tsmvg(A机整个hdisk1本地硬盘作为tsmvg)-à激活卷组tsmvg :varyon tsmvg-à在tsmvg上建立逻辑卷tsmlv,大小为320LP(320*16M=5G),然后在tsmlv上建立文件系统/usr/tivoli/tsm;
  
    2、 与B机安装相似,将TDP for Oracle光盘放入光驱以root用户身份安装在此安装点上(/usr/Tivoli/tsm)。
  
    3、 在h50a对节点tdp_h50a
  
    七、TDP FOR oracle 在win2k安装配置
  
    1、 将TDP for Oracle光盘放入光驱以administrator用户身份执行安装。安装目录:
  
  c:\Tivoli\tsm。(测试机器 xxb_chh,os为win2k,oracle为817)。安装完毕重启计算机。
  
    2、 进入C:\Tivoli\TSM\AgentOBA>目录,配置编辑tdpo.opt及dsm.opt文件:
  
    dsm.opt内容:
  
  COMMmethod TCPip
  
  TCPPort 1500
  
  TCPServeraddress 172.16.18.2
  
  nodename ora817
  
  passwordaccess generate
  
    tdpo.opt内容:
  
  ***********************ā?苨??? ?????*************************************
  * Sample options file for Tivoli Data Protection for Oracle
  ************************************************************
  DSMI_ORC_CONFIG  c:\tivoli\tsm\agentoba\dsm.opt
  DSMI_LOG      c:\tivoli\tsm\agentoba
  TDPO_AVG_SIZE   2000
  TDPO_FS      \adsmorc
  TDPO_NUM_BUFFERS  2
  
    3、 Initializing the Password:
  
  C:\Tivoli\TSM\AgentOBA>tdpoconf password
  ***************************************************************
  *    Tivoli Data Protection for Oracle Utility       *
  * Password file initialization/update program        *
  ***************************************************************
  Please enter current password:******
  Please enter new password:******
  Please reenter new password for verification:******
  ANU0260I Password successfully changed.
  C:\Tivoli\TSM\AgentOBA>
  
    4、 显示环境配置:
  
  C:\Tivoli\TSM\AgentOBA>tdpoconf showenv
  TDP FOR ORACLE INFORMATION
   Version:       2
   Release:       2
   Level:        0
   Sublevel:       0
   Platform:       TDP Oracle NT
  TSM SERVER INFORMATION
   Server Name:     DSMSERV
   Server Address:    172.16.18.2
   Server Type:     AIX-RS/6000
   Server Port:     1500
   Communication Method: TCP/IP
  
  SESSION INFORMATION
   Owner Name:
   Node Name:      ORA817
   Node Type:      TDP Oracle NT
   DSMI_DIR:       C:\Tivoli\TSM\api
   DSMI_ORC_CONFIG:   c:\tivoli\tsm\agentoba\dsm.opt
   TDPO_OPTFILE:     C:\Tivoli\TSM\AgentOBA\tdpo.opt
   Password Directory:
   Compression:     FALSE
  POLICY DATA
   Domain Name:     STANDARD
   Management Class:   STANDARD
   Active Policy Set:  STANDARD
   Backup Retention:   30
  C:\Tivoli\TSM\AgentOBA>
  
    至此,安装配置全部完毕。
    对需要作冷备份的(shutdown 数据库,即直接备份文件系统的)和利用client的schedule进行定时在线备份的,请再安装tsm的client端。Client有平台之分,tdp for oracle没有平台之分。
  

原文转自:http://www.ltesting.net