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

Example: Configure an ACSLS library with a single drive device type

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

About this task

In this example, both drives in the ACSLS library are the same device type.

Procedure

  1. Define an ACSLS library named ACSLIB.
    define library acslib libtype=acsls acsid=1
  2. Define the drives in the library.
    define drive acslib drive01 acsdrvid=1,2,3,4
    define drive acslib drive02 acsdrvid=1,2,3,5

    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.
    AIX operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=acslib device=/dev/mt0
    
    define path server1 drive02 srctype=server desttype=drive 
     library=acslib device=/dev/mt1
    HP-UX operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=acslib device=/dev/rmt/tsmmt0
    
    define path server1 drive02 srctype=server desttype=drive 
     library=acslib device=/dev/rmt/tsmmt1
    Linux operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=acslib device=/dev/tsmscsi/mt0
    
    define path server1 drive02 srctype=server desttype=drive 
     library=acslib device=/dev/tsmscsi/mt1
    Oracle Solaris operating systems
    define path server1 drive01 srctype=server desttype=drive 
     library=acslib device=/dev/rmt/0mt
    
    define path server1 drive02 srctype=server desttype=drive 
     library=acslib device=/dev/rmt/1mt
  4. Define a device class named ACS_CLASS to classify the two drives in the ACSLIB library.
    define devclass acs_class library=acslib devtype=ecartridge
  5. Define a storage pool named ACS_POOL and associate it with the device class ACS_CLASS to use the devices that are defined there.
    define stgpool acs_pool acs_class maxscratch=20
  6. Label and check in library volumes.
    label libvolume acslib search=yes overwrite=no checkin=scratch
  7. To check what you have defined, issue the following commands:
    query library
    query drive
    query path
    query devclass
    query stgpool
    query libvolume