TSM Server Client Tdpo

17
TSM ServerClient TDPO 安安安安安安 一、TSM 安安安安 H50a: 安安安 1 H50b 安安安 2 安安安安 h50b 安安 H50b◆ 安安安安-à 安安安安安-à 安安安安安 ◆ 安安 TSM ServerTSM ClientTDP for Oracle ◆ TSM Server 安安安 dblogdata 安安安安安安安/usr/Tivoli/tsm/tsmdata 安 Dbdb01.dsm 513 M Loglog01.dsm 513 M Databkvol.dsm 2047M arcvol.dsm 512M dbbak513M 安安安安 db** 安安安 (,一) 安安 Tivoli Storage Manager Server/Client 1. 安安安安 tsmvgB 安安安 hdisk1 安安安安安安 tsmvg2. 安安安安 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]

Transcript of TSM Server Client Tdpo

Page 1: TSM Server Client Tdpo

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]

Page 2: TSM Server Client Tdpo

……

# 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 放入光驱,执行上述相同的操作。

  安装完成后,运行下述命令确保以下文件集安装:

Page 3: TSM Server Client Tdpo

  # 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 Storage 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

Page 4: TSM Server Client Tdpo

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

PasswordAccess 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 中包含如下行:

Page 5: TSM Server Client Tdpo

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

Page 6: TSM Server Client Tdpo

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

Page 7: TSM Server Client Tdpo

Device /dev/rmt1

Element 16

Device 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 ->

Page 8: TSM Server Client Tdpo

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 ->

Page 9: TSM Server Client Tdpo

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)

Page 10: TSM Server Client Tdpo

  把磁带放入 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

Page 11: TSM Server Client Tdpo

Total number of objects updated: 0

Total number of objects rebound: 0

Total number of objects deleted: 4

Total number 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 用户身份执行命令:

Page 12: TSM Server Client Tdpo

# 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

  -lnetv2 -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

Page 13: TSM Server Client Tdpo

  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 *

Page 14: TSM Server Client Tdpo

* Password file initialization/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。

Page 15: TSM Server Client Tdpo

  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

***************************************************************

Page 16: TSM Server Client Tdpo

* 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>

  至此,安装配置全部完毕。

Page 17: TSM Server Client Tdpo

  对需要作冷备份的(shutdown 数据库,即直接备份文件系统的)和利用 client 的 schedule

进行定时在线备份的,请再安装 tsm 的 client 端。Client 有平台之分,tdp for oracle 没有平台之分。