symantec NBU 備份Oracle 11g
/user/openv/下的備份日誌報錯
Recovery Manager: Release 11.2.0.3.0 - Production on Mon Sep 17 14:36:11 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: testdb (DBID=123456)
using target database control file instead of recovery 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> 39> 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> 39>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch00 channel at 09/17/2012 14:36:13
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2
RMAN> RMAN>
Recovery Manager complete.
檢查帶庫、和指令碼都沒有問題,網路解析也沒問題
解決方案:
symantec nbu在備份是需要調用oracle lib庫檔案,symantec bin目錄下提供了此指令碼
[oracle@testdb bin]$ pwd
/usr/openv/netbackup/bin
[oracle@testdb bin]$ ls oracle_link
oracle_link
[oracle@testdb bin]$ ./oracle_link
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/app/oracle/product/11.2.0/db_1
Oracle version: 11.2.0.3.0
Platform type: x86_64
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/app/oracle/product/11.2.0/db_1/lib/libobk.so
Done
再次啟動備份,問題解決