环境介绍:
在主机a上安装了legato networker server端,备份介质,oracle 10g.并创建了恢复目录recovery catalog.
使用rman进行备份成功,即备份到networker指定的备份设备.
在主机a可以成功执行的rman脚本如下:
connect target sys/b123456@wgl01
connect catalog rman/rman@wgl01
run {
allocate channel t1 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=dnb200,NSR_GROUP=oracle_full,NSR_DATA_VOLUME_POOL=oraclefull)';
backup full tablespace test2;
backup archivelog all delete input;
release channel t1;
}
出现的问题:
在主机b上安装10g数据库.并且在a主机上的恢复目录中注册了b主机上的数据库.
在主机b上执行的rman脚本如下:
C:\>rman cmdfile oraclefullfor02
恢复管理器: 版本10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN> connect target *
2> connect catalog *
3> run {
4> allocate channel t2 type 'SBT_TAPE';
5> send 'ENV=(NSR_SERVER=dnb200,NSR_GROUP=oracle_full,NSR_DATA_VOLUME_POOL=oraclefull)';
6> backup full tablespace example;
7> backup archivelog all delete input;
8> release channel t2;
9> }
10>
连接到目标数据库: WGL03 (DBID=1627731314)
连接到恢复目录数据库
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on t2 channel at 03/21/2010 16:17:46
ORA-19554: 配置设备时出错, 设备类型: SBT_TAPE, 设备名称:
ORA-27211: 未能加载介质管理库
恢复管理器完成。
提示"未能加载介质管理库"?主机a已经配置好"介质管理库",
主机b作为network客户端应该不需要配"介质管理库".
是不是"恢复目录"哪里需要设置?大家,帮忙看下,谢谢!!