![]() |
![]() |
In the following example, an automated SCSI library containing two drives is attached to the server system.
You must first set up the device on the server system. This involves the following tasks:
define library auto8mmlib libtype=scsi
define path server1 auto8mmlib srctype=server1 desttype=library device=/dev/lb3
The DEVICE parameter specifies the device driver's name for the library, which is the special file name.
See Defining Libraries and SCSI Libraries. For more information about paths, see Defining Paths.
define drive auto8mmlib drive01 element=82 define drive auto8mmlib drive02 element=83
Both drives belong to the AUTO8MMLIB library.
Element address: The element address is a number that indicates the physical location of a drive within an automated library. The server needs the element address to connect the physical location of the drive to the drive's SCSI address. When you define a drive, the element address is required if more than one drive is in an automated library. The element numbers are taken from the device worksheet filled out in step 7. See http://www.tivoli.com/support/storage_mgr/tivolimain.html to determine the element numbers.
See Defining Drives. For more information about paths, see Defining Paths.
define path server1 drive01 srctype=server desttype=drive library=auto8mmlib device=/dev/mt4 define path server1 drive02 srctype=server desttype=drive library=auto8mmlib device=/dev/mt4
The DEVICE parameter specifies the device driver's name for the drive. In this example, each drive is given a device special file name by Tivoli Storage Manager that is unique to the device special file. For more about device special file names, see Determining Device Special File Names. For more information about paths, see Defining Paths.
define devclass auto8mm_class library=auto8mmlib devtype=8mm format=drive
query library query drive query path query devclass
See Requesting Information About Libraries, Requesting Information about Drives, Requesting Information about a Device Class, and Requesting Information About Paths.
define stgpool auto8mm_pool auto8mm_class maxscratch=20
Key choices:
For more information, see Defining or Updating Primary Storage Pools.
Ensure that enough volumes are available to the server in the library. Keep enough labeled volumes on hand so that you do not run out during an operation such as client backup.
checkin libvolume auto8mmlib search=yes status=scratch checklabel=barcode
label libvolume auto8mmlib search=yes labelsource=barcode checkin=scratch
After you have attached and defined your devices, you can store client data in two ways: