How to configure Tivoli Storage Manager (TSM) Tape Library with single device type drives


Tivoli Storage Manager supports both single device type drives and multi-device type drives in the same tape library. However, the configuration steps for these Single & Multi-device drive types is different.In this post we will see how to configure a simple single device type drives in a tape libraries.

Single Device type drives configuration in TSM

  • Define a SCSI library named TSMLIB. The library type is SCSI because the library is a SCSI-controlled automated library. Enter the following command:
            define library TSMLIB libtype=scsi
  •  If you have a SCSI library with a barcode reader and you would like to automatically label tapes before they are checked in, you can set the AUTOLABEL parameter to YES. For example:
             define library TSMLIB libtype=scsi autolabel=yes
  • Define a path from the server to the library. The DEVICE parameter specifies the device driver's name for the library, which is the special file name.
           define path server1 TSMLIB srctype=server desttype=library device=/dev/lb3
  • Define the drives in the library. Both drives belong to the TSMLIB library.
            define drive TSMLIB drive01
            define drive TSMLIB drive02

Read: IBM Spectrum Protect (TSM) Basic Free Tutorials

This example uses the default address for the drive's element address. The server obtains the element address from the drive itself at the time that the path is defined. 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. You can have the server obtain the element address from the drive itself at the time that the path is defined, or you can specify the element address when you define the drive. Depending on the capabilities of the library, the server may not be able to automatically detect the element address. In this case you must supply the element address when you define the drive.
  • Define a path from the server to each drive. The DEVICE parameter specifies the device driver's name for the drive, which is the device special file name.
define path server1 drive01 srctype=server desttype=drive library=TSMLIB device=/dev/mt4

define path server1 drive02 srctype=server desttype=drive library=TSMLIB device=/dev/mt5

Read: Tape Library related Interview Questions

If you did not include the element address when you defined the drive, the server now queries the library to obtain the default element address for the drive.
  • Now Classify drives according to type by defining Tivoli Storage Manager device classes. Use FORMAT=DRIVE as the recording format only if all the drives associated with the device class are identical. For example, to classify two drives in the TSMLIB library, use the following command to define a device class named DLTDEVC
         define devclass DLTDEVC library=TSMLIB devtype=DLT format=drive
  • Verify your definitions by issuing the following commands:
query library

query drive

query path

query devclass
  • Now you can define a storage pool named DLT_POOL associated with the device class named DLTDEVC. 
               define stgpool DLT_POOL DLTDEVC maxscratch=20




What Others are Reading Now...

0 Comment to "How to configure Tivoli Storage Manager (TSM) Tape Library with single device type drives "

Post a Comment