Skip Headers
Oracle® Secure Backup Installation Guide
Release 10.1

Part Number B14235-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Configuring Devices on Linux and UNIX with obtool

This section illustrates the configuration of tape libraries and tape drives on your media servers. This step assigns user-defined names to these devices for use in later Oracle Secure Backup procedures. The following procedure uses obtool commands, although you can also use the Oracle Secure Backup Web tool or Oracle Enterprise Manager to assign Oracle Secure Backup device names.

For the following examples, assume that you are configuring devices on a Solaris system on which the following device special files have been created:

While this example demonstrates performing this task on Solaris, the obtool commands on Linux are the same.


Note:

Disable any system software that scans and opens arbitrary SCSI targets before configuring Oracle Secure Backup tape devices. If Oracle Secure Backup has to contend with other system software (such as monitoring software) for access to tape libraries and drives, then unexpected behavior can result.

If necessary, log in as root, and then open Oracle Secure Backup, type obtool at a system prompt. When the ob> prompt is displayed, perform the following steps for each tape library on each media server:

  1. Create an Oracle Secure Backup device object with a user-defined name for each tape library. The device special file is the attach point for the library.

    For example, you can associate the name tc-lib with /dev/obl0 on host dlsun1976 as follows:

    ob> mkdev --type library --attach dlsun1976:/dev/obl0 tc-lib
    
    

    Note:

    • If you attempt to assign device names to devices on a host that is not already configured as a media server, then Oracle Secure Backup automatically configures the host as a media server.

    • For help on an obtool command, enter:

      ob> help command
      
      

  2. For each tape drive attached to the library you defined in the previous step, create an Oracle Secure Backup device object with a user-defined name for the tape drive. The library for the drive is referenced using the library name that you created in the previous step.


    Note:

    Oracle Secure Backup identifies each tape drive within a library by its data transfer element (DTE) number. You must assign each device a dte if library is specified. DTEs are numbered 1 through n. See Oracle Secure Backup Reference for more details on the --dte option to mkdev.

    The following example associates the name tc-tape with the tape drive /dev/obt0 in the library named tc-lib:

    ob> mkdev --type tape --library tc-lib --dte 1 --attach dlsun1976:/dev/obt0 tc-tape
    
    

You can verify the configuration information for your devices using the lsdev command in obtool. For example:

ob> lsdev

Oracle Secure Backup displays the following output:

library    tc-lib          in service
  drive 1  tc-tape         in service


See Also:

Oracle Secure Backup Administrator's Guide to learn how to use the Oracle Secure Backup Web tool