NBU恢复报:ORA-19554 ORA-27211

RMAN> run {
2> allocate channel ch00 type 'sbt_tape' parms='ENV=(NB_ORA_CLIENT=rac1)';
3> restore controlfile from '/cntrl_7418_1_888200750';
4> release channel ch00;
5> }

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch00 channel at 08/20/2015 13:23:37
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2

解决办法:nbu在备份时需要调用oracle lib库文件,bin目录下提供了此脚本
[root@HA-zcqsmzq-tsvm01 bin]# su - oracle
[oracle@HA-zcqsmzq-tsvm01 ~]$ cd /usr/openv/netbackup/bin/
[oracle@HA-zcqsmzq-tsvm01 bin]$ ls oracle_link
oracle_link
[oracle@HA-zcqsmzq-tsvm01 bin]$ ./oracle_link
Thu Aug 20 13:28:07 CST 2015
All Oracle instances should be shutdown before running this script.

Please log into the Unix system as the Oracle owner for running this script

Do you want to continue? (y/n) [n] y


LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /oracle/oracle
Oracle version: 10.2.0.5.0
Platform type: x86_64
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/oracle/lib/libobk.so
Done

Please check the trace file located in /tmp/make_trace.8785
to make sure the linking process was successful.
[oracle@HA-zcqsmzq-tsvm01 bin]$

你可能感兴趣的:(NBU恢复报:ORA-19554 ORA-27211)