tsm linux 错误日志,TSM linux oracle安装

一、首先安装以下3个包分别在client与oracle两张盘下

5.4.1.0-TIV-TSMORA-LinuxX86.bin

TIVsm-API.i386.rpm

TIVsm-BA.i386.rpm

二、修改配置文件

# more /opt/tivoli/tsm/client/ba/bin/dsm.opt(/opt/tivoli/tsm/client/api(oracle)/bin/dsm.opt)

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

* IBM Tivoli Storage Manager*

**

* Sample Client User Options file for UNIX (dsm.opt.smp)*

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

*This file contains an option you can use to specify the TSM

*server to contact if more than one is defined in your client

*system options file (dsm.sys).Copy dsm.opt.smp to dsm.opt.

*If you enter a server name for the option below, remove the

*leading asterisk (*).

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

* SErvernameA server name defined in the dsm.sys file

ServerNameTSMSERVER(ba)

ServerNameORA_TAPE

# more /opt/tivoli/tsm/client/ba/bin/dsm.sys(/opt/tivoli/tsm/client/api(oracle)/bin/dsm.sys)

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

* IBM Tivoli Storage Manager*

**

* Sample Client System Options file for UNIX (dsm.sys.smp)*

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

*This file contains the minimum options required to get started

*using TSM.Copy dsm.sys.smp to dsm.sys.In the dsm.sys file,

*enter the appropriate values for each option listed below and

*remove the leading asterisk (*) for each one.

*If your client node communicates with multiple TSM servers, be

*sure to add a stanza, beginning with the SERVERNAME option, for

*each additional server.

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

SErvernameTSMSERVER(ba)

COMMMethodTCPip(ba)

TCPPort1500(ba)

TCPServeraddress10.20.11.51(ba)

NODENAMEFILE_JYPDGD(ba)

PasswordAccessgenerate(ba)

SErvernameORA_TAPE

COMMMethodTCPip

TCPPort1500

TCPServeraddress10.20.11.51

NODENAMEORA_JYPDGD

PasswordAccess(generate )prompt

三、注册节点

在TSM服务器中注册节点

register node FILE_JYPDUIP admin passexp=0 domain=FILE backdelete=yes

register node ORA_JYPDUIP admin passexp=0 domain=ORA_TAPE backdelete=yes

在客户端运行dsmc进入一次,密码为admin

四、拷贝配置文件

将ba下dsm.opt与dsm.sys拷贝到oracle目录下,并将TSMSERVER相关删除

修改tdpo.conf文件

# more tdpo.opt

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

* IBM Tivoli Storage Manager for Databases

*Data Protection for Oracle

*

* Sample tdpo.opt for the Linux86 Data Protection for Oracle

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

DSMI_ORC_CONFIG/opt/tivoli/tsm/client/oracle/bin/dsm.opt

DSMI_LOG/opt/tivoli/logs

*TDPO_FSadsmorc

TDPO_NODEORA_JYPDGD

*TDPO_OWNER

*TDPO_PSWDPATH/opt/tivoli/tsm/client/oracle/bin

*TDPO_DATE_FMT1

*TDPO_NUM_FMT1

*TDPO_TIME_FMT1

*TDPO_MGMT_CLASS_2mgmtclass2

*TDPO_MGMT_CLASS_3mgmtclass3

*TDPO_MGMT_CLASS_4mgmtclass4

五、为TSM目录赋oracle用户执行权限

# chown -R oracle.oinstall /opt/tivoli/tsm/client/oracle/bin

# chmod -R 755 /opt/tivoli/tsm/client/oracle/bin

六、生成password文件

#./tdpoconf password -TDPO_OPTfile=/opt/tivoli/tsm/client/oracle/bin/tdpo.opt

七、注册目标数据库

rman target sys/oracle@TJEPGD catalog userdisk/admin@TSMRMAN

register database;

quit

八、日志赋权

使oracle用户可以对DSMI_LOG/opt/tivoli/logs下的tdpoerror.log文件有写权限

DEFINE SCHEDULE ORA_TAPE ORA_JYPDGD_L0 TYPE=CLIENT ACTION=COMMAND OBJECT= /backup/scripts/ora_tape_l0.sh STARTTIME=02:00 DAYOFWEEK= SUNDAY

DEFINE ASSOCIATION ORA_TAPE ORA_JYPDGD_L0 ORA_JYPDGD

DEFINE SCHEDULE ORA_TAPE ORA_JYPDGD_L1 TYPE=CLIENT ACTION=COMMAND OBJECT=/backup/scripts/ora_tape_l1.sh STARTTIME=02:0 schedstyle=enhanced DAYOFWEEK=mon,tue,wed,thu,fri,sat

DEFINE ASSOCIATION ORA_TAPE ORA_JYPDGD_L1 ORA_JYPDGD

#!/bin/bash

export DSM_LOG=/opt/tivoli/logs

export DSM_DIR=/opt/tivoli/tsm/client/ba/bin

export DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt

nohup dsmc sched -servername=ORA_TAPE 2> /dev/null &

exit $?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值