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
- Define an ACSLS library named ACSLIB.
define library acslib libtype=acsls acsid=1
- 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.
- Define a path from the server to each drive.
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
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
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
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
- Define a device class named ACS_CLASS to classify the two
drives in the ACSLIB library.
define devclass acs_class library=acslib devtype=ecartridge
- 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
- Label and check in library volumes.
label libvolume acslib search=yes overwrite=no checkin=scratch
- To check what you have defined, issue the following commands:
query library
query drive
query path
query devclass
query stgpool
query libvolume