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

Example: Configure library sharing for SCSI or virtual tape libraries

Use the sample procedure to set up a VTL or SCSI library sharing environment.

About this task

In this example, a library manager server named ASTRO and a library client named JUDY are configured. To help clarify where each step is performed, the commands are preceded by the server name from which the command is issued. Most commands are issued from the library client.

The procedure is the same for both SCSI and VTLs, except for the step to define the library. For SCSI libraries, define the library with libtype=scsi. For VTLs, define the library with libtype=vtl.

Procedure

  1. To set up ASTRO as the library manager server, define a shared SCSI library named SANGROUP. For example:
    astro> define library sangroup libtype=scsi shared=yes
    Then complete the rest of the steps as described in Example: Configure a SCSI or virtual tape library with a single drive device type to configure the library.
    Tip: You can use the PERFORM LIBACTION command to define drives and paths for a library in one step.
  2. Define ASTRO as the library manager server by issuing the DEFINE SERVER command.
    judy> define server astro serverpassword=secret hladdress=192.0.2.24 
     lladdress=1777 crossdefine=yes
  3. Define the shared library SANGROUP by issuing the DEFINE LIBRARY command. You must use the library manager server name in the PRIMARYLIBMANAGER parameter, and use LIBTYPE=SHARED.
    judy> define library sangroup libtype=shared primarylibmanager=astro
    Ensure that the library name is the same as the library name on the library manager.
  4. Define paths from the library manager, ASTRO, to two drives in the shared library by issuing the DEFINE PATH command.
    AIX operating systems
    astro> define path judy drivea srctype=server desttype=drive 
     library=sangroup device=/dev/rmt6
    astro> define path judy driveb srctype=server desttype=drive 
     library=sangroup device=/dev/rmt7
    Linux operating systems
    astro> define path judy drivea srctype=server desttype=drive 
     library=sangroup device=/dev/IBMtape6
    astro> define path judy driveb srctype=server desttype=drive 
     library=sangroup device=/dev/IBMtape7
    Oracle Solaris operating systems
    astro> define path judy drivea srctype=server desttype=drive 
     library=sangroup device=/dev/rmt/6mt
    astro> define path judy driveb srctype=server desttype=drive 
     library=sangroup device=/dev/rmt/7mt
    HP-UX operating systems
    astro> define path judy drivea srctype=server desttype=drive 
     library=sangroup device=/dev/rmt/6m
    astro> define path judy driveb srctype=server desttype=drive 
     library=sangroup device=/dev/rmt/7m
  5. Define all device classes that are associated with the shared library. AIX operating systemsOracle Solaris operating systemsHP-UX operating systems
    judy> define devclass tape library=sangroup devtype=lto
    Linux operating systems
    judy> define devclass tape library=sangroup devtype=lto
    The following parameters for the device class definition must be the same on the library client as on the library manager:
    • LIBRARY
    • DRIVEENCRYPTION
    • WORM
    • FORMAT
  6. Define a storage pool named BACKTAPE for the shared library to use. Issue the DEFINE STGPOOL command.
    judy> define stgpool backtape tape maxscratch=50

What to do next

Repeat the procedure to define more library clients to your library manager.