我是初学tsm,硬着头皮照着下载的文档安装虚拟带库,然后装tsm,装oracle,想先搭一套环境之后再慢慢学理论
现在linux装好了,虚拟带库也装好了,oracle也装好了,tsm server和tsm client,tsm isc与tsm ac都装好了,但在tdp for oracle这一块碰到问题了。
另外上网查了有个贴子问题和我差不多,说是我使用的tdpo for oracle是从网上下载的,所以有问题,如果是使用原厂光盘就不会有问题,不知道是不是这原因
http://bbs.chinaunix.net/thread-1331069-1-1.html我下载的文档tsm5[1].5+VTL+oracle10G.pdf上是这么写的
1 安装 tsm for oracle
[root@vistor tsm]# ./5.5.2.0-TIV-tdp-LinuxX86.bin
2 设置环境变量
TSM API Client 环境:
export DSMI_CONFIG=/opt/tivoli/tsm/client/api/bindsm.opt
export DSMI_DIR=/opt/tivoli/tsm/client/api/bin
export DSMI_LOG=/opt/tivoli/tsm/client/api/bin/log/tdpoerror.log
3 修改参数配置文件
A)编辑/opt/tivoli/tsm/client/api/bin/dsm.sys 内容
SErvername SERVER1
COMMMethod TCPip
TCPPort 1500
TCPServeraddress 10.10.10.133
nodename oracle
ENABLELANFREE yes
LANFREECommMethod TCPIP
LANFREETCPPort 1500
注:红色为新增内容,用于连接TSM SAN Agent 和开启LAN Free
B)编辑/opt/tivoli/tsm/client/api/bin/dsm.opt 内容
SErvername SERVER1
C)编辑/opt/tivoli/tsm/client/oracle/bin/tdpo.opt
DSMI_ORC_CONFIG /opt/tivoli/tsm/client/api/bin/dsm.opt
DSMI_LOG /opt/tivoli/tsm/client/api/bin/log
TDPO_NODE oracle
注:
/opt/tivoli/tsm/client/api/bin64/dsm.opt oracle 用户必须 有权读取
/opt/tivoli/tsm/client/api/bin64/dsm.sys oracle 用户必须 有权读取
opt/tivoli/tsm/client/api/bin64/log oracle 用户必须 有权写和读取
4 链接库文件
#ln -sf /opt/tivoli/tsm/client/oracle/bin/libobk.so /oracle/product/10.2.0/db_1/lib/libobk.so
#chmod 777 $ORACLE_HOME/lib/libobk.so
# chmod 777 /opt/tivoli/tsm/client/oracle/bin/libobk.so
注:
$ORACLE_HOME/lib/libobk.a oracle 用户必须有权读取执行
/usr/tivoli/tsm/client/oracle/bin64/libobk64.a oracle 用户必须有权读取执行
测试LINK是否成功
在ORACLE用户下执行sbttest test
$ sbttest test
The sbt function pointers are loaded from libobk.a(shr.o) library.
-- sbtinit succeeded
Return code -1 from sbtinit, bsercoer = 0, bsercerrno = 0
Message 0 not found; product=RDBMS; facility=SBT
5 在 TSM server注册客户端
该客户机节点的属性必须是:BACKDELETE=YES
register node oracle admin archdelete=no backdelete=yes
设置tsm服务器并修改密码
cd /optvoli/tsm/client/oracle/bin
./tdpoconf password
该口令与TSM server注册该节点时的口令相同
检查tdp 的配置是否正确
#cd /opt/tivoli/tsm/client/oracle/bin
#./tdpoconf showenvironment
输出类似如下:
IBM Tivoli Storage Manager for Databases:
Data Protection for Oracle
Version 5, Release 5, Level 2.0
(C) Copyright IBM Corporation 1997, 2009. All rights reserved.
Data Protection for Oracle Information
Version: 5
Release: 5
Level: 2
Sublevel: 0
Platform: 32bit TDPO Linux86
Tivoli Storage Manager Server Information
Server Name: SERVER1
Server Address: 10.10.10.133
Server Type: Linux/i386
Server Port: 1500
Communication Method: TCP/IP
Session Information
Owner Name:
Node Name: oracle
Node Type: TDPO Linux86
DSMI_DIR: /opt/tivoli/tsm/client/api/bin
DSMI_ORC_CONFIG: /opt/tivoli/tsm/client/api/bin/dsm.opt
TDPO_OPTFILE: /opt/tivoli/tsm/client/oracle/bin/tdpo.opt
Password Directory: /opt/tivoli/tsm/client/oracle/bin
Compression: FALSE License Information: License file exists and contains valid license data.
可是我在做测试LINK是否成功时出错了
[oracle@xiaxh ~]$ sbttest test
The sbt function pointers are loaded from libobk.so library.
Return code -1 from sbtinit, bsercoer = 7011, bsercerrno = 106
sbtopen: System error - eg. malloc, fork errors
做./tdpoconf password也出错
[root@xiaxh bin]# ./tdpoconf password
IBM Tivoli Storage Manager for Databases:
Data Protection for Oracle
Version 5, Release 5, Level 2.0
(C) Copyright IBM Corporation 1997, 2009. All rights reserved.
***************************************************************
* IBM Tivoli Storage Manager for Databases Utility
* Password file initialization/update program
***************************************************************
Please enter current password:
Please enter new password:
Please reenter new password for verification:
ANS1353E (RC53) Session rejected: Unknown or incorrect ID entered
在网上查了贴子,有人和我是类似的情况,据说是我使用的是网上下载的tdpo for oracle,好像有问题,用原厂光盘tdpo for oracle就没问题,不知道是不是这原因,或者有人知道是什么原因,请告诉我如何解决,谢谢。
可以参考下这个贴子,和我问题类似,说是网上下载的安装程序有问题的
http://bbs.chinaunix.net/thread-1331069-1-1.html