环境: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 再次调度成功。。。
|