ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 043-200

043-200

原创 Linux操作系统 作者:jbymy2000 时间:2012-03-10 11:39:23 0 删除 编辑
200: You execute the following command to perform. a backup by using
Recovery Manager (RMAN):
RMAN> run
{allocate channel c1 type sbt;
backup datafile 1;
}
The command errors out. A part of the error message is as follows:
RMAN-03009:failure of allocate command on c1 channel
ORA-19554:error allocating device, device type: SBT_TAPE, device name:
What could explain why the statement failed?
A.sbt is not a valid device type.
B.Media Management Library was not loaded.
C.The sbt device cannot be used for data file backups.
D.No path was defined in the ALLOCATE CHANNEL command.
E.The channel is currently being used by another RMAN session.
Answer: B
Oracle9i Media Management Layer (MML) API lets third-party vendors build a media
manager, software that works with RMAN and the vendor's hardware to allow backups
to sequential media devices such as tape drives. The media manager handles loading,
unloading and labeling of sequential media such as tapes. You must install media
manager software to use RMAN with sequential media devices.
When backing up or restoring, the RMAN client connects to the target instance
and directs the instance to send requests to its media manager. No direct
communication occurs between the RMAN client and media manager.
Performing Backup and Restore with a Media Manager
Before performing backup or restore to a media manager, you must allocate one
or more channels to handle the communication with the media manager. You can also
configure default channels for use with the media manager, which will be applied
for all backup and recovery tasks that use the media manager where you do not
explicitly allocate channels. For a conceptual overview of channels, see "About RMAN
Channels". Configuring or allocating channels for backups is discussed further in
"Configuring and Allocating Channels for Use in Backups".
For example, this sequence of commands would configure channels for the media
manager and back up the database to the media manager:
RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 1;
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO sbt;
RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt PARMS 'ENV=(NSR_SERVER=bksvr1)';
RMAN> BACKUP DATABASE;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11312660/viewspace-718259/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 043-201
下一篇: 043-199
请登录后发表评论 登录
全部评论

注册时间:2012-01-10

  • 博文量
    416
  • 访问量
    205811