Top
ETERNUS SF AdvancedCopy Manager 14.2 Installation and Setup Guide

D.2 Tape library setup for use by TSM

This section describes how to perform setup so that the tape library can be used by TSM.

  1. Define the library as the "SCSI" type.

    tsm> define library <library_name> libtype=scsi

    <library_name>: Specify the library name.

    In the following example, "LT270" is set as the library name.

    tsm> define library LT270 libtype=scsi
    ANR8400I Library LT270 defined.
    
    tsm>
  2. Define the library path (device file).

    tsm> define path <server_name> <library_name> srctype=server desttype=library device=<library_path>

    <server_name>: Specify the node name of the tape server.
    <library_name>: Specify the library name.
    <library_path>: Specify the robot device filename (/dev/rmt/Xlb: where X is a number).

    In the following example, "tapeserver1" is set as the node name, "LT270" is set as the library name, and "/dev/rmt/5lb" is set as the device filename.

    tsm> define path tapeserver1 LT270 srctype=server desttype=library device=/dev/rmt/5lb
    ANR1720I A path from TAPESERVER1 to LT270 has been defined.
    
    tsm>
  3. Define the drive.

    • For LT20/LT40/LT60

      tsm> define drive <library_name> <drive_name>

      <library_name>: Specify the library name.
      <drive_name>: Specify the drive name.

    • For LT220/LT230/LT250/LT270

      tsm> define drive <library_name> <drive_name> element=<number>

      <library_name>: Specify the library name.
      <drive_name>: Specify the drive name.
      <number>: Specify the element number of the drive.

      The drive element number varies in accordance with the type of tape library device. Refer to the following:

      • For ETERNUS LT220

        Drive# [element number]

        Drive#1 [257]

      • For ETERNUS LT230

        Drive# [element number]

        Drive# [element number]

        Drive#1 [257]

        Drive#2 [258]

      • ETERNUS LT250

        Drive# [element number]

        Drive# [element number]

        Drive#00 [500]

        Drive#03 [503]

        Drive#01 [501]

        Drive#04 [504]

        Drive#02 [502]

        Drive#05 [505]

      • For ETERNUS LT270

        Drive# [element number]

        Drive# [element number]

        Drive#00 [500]

        Drive#10 [510]

        Drive#01 [501]

        Drive#11 [511]

        Drive#02 [502]

        Drive#12 [512]

        Drive#03 [503]

        Drive#13 [513]

        Drive#04 [504]

        Drive#14 [514]

        Drive#05 [505]

        Drive#15 [515]

        Drive#06 [506]

        Drive#16 [516]

        Drive#07 [507]

        Drive#17 [517]

        Drive#08 [508]

        Drive#18 [518]

        Drive#09 [509]

        Drive#19 [519]

      In the following example, "LT270" is set as the library name, "DRV00" is set as the drive name, and "500" is set as the element number.

      tsm> define drive LT270 DRV00 element=500
      ANR8404I Drive DRV00 defined in library LT270.
      
      tsm>
  4. Define the drive path (device file).

    tsm> define path <server_name> <drive_name> srctype=server desttype=drive library=<library_name> device=<device_path>

    <server_name>: Specify the node name of the tape server.
    <drive_name>: Specify the name of the drive.
    <library_name>: Specify the library name.
    <device_path>: Specify the drive device filename (For LT220/LT230/LT250/LT270: /dev/rmt/Xst: where X is a number, LT20/LT40/LT60: /dev/rmt/Xmt where X is a number).

    In the following example, "tapeserver1" is set as the node name, "DRV00" is set as the drive name, "LT270" is set as the library name, and "/dev/rmt/2st" is set as the device filename.

    tsm> define path tapeserver1 DRV00 srctype=server desttype=drive library=LT270 device=/dev/rmt/1st
    ANR1720I A path from TAPESERVER1 to LT270 DRV00 has been defined.
    
    tsm>