AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systems

Example: Configure a 3494 library with a single drive device type

Configure a 3494 library that contains two IBM® 3592 tape drives. Both drives in the library are the same device type.

Procedure

  1. Define a 3494 library named 3494LIB.
    define library 3494lib libtype=349x
  2. Define a path from the server to the library.
    AIX operating systems
    define path server1 3494lib srctype=server desttype=library 
     device=/dev/lmcp0
    HP-UX operating systemsOracle Solaris operating systemsLinux operating systems
    define path server1 3494lib srctype=server desttype=library 
     device=library1

    AIX operating systemsThe DEVICE parameter specifies the device special files for the LMCP.

    HP-UX operating systemsOracle Solaris operating systemsLinux operating systemsThe DEVICE parameter specifies the symbolic name for the library, as defined in the configuration file for the library device driver (/etc/ibmatl.conf).

  3. Define the drives in the library.
    define drive 3494lib drive01
    define drive 3494lib drive02

    Both drives belong to the 3494LIB library.

  4. Define a path from the server to each drive.
    AIX operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=3494lib device=/dev/rmt0
    define path server1 drive02 srctype=server desttype=drive 
     library=3494lib device=/dev/rmt1
    HP-UX operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=3494lib device=/dev/rmt/0m
    define path server1 drive02 srctype=server desttype=drive 
     library=3494lib device=/dev/rmt/1m
    Linux operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=3494lib device=/dev/IBMtape0
    define path server1 drive02 srctype=server desttype=drive 
     library=3494lib device=/dev/IBMtape1
    Oracle Solaris operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=3494lib device=/dev/rmt/0mt
    define path server1 drive02 srctype=server desttype=drive 
     library=3494lib device=/dev/rmt/1mt
  5. Define a device class named 3494_CLASS to classify the two 3592 drives according to type in the 3494LIB library.
    define devclass 3494_class library=3494lib devtype=3592
  6. Define a storage pool named 3494_POOL that is associated with the device class named 3494_CLASS.
    define stgpool 3494_pool 3494_class maxscratch=20
  7. Label and check in library volumes.
    label libvolume 3494lib search=yes checkin=scratch
  8. Verify your definitions by issuing the following commands:
    query library
    query drive
    query path
    query devclass
    query stgpool
    query libvolume