码迷,mamicode.com
首页 > 数据库 > 详细

TSM-ANR2579E ORA-19511(Oracle 备份)

时间:2015-01-17 06:35:55      阅读:419      评论:0      收藏:0      [点我收藏+]

标签:database   recovery   schedule   oracle   tsm   

环境:AIX系统的ORACLE 10g
      TSM5.4
      IBM带库LIB3584


问题原因:

迁移数据库后,在新数据库所在操作系统中重新部署TSM ba Client并开启dsmc schedule进程后

q event * * 

发现今日调度任务中,有一个调度failed 126


问题分析:

1. 因为报错不是miss,判断不是因为没有调度,而是进行了调度而没有调度成功。

2. 进一步根据TSM actlog日志分析原因,发现结果如下:

日期/时间: 1/16/2015 1:05:38
      消息: ANR2579E 节点 ORA_DBS01 的域 ORA_TAPE 的调度 DATE.SH 失败(返回码 126)。 (会话: 88)

3. Oracle RMAN中的日志报错为:

using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on t1 channel at 10/13/2009 09:47:43
ORA-19554: error allocating device, device type: SBT_TAPE, device name: 
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
IBM AIX RISC System/6000 Error: 106: Reserved errno was encountered
Additional information: 7011
ORA-19511: Error received from media manager layer, error text:
   SBT error = 7011, errno = 106, sbtopen: system error
Recovery Manager complete.

 

4. 确认TSM BA客户端的配置文件是否正确

TSM 的五个配置文件

/usr/tivoli/tsm/client/ba/bin64/dsm.sys

/usr/tivoli/tsm/client/ba/bin64/dsm.opt

/usr/tivoli/tsm/client/api/bin64/dsm.sys

/usr/tivoli/tsm/client/api/bin64/dsm.opt

/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt

都配置正确。


5. 确认以下路径是否有oracle权限(因为RMAN脚本中需要调用)

/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt

以及文件中以下内容

DSMI_ORC_CONFIG    /usr/tivoli/tsm/client/oracle/bin64/dsm.opt
DSMI_LOG           /usr/tivoli/tsm/client/oracle/bin
TDPO_NODE          ORA_DBS01
TDPO_PSWDPATH      /usr/tivoli/tsm/client/oracle/bin64


结果:

这些目录都是root权限

修改权限

chown -R  oracle:dba  /usr/tivoli/tsm/client/oracle/bin

chown -R /usr/tivoli/tsm/client/oracle/bin

再次调度成功。。。



本文出自 “丶Only” 博客,谢绝转载!

TSM-ANR2579E ORA-19511(Oracle 备份)

标签:database   recovery   schedule   oracle   tsm   

原文地址:http://ionly.blog.51cto.com/4869094/1604968

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!