Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Integration of RMAN with virtual tape library

Dude!Jan 20 2011 — edited Jul 28 2011
OS: Oracle Linux 5.5 UEK (Virtualbox)
Oracle: 11gR2 11.2.0.1 Enterprise + ASM (Virtualbox)

Hello,

I would like to test something about RMAN and writing directly to tape. For this I installed mhvtl, a virtual tape library. The installation was pretty easy. http://sites.google.com/site/linuxvtl2/

RMAN does not recognize any tape in the system.
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library

What I found out is that in order to make backups to a media manager, RMAN must communicate with a media management library, which is a 3rd party library that is not supplied by Oracle. So I guess unless there is a Oracle MML library available for mtx I' out of luck here.

Any ideas? Thanks!

rpm -ivh mhvtl-0.18-13.x86_64.rpm
rpm -ivh mhvtl-0.18-13.src.rpm
cd /usr/src/redhat/SOURCES/
tar zxvf ../SOURCES/mhvtl-2011-01-11.tgz
cd mhvtl-0.18/kernel
make
make install
/etc/init.d/mhvtl start

yum install mtx

The tape library and using it for backup from system seems to work fine:
# mtx status
Storage Changer /dev/changer:4 Drives, 43 Slots ( 4 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = E03001L4
etc.
# mtx load 1
Drive 0 Full (Storage Element 1 loaded)
# tar cf /dev/ntape ./
# tar tvf /dev/ntape

Edited by: Dude on Jan 20, 2011 5:22 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2011
Added on Jan 20 2011
23 comments
7,322 views