symantec NBU 备份oracle 11gR2
Script/tmp/hot_database_backup.sh
==== started on Mon Oct 14 18:27:33 CST 2013====
RMAN:/oracle/db/oracle/app/oracle/product/11.2.0/dbhome_1/bin/rman
ORACLE_SID: orc1
ORACLE_USER: oracle
ORACLE_HOME:/oracle/db/oracle/app/oracle/product/11.2.0/dbhome_1
NB_ORA_FULL: 1
NB_ORA_INCR: 0
NB_ORA_CINC: 0
NB_ORA_SERV: bmsoft-d3933e35
NB_ORA_POLICY: orc1
Full backup requested
Recovery Manager: Release 11.2.0.3.0 -Production on Mon Oct 14 18:27:34 2013
Copyright (c) 1982, 2011, Oracle and/or itsaffiliates. All rights reserved.
connected to target database: ORC(DBID=1347074656)
using target database control file instead ofrecovery catalog
RMAN> 2> 3> 4> 5> 6> 7>8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18>19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29>30>
31> 32> 33> 34> 35> 36> 37>38> RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11>12> 13> 14> 15> 16> 17> 18> 19> 20> 21>22>
23> 24> 25> 26> 27> 28> 29>30> 31> 32> 33> 34> 35> 36> 37> 38>
RMAN-00571:===========================================================
RMAN-00569: =============== ERROR MESSAGE STACKFOLLOWS ===============
RMAN-00571:===========================================================
RMAN-03009: failure of allocate command on ch00 channelat 10/14/2013 18:27:36
ORA-19554: error allocating device, device type:SBT_TAPE, device name:
ORA-27211: Failed to load Media ManagementLibrary
Additional information: 2
RMAN> RMAN>
Recovery Manager complete.
Script /tmp/hot_database_backup.sh
==== ended in error on Mon Oct 14 18:27:36 CST2013 ====
----------------------------------------------------------------------------------------------------------------------
检查带库、和脚本都没有问题,网络解析也没问题
解决方法:
symantec nbu在备份是需要调用oracle lib库文件,symantec bin目录下提供了此脚本
[oracle@orc1 bin]$ pwd
/usr/openv/netbackup/bin
[oracle@orc1 bin]$ ls oracle_link
oracle_link
[oracle@orc1bin]$ ./oracle_link
Tue Oct 15 10:01:20 CST 2013
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/db/oracle/app/oracle/product/11.2.0/dbhome_1
Oracle version: 11.2.0.3.0
Platform type: x86_64
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64/oracle/db/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libobk.so
Done
Please check the trace file located in /tmp/make_trace.12823
to make sure the linking process was successful.
再次启动备份,问题解决。