Databases Reference
In-Depth Information
How It Works
The Solution section shows how you can avoid the obtool interactive mode altogether by directly entering commands
at the operating system command line. When entering a set of commands, you can choose to specify them directly
on the command line, or in the case of a large number of obtool commands, use a script file to pass the commands to
obtool, which will then sequentially execute the set of commands contained in the file.
Configuring an OSB Virtual Device
Problem
You want to configure a virtual test device to test Oracle Secure Backup in a non-production environment.
Solution
Perform the following steps on the server that has the media server role in an OSB environment. In our example,
the same host serves as the administrative server and the media server, but you could choose a different host for the
media server role.
1.
Log in as the user oracle:
$ su - oracle
2.
Create a directory to host the various virtual storage components and the virtual storage
devices:
$ mkdir/osb_vdevices
3.
Log in to obtool as the admin user:
$ obtool -u admin
Password:
Execute the mkdev command to configure the virtual tape library:
4.
ob> mkdev -t library -v -S20 -I2 -o -B yes -a virtual1.vm.mydomain.com : /osb_vdevices/
vlib1 vlib1
You can confirm that the mkdev command worked, by executing either the lsdev or the
lsdev -lo ng commands, as shown here:
5.
ob> lsdev
library vlib1 in service
ob>
ob> lsdev --long
vlib1:
Device type: library (virtual)
Model: [none]
Serial number: [none]
In service: yes
Debug mode: no
 
Search WWH ::




Custom Search