- 论坛徽章:
- 0
|
环境1:AIX5.3,Oracle 9.2.0.6,TSM5.2
环境2:AIX5.3,Oracle 9.2.0.6,nbu5.1
环境3:HP-UX 11.31,Oracle 9.2.0.6,nbu5.1
我在AIX环境下运行rman备份,加“SBT_LIBRARY”变量有问题,但HP环境却正常。难道在AIX环境下rman不能使用“SBT_LIBRARY”变量??!
以下是环境1的报错信息:
------------------------------------------------------------------------------------------------------------------
RMAN> run { allocate channel t1 type 'sbt_tape';}
allocated channel: t1
channel t1: sid=193 devtype=SBT_TAPE
channel t1: Tivoli Data Protection for Oracle: version 5.2.0.0
released channel: t1
RMAN> run { allocate channel t1 type 'sbt_tape' PARMS='SBT_LIBRARY=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt'; }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on t1 channel at 05/09/2009 12:29:21
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 8
RMAN> quit
--------------------------------------------------------------------------------------------------------------------
在环境2下,问题跟环境1一样,就是分配通道的时候加“'SBT_LIBRARY”变量会有问题。
但我在环境3加“'SBT_LIBRARY”变量(HP平台)就没有问题:
---------------------------------------------------------------------------------------------------------------------
RMAN> run { allocate channel t1 type sbt PARMS='SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so'; }
allocated channel: t1
channel t1: sid=129 devtype=SBT_TAPE
channel t1: VERITAS NetBackup for Oracle - Release 5.1 (2004122520)
released channel: t1
RMAN>
----------------------------------------------------------------------------------------------------------------------
我在环境1、2、3测试sbttest命令,环境1、2(AIX平台)绝对会有问题,而环境3没有问题:
----------------------------------------------------------------------------------------------------------------------
**************************************************************
sbttest a -libname /usr/tivoli/tsm/client/oracle/bin64/tdpo.opt
/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt could not be loaded. Check that it is installed
properly, and that LD_LIBRARY_PATH environment variable
(or its equivalent on your platform) includes the directory
where this file can be found. Here is some additional
information on the cause of this error:
0509-022 Cannot load module /usr/tivoli/tsm/client/oracle/bin64/tdpo.opt.
0509-103 The module has an invalid magic number.
**************************************************************
sbttest a -libname /usr/openv/netbackup/bin/libobk.a64
/usr/openv/netbackup/bin/libobk.a64 could not be loaded. Check that it is installed
properly, and that LD_LIBRARY_PATH environment variable
(or its equivalent on your platform) includes the directory
where this file can be found. Here is some additional
information on the cause of this error:
System error: Exec format error
**************************************************************
sbttest a -libname /usr/openv/netbackup/bin/libobk.so
The sbt function pointers are loaded from /usr/openv/netbackup/bin/libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=VERITAS NetBackup for Oracle - Release 5.1 (2004122520)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
****************************************************************** |
|