Unable to Detect Non-IBM Libraries on AIX

Cause: This occurs due to a change in the detection of tape libraries using the PdAt model_map entry in AIX.

If you have AIX 5.2 (maintenance level 9 and above), AIX 5.3 (maintenance level 5 and above), or AIX 6.1, use the following procedure to detect any non-IBM libraries that are not detected.

  1. Ensure that no jobs are running in the CommCell Console.
  2. If you have other IBM libraries connected to the CommCell, install the IBM ATape driver.
  3. cd <Software Installation Path>/MediaAgent.
  4. Run ksh ./removegnode.ksh.
  5. Add 16 characters of the library's model name to the file gnode.Pdat.withatape. Make sure that two sections must be added for the same inquiry, one for detecting SCSI attached library, and the other for detecting fiber channel attached library.

    Use the following example to determine the library device string:

    ../Base/detectdevices
    fscsi0 gnode0.1 68847 18
    fscsi0 gnode1.1 69376 1
    ...
    ./testinq /dev/fscsi0 68847 18
    /dev/fscsi0@68847,18:IBM     ULT3583-TL      3.30|Serial# IBM7802502        |Device Type 8
     

    Make sure that the model name is exactly 16 characters wide. If the model name is less than 16 characters, the remaining characters must be padded with spaces.
  6. Run ksh addgnode.withatape.ksh.
  7. Rerun cfgmgr command to check if the library is detected. Once cfgmgr has completed, check if the arm changer is detected using lsdev -Cc tape command. Arm-changers detected for non-IBM libraries are represented by gnode devices in the lsdev -Cc tape output.

    Example:

       This example illustrates the procedure for the STK 9730 library.

# ksh ./removegnode.ksh
Before proceeding, please make sure Galaxy services are shutdown
Hit enter to continue

0518-307 odmdelete: 0 objects deleted.
0518-307 odmdelete: 0 objects deleted.
0518-307 odmdelete: 0 objects deleted.
0518-307 odmdelete: 0 objects deleted.

       Insert two entries into the file gnode.Pdat.withatape as given below:

Entry for SCSI library
PdAt:
    uniquetype = "tape/scsi/gnode"
    attribute = "model_map"
    deflt = "10109730            " /* This field must be exactly 16 characters long and 
				 the model number should be prefixed with 1010 */
    values = ""
    width = ""
    type = "R"
    generic = ""
    rep = "s"
    nls_index = 0

Entry for FC library
PdAt:
    uniquetype = "tape/fcp/gnode"
    attribute = "model_map"
    deflt = "10109730            " /* This field must be exactly 16 characters long and 
				 the model number should be prefixed with 1010 */
    values = ""
    width = ""
    type = "R"
    generic = ""
    rep = "s"
    nls_index = 0

# ksh addgnode.withatape.ksh
Before proceeding, please make sure Galaxy services are shutdown
Hit enter to continue

# cfgmgr -l fscsi0
cfgmgr: 0514-621 WARNING: The following device packages are required for
        device support but are not currently installed.
devices.fcp.array
devices.fcp.changer
# lsdev -Cc tape
gnode0 Available 20-58-01 Other FC SCSI Tape Drive
rmt0   Available 20-58-01 Other FC SCSI Tape Drive