Media Management Library--关于介质管理库
2013-07-08 22:57
211 查看
文档地址:http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmconfg.htm#i1012741
Locating the Media Management Library: The SBT_LIBRARYParameter
When allocating or configuring channels for RMAN to useto communicate with a media manager, specify theSBT_LIBRARYparameter to provide the path to the mediamanagement software library. When RMAN actually allocates channelsto communicatewith a media manager, it attempts to load thelibrary indicated by the
SBT_LIBRARYparameter.--设置参量SBT_LIBRARY,此参数是为了加载介质管理库。这个参数指明了介质管理软件库的地址。当RMAN实际分配通道和一个介质管理器进行通讯的时候,RMAN会尝试利用指定的参量SBT_LIBRARY的值来加载MML(介质管理库)。当然如果加载失败的话,会给出错误ORA-27211。(下有同样的错误)If you do not provide a value for this parameter, RMANlooks in a platform-specific default location.--如果没有提供这个参量的值的话,那么系统会视平台给出默认值。On UNIX, the default library filename is
$ORACLE_HOME/lib/libobk.so, with the extension namevarying according to platform:
.so,
.sl,
.a, and so forth. On Windows the default librarylocation is
%ORACLE_HOME%\bin\orasbt.dll.Note:The default media management library file is notpart of the standard database installation. It is only present ifyou install third-party media management software.If the database is unable to locate a media managementlibrary in the location specified by the
SBT_LIBRARYparameter or the default location, then RMAN issues an
ORA-27211error and exits.--如果数据库不能够定位介质管理库通过指定参量SBT_LIBRARY的值或者默认路劲,那么RMAN则发布错误ORA-27211。(下有同样的错误。)Whenever channel allocation fails, the database writes atrace file to the
USER_DUMP_DESTdirectory. Thefollowing shows sample output:
SKGFQ OSD: Error in function sbtinit on line 2278 SKGFQ OSD: Look for SBT Trace messages in file /oracle/rdbms/log/sbtio.log SBT Initialize failed for /oracle/lib/libobk.so
Testing ALLOCATE CHANNEL on the Media Manager
Use the following steps to confirm that RMAN is able to load the media management library when allocating a channel for your media manager.Start RMAN and connect to the target database. For example,enter:
% rman TARGET /Run the
ALLOCATE
CHANNELcommand withthe
PARMSrequired by your media management software.For example, run this command:
RUN { ALLOCATE CHANNEL c1 DEVICE TYPE sbt PARMS='SBT_LIBRARY=/mediavendor/lib/libobk.so ENV=(NSR_SERVER=tape_srv,NSR_GROUP=oracle_tapes)'; }
If you do not receive an error message, then the database successfully loaded the media management library. If you receive the [code]ORA-27211error, the media management library could not be loaded:[/code]
RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03009: failure of allocate command on c1 channel at 11/30/2001 13:57:18ORA-19554: error allocating device, device type: SBT_TAPE, device name:ORA-27211: Failed to load Media Management Library
Additional information: 25
In this case, you must check your media management installation to make sure that the library is correctly installed, and re-check the value for the SBT_LIBRARY parameter as described in "Locating the Media Management Library: The SBT_LIBRARY Parameter".For any other errors, check the trace file in [code]USER_DUMP_DESTdirectory for more information.[/code]
相关文章推荐
- 揭秘window mobile power management关于device power state的管理
- 项目管理控件Project Management Library
- linux-文件系统管理10-关于存储介质的那些事儿
- 关于linux LVM的好图 (Logic Volume Management,逻辑卷管理)
- 非常不错的一些关于管理方面的小故事
- 关于TransactionScope出错:“与基础事务管理器的通信失败”的解决方法总结
- 项目管理:关于SVN的实践
- 黑马程序员_关于交通灯管理系统的总结
- 关于安装PostgreSQL出现configure: error: zlib library not found处理
- RMAN 系列(三),介质管理问题
- 关于AD域账户和组的管理技巧
- 关于mac cocoa app经由email发送图片和发送图片到iPhotoLibrary
- 关于glibc中的内存分配管理
- 第十九章——使用资源调控器管理资源(1)——使用SQLServer Management Studio 配置资源调控器
- 关于此主机当前没有管理网络冗余及数据存储数目为0的问题
- 【设计入门】新手初学设计应该注意哪些基础问题?——关于文件管理
- 关于软件外包项目管理的想法
- Media-媒介(媒体、介质)【译】
- 关于管理的经典故事(员工激励)
- 关于知识管理调查: