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

Example: Configure an ACSLS library with multiple drive device types

The following example shows how to set up an ACSLS library with a mix of two T10000C drives and two T10000A drives.

Procedure

  1. Define two ACSLS libraries named T10000CLIB and T10000ALIB. Both libraries use the same ACSID.
    define library T10000Clib libtype=acsls acsid=1
    define library T10000Alib libtype=acsls acsid=1

    The ACSID parameter specifies the number that the Automatic Cartridge System System Administrator (ACSSA) assigned to the libraries. Issue the QUERY ACS command to your ACSLS system to determine the number for your library ID.

  2. Define the drives, ensuring that they are associated with the appropriate libraries.
    Note: Tivoli® Storage Manager does not prevent you from associating a drive with the wrong library.
    • Define the T10000C drives to T10000CLIB.
      define drive T10000Clib T10000C_drive1 acsdrvid=1,2,3,1
      define drive T10000Clib T10000C_drive2 acsdrvid=1,2,3,2
    • Define the T10000A drives to T10000ALIB.
      define drive T10000Alib T10000A_drive3 acsdrvid=1,2,3,3
      define drive T10000Alib T10000A_drive4 acsdrvid=1,2,3,4

    The ACSDRVID parameter specifies the ID of the drive that is being accessed. The drive ID is a set of numbers that indicate the physical location of a drive within an ACSLS library. This drive ID must be specified as a, l, p, d, where a is the ACSID, l is the LSM (library storage module), p is the panel number, and d is the drive ID. The server needs the drive ID to connect the physical location of the drive to the drive's SCSI address. See the StorageTek documentation for details.

  3. Define a path from the server to each drive. Ensure that you specify the correct library.
    • For the T10000C drives: AIX operating systems
      define path server1 T10000C_drive1 srctype=server desttype=drive 
       library=T10000Clib device=/dev/mt0
      
      define path server1 T10000C_drive2 srctype=server desttype=drive 
       library=T10000Clib device=/dev/mt1
      HP-UX operating systems
      define path server1 T10000C_drive1 srctype=server desttype=drive 
       library=T10000Clib device=/dev/rmt/tsmmt0
      
      define path server1 T10000C_drive2 srctype=server desttype=drive 
       library=T10000Clib device=/dev/rmt/tsmmt1
      Linux operating systems
      define path server1 T10000C_drive1 srctype=server desttype=drive 
       library=T10000Clib device=/dev/tsmscsi/mt0
      
      define path server1 T10000C_drive2 srctype=server desttype=drive 
       library=T10000Clib device=/dev/tsmscsi/mt1
      Oracle Solaris operating systems
      define path server1 T10000C_drive1 srctype=server desttype=drive 
       library=T10000Clib device=/dev/rmt/0mt
      
      define path server1 T10000C_drive2 srctype=server desttype=drive 
       library=T10000Clib device=/dev/rmt/1mt
    • For the T10000A drives: AIX operating systems
      define path server1 T10000A_drive3 srctype=server desttype=drive 
       library=T10000Alib device=/dev/mt2
      
      define path server1 T10000A_drive4 srctype=server desttype=drive 
       library=T10000Alib device=/dev/mt3
      HP-UX operating systems
      define path server1 T10000A_drive3 srctype=server desttype=drive 
       library=T10000Alib device=/dev/rmt/tsmmt2
      
      define path server1 T10000A_drive4 srctype=server desttype=drive 
       library=T10000Alib device=/dev/rmt/tsmmt3
      Linux operating systems
      define path server1 T10000A_drive3 srctype=server desttype=drive 
       library=T10000Alib device=/dev/tsmscsi/mt2
      
      define path server1 T10000A_drive4 srctype=server desttype=drive 
       library=T10000Alib device=/dev/tsmscsi/mt3
      Oracle Solaris operating systems
      define path server1 T10000A_drive3 srctype=server desttype=drive 
       library=T10000Alib device=/dev/rmt/2mt
      
      define path server1 T10000A_drive4 srctype=server desttype=drive 
       library=T10000Alib device=/dev/rmt/3mt

    AIX operating systemsOracle Solaris operating systemsThe DEVICE parameter gives the device special file name for the drive.

  4. Classify the drives in the two libraries according to type by defining one device class for each type of drive. Because there are separate libraries, you can enter a specific recording format or you can enter DRIVE.
    define devclass T10000C_class library=T10000Clib devtype=ecartridge 
     format=T10000C
    
    define devclass T10000A_class library=T10000Alib devtype=ecartridge 
     format=T10000A
  5. Create the storage pools to use the devices in the device classes that you just defined. For example, define storage pools named T10000C_POOL associated with the device class T10000C_CLASS and T10000A_POOL associated with the device class T10000A_CLASS:
    define stgpool T10000C_pool T10000C_class maxscratch=20
    
    define stgpool T10000A_pool T10000A_class maxscratch=20
  6. Label and check in library volumes.
    label libvolume T10000Clib search=yes overwrite=no checkin=scratch
    label libvolume T10000Alib search=yes overwrite=no checkin=scratch
  7. To check what you have defined, enter the following commands:
    query library
    query drive
    query path
    query devclass
    query stgpool
    query libvolume