Databases Reference
In-Depth Information
In the second mkdev command we executed to create the virtual tape devices, we executed the command with the
following options:
mkdev -t tape -v -o -l vlib1 -d1 -a virtual1.vm.casham.com : /osb_vdevices/vdrive1 vdrive1
And here's what the various options stand for:
-t tape: specifes that we're creating a tape device
-v: specifies the verbose option for the output of this command
-o: lets OSB know that this tape device is available for use immediately
-l vlib1: denotes the tape library (vlib1) that's assigned to the tape device we're creating
-d1: The Data Transfer Element tag assigned to the tape device. In this case, we're asking
OSB to configure a single tape.
-a: constructs the path to the tape device attachment
vdrive1: name of the tape device
You can issue the ls command from the virutal directory osb_vdevices that you've created earlier. The ls
command shows a virtual directory named vdrive1 and a virtual library named vlib1. If you then issue the cd vlib1
command, you can view the contents of the virtual library, as shown in the following example.
[oracle@virtual1 osb_vdevices]$ ls
vdrive1 vlib1
[oracle@virtual1 osb_vdevices]$ cd vdrive1
[oracle@virtual1 vdrive1]$ ls
[oracle@virtual1 vdrive1]$ cd ../vlib1
[oracle@virtual1 vlib1]$ ls
67538cc80ce51039e51000c292f9d8f 67e97ff80ce51039e51000c292f9d8f
6767c9ea0ce51039e51000c292f9d8f 67f7bfa00ce51039e51000c292f9d8f
67758a940ce51039e51000c292f9d8f 680539d20ce51039e51000c292f9d8f
6783d4be0ce51039e51000c292f9d8f 681310020ce51039e51000c292f9d8f
6792854a0ce51039e51000c292f9d8f 6821d5ec0ce51039e51000c292f9d8f
67a06c140ce51039e51000c292f9d8f 682f970e0ce51039e51000c292f9d8f
67af1c460ce51039e51000c292f9d8f 683ddecc0ce51039e51000c292f9d8f
67bdaf7c0ce51039e51000c292f9d8f 684b804a0ce51039e51000c292f9d8f
67ceaa660ce51039e51000c292f9d8f 6859849c0ce51039e51000c292f9d8f
67dc0d280ce51039e51000c292f9d8f 68682cc20ce51039e51000c292f9d8f
[oracle@virtual1 vlib1]$
Configuring RMAN to Work with Oracle Secure Backup
Problem
You want to configure RMAN so you can make tape backups through Oracle Secure Backup.
Solution
Once you've configured the tape library and the tape drives (if you're testing with virtual tape libraries and tape drives,
please see Recipe 18-5), you must grant RMAN necessary permissions for it to be able to work with the OSB devices
you've configured. In the following example, we show you how to create a preauthorized Oracle Secure Backup user
for performing RMAN backup and recovery tasks.
 
Search WWH ::




Custom Search