- 论坛徽章:
- 0
|
Tivoli TDPO 5.2的安装和配置
已经安装好TSM server 5.2.5, 要备份oracle数据库文件
一、安装AIX
AIX Default Installation Directories
AIX Default Installation Directories
TDP for Oracle /usr/tivoli/tsm/client/oracle/bin
TSM API 32-bit /usr/tivoli/tsm/client/api/bin
TSM API 64-bit /usr/tivoli/tsm/client/api/bin64
Follow these instructions to install TDP for Oracle. This example
assumes that your CD-ROM drive is /dev/cd0.
1. Insert the CD-ROM containing the client package into the
CD-ROM drive.
2. Log in as the root user.
3. Enter smitty install
4. Select Install and Update Software
5. Select Install and Update from LATEST Available Software
6. Enter /dev/cd0 for Input device / directory for software.
7. Press F4 to list SOFTWARE to install.
8. Press F7 to select the appropriate installation package. Press
Enter.
Package Package Name
TDP for Oracle 64-bit tivoli.tsm.client.oracle.64bit
TSM API 64-bit tivoli.tsm.client.api.64bit
9. Press Enter again.
10. A window will pop up prompting you:
ARE YOU SURE?
Press Enter again.
11. Once you are finished installing, press F10 to get out of smitty.
如果需要安装TSM client 5.2.5,同理。
二、配置TDPO
安装完TDP以后,需要做以下步骤才能让RMAN与TDP结合使用(ORACLE10g):
1)su - oracle
2) ln -s /usr/lib/libobk64.a $ORACLE_HOME/lib/libobk.a
3) vi /usr/tivoli/tsm/client/oracle/bin64/tdpo.opt
DSMI_ORC_CONFIG (指定TDP使用的dsm.opt的位置,TDP使用自己的dsm.opt文件)
DSMI_DIR (指定存放dsm.sys的目录)
TDPO_FS (指定用于备份的文件空间名,用TSM查看时,显示的备份的ORACLE数据文件的根目录)
TDPO_NODE (指定用于备份操作的节点名,是客户端的主机名)
TDPO_OWNER (备份文件的所属用户)
TDPO_PSWDPATH (指定tdpoconf生成的口令文件的位置)
注意,
在此之前,已经在TSM注册了两个节点。
已经配置/usr/tivoli/tsm/client/ba/bin/dsm.sys
和/usr/tivoli/tsm/client/ba/bin/dsm.opt
还有/usr/tivoli/tsm/client/api/bin64/dsm.opt
4) tdpoconf password -tdpo_optfile=;
5)测试: $ORACLE_HOME/bin/sbttest test
显示:The sbt function pointers are loaded from libobk.a(shr.o) library.
-- sbtinit succeeded
证明TDP已与ORACLE连接好并测试成功。
可以使用RMAN来做备份了,把数据直接备份到磁带库中
run {
allocate channel tdp1 type 'sbt_type' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup
incremental 0
format 'FULLDB_%t_%s_%p'
database;
....
release channel tdp1;
}
OK。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7315/showart_115084.html |
|