How to install Oracle TDP Client and BA Client on Linux

tsm服务器:tsmtest,172.16.1.27,tsm server 6.2.4
oracle服务器:ora11gr2,172.16.1.19

#####################################
案例1-Linux 32-bit配置Oracle TDP Client
#####################################

****
*https://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=%2Fcom.ibm.itsmfdt.doc%2Fans5000067.htm
****
1,安装包C1CP9ML.tar.gz,32位和64为Linux的安装包在一起,解压,必须的2个软件包。
TDP-Oracle.i386.bin
TIVsm-API.i386.rpm(这个包在BAClient里面)

2,建立libobk.so链接
cd $ORACLE_HOME/lib
ln -s /opt/tivoli/tsm/client/oracle/bin/libobk.so libobk.so

3,修改tdpo.opt文件
cd /opt/tivoli/tsm/client/oracle/bin
cp tdpo.opt.smp tdpo.opt

编辑tdpo.opt,添加2行
******************
*Oracle TDP Client
******************
DSMI_ORC_CONFIG   /opt/tivoli/tsm/client/oracle/bin/dsm.opt
DSMI_LOG          /opt/tivoli/tsm/client/oracle/bin

4,创建dsm.opt文件
cd /opt/tivoli/tsm/client/oracle/bin
创建dsm.opt,添加1行
SErvername tsmtest

5,修改dsm.sys文件,Oracle的dsm.sys文件必须在api的bin目录下,与dsm.opt关联,dsm.opt的位置有tdpo.conf定义。
cd /opt/tivoli/tsm/client/api/bin
cp dsm.sys.smp dsm.sys

编辑dsm.sys,添加下面6行
******************
*Oracle TDP Client
******************
SErvername tsmtest
COMMMethod TCPip
TCPServeraddress 172.16.1.27
PASSWORDAccess generate
passworddir /home/oracle
nodename ORA11GR2_ORA

6,创建node密码文件,密码设置为Amaxgs123,密码文件会生成到步骤5定义的/home/oracle目录,需要重复输入3次。
su - oracle
cd /opt/tivoli/tsm/client/oracle/bin
ora11gr2.sannet.net | XXX | /opt/tivoli/tsm/client/oracle/bin > ./tdpoconf password
IBM Tivoli Storage Manager for Databases:
Data Protection for Oracle
Version 5, Release 5, Level 1.0
(C) Copyright IBM Corporation 1997, 2008. 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:

ANU0260I Password successfully changed.

7,TSM服务器端注册节点,节点点保持与dsm.sys定义的一致即可。
*************************************************
* REG NODE hostname_oracle password maxnummp=n
* where hostname is the name of the machine where Data Protection for Oracle
* is installed, password is the password for this node, and n is equal to the
* number of channels that you are planning to use.
*************************************************
reg node NDORA11GR2_ORA Amaxgs123 maxnummp=2 domain=STANDARD

8,测试以上配置。
ora11gr2.sannet.net | XXX | /opt/tivoli/tsm/client/oracle/bin > ./tdpoconf showenvironment

8,配置RMAN通道及脚本,完成备份。

9,定义服务器端Schedule及客户端Schedule完成调度。
9.1,客户端定义oracle tdp client schedule需要BA client支持来运行dsmc,所以也要安装BA client。
****
*https://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=%2Fcom.ibm.itsmfdt.doc%2Fans5000067.htm
****
a,修改ba那个bin文件下的dsm.sys文件/opt/tivoli/tsm/client/ba/bin/dsm.sys,添加oracle那个bin文件的dsm.sys文件/usr/tivoli/tsm/client/api/bin/dsm.sys
b,创建/opt/tivoli/tsm/client/api/bin下与ba下相同的dsm.sys,或者是创建连接文件。
c,创建客户端sched后台进程,密码为NDORA11GR2_ORA的Amaxgs123。
[root@ora11gr2 bin]# /opt/tivoli/tsm/client/ba/bin/dsmc sched -servername=tsmtest -password=Amaxgs123 &
[1] 28526
[root@ora11gr2 bin]# ANS0990W Options file '/opt/tivoli/tsm/client/ba/bin/dsm.opt' could not be found. Default option values will be used.
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 4, Level 1.0  
  Client date/time: 05/04/2014 20:58:29
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

Querying server for next scheduled event.
Node Name: NDORA11GR2_ORA
Session established with server TSMTEST: Windows
  Server Version 6, Release 2, Level 4.0
  Server date/time: 03/05/2014 14:10:17  Last access: 03/05/2014 14:06:04

Next operation scheduled:
------------------------------------------------------------
Schedule Name:         SCHORA11GR2_ORA
Action:                Command
Objects:               "/home/oracle/rman/full_back.cmd"
Options:               
Server Window Start:   14:21:00 on 03/05/2014
------------------------------------------------------------
Command will be executed in 11 minutes.

Time remaining until execution: 00:10:35

9.2,在上面的基础上配置BA Client备份Linux文件。
接下节...Linux下BA Client配置

#########################
案例2: Linux下BA Client配置
#########################

...接上: 9.2小结
1,安装BA Client,参考:https://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=%2Fcom.ibm.itsmfdt.doc%2Fans5000067.htm
2,在ba的bin下修改dsm.sys与dsm.opt进行BA Client备份。
--vi dsm.opt
SErvername tsmBA
--vi dsm.sys
SErvername            tsmBA
   COMMMethod         TCPip
   TCPPort            1500
   TCPServeraddress   172.16.1.27
   nodename           NDORA11GR2
   passwordaccess     generate
3,tsm服务器创建BA Node,reg node NDORA11GR2 Amaxgs123 userid=none domain=STANDARD
4,cd /opt/tivoli/tsm/client/ba/bin
   ./dsmc测试
   tsm> selective "/home/oracle/Sep2013/*" -subdir=yes
5,创建tsm schedule
6,创建tsm client schedule后台进程。
*******
*http://pic.dhe.ibm.com/infocenter/tsminfo/v6r4/index.jsp?topic=%2Fcom.ibm.itsm.db.orc.msgs.doc%2Fmsgs_orc159.html
*******
[root@ora11gr2 Sep2013]# /opt/tivoli/tsm/client/ba/bin/dsmc sched &
[1] 31396
[root@ora11gr2 Sep2013]# IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 4, Level 1.0  
  Client date/time: 05/04/2014 23:13:35
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

Querying server for next scheduled event.
Node Name: NDORA11GR2
Session established with server TSMTEST: Windows
  Server Version 6, Release 2, Level 4.0
  Server date/time: 03/05/2014 16:25:23  Last access: 03/05/2014 16:12:14




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值