Procedure 1

This procedure explains how to install a media changer device file under an AIX controller node. It involves running the scripts install*.ksh, which are in the bin/JB subdirectory under the main directory. The scripts do the following:

install1.ksh

Probes the system for file name violations.

install2.ksh

Configures the tape library device driver.

install3.ksh

Modifies the inittab script for driver setup at boot time.

  1. Run install1.ksh to check for any file name violations with the existing files. If no violation is detected, install1.ksh prompts you to continue with install2.ksh, as shown in the following example:

******************************************

Checking the conflict of directory

******************************************

File /usr/lib/drivers/<filename>_sa status

File /usr/lib/methods/cfgsa status

File /usr/lib/methods/ucfgsa status

File /usr/lib/methods/express.cat status

**********************************

Checking the CuDv ODM

**********************************

...............

***********************************************************

Searching scsi parent:

***********************************************************

...............

***********************************************************

Searching unavailable location for this parent:

***********************************************************

...............

Please find free scsi-id for robot arm device.

***********************************************************

If file name has conflict, please change it now.

If ODM data has conflict, please change the file PdDv file now.

Then execute install2.ksh

***********************************************************

Continue to execute install2.ksh ? (Y/N)
  1. Enter Y to execute the install2.ksh script. The script prompts you for information about the tape library media changer, not the drives, as shown in the following example:

**********************************

Now Check the directory existence.

**********************************

.......

**********************************

Now Copy file to /usr/lib/methods/

**********************************

Copying file express.cat to /usr/lib/methods/

Copying file cfgsa to /usr/lib/methods/

Copying file ucfgsa to /usr/lib/methods/

Copying file <filename>_sa to /usr/lib/drivers/

OK...

**********************************

Select Tape Library type

**********************************

Current support Tape Library types are:

----------------------------------

1. ADIC Scalar DLT 448

2. ADIC Scalar DLT 458

3. ADIC VLS 4mm

4. ADIC VLS 8mm

............

............

37.Tape Library's robot arm using lun=0

38.Tape Library's robot arm using lun=1

----------------------------------

Please enter the tape library type.
  1. Enter the number corresponding to the tape library to be installed. For example, type 1 to choose ADIC Scalar DLT 448. If your tape library is not listed, but the logical unit number (LUN) is known, use either option 37 or 38. The following message appears:

Please enter the minor number of the logical device name.
logical device name: <<sync_sa0>> ?
  1. Enter the logical device name to be used when addressing the media changer. For example, type sync_sa0 to create a logical device sync_sa0 with device file /dev/sync_sa0. Use this device file in future instances such as testing and configuring to address the tape library. The following message appears:

parent logical device name: <<scsi0>> ?
  1. Enter the logical device type. For example, type scsiN for a device attached to a standard SCSI I/O Controller adapter; type vscsiN for a device attached to the external bus of a Wide SCSI I/O Controller adapter; type fscsiN for a device attached via a SAN. See your hardware setup.

scsi-id <<0>> ?
  1. Enter the tape library device's SCSI ID. For example, type 2 for a media changer device with SCSI ID set to 2. Normally, you can obtain the SCSI ID from the control panel of the tape library. Be sure to use the SCSI ID for the media changer (media changer device), and not a tape drive. If the configuration finishes successfully, the following message appears:

Finish Configuration.
To unconfigure use: rmdev -l sync_sa<<?>>
To configure again: install2.ksh
or use: /usr/lib/methods/cfgsa -l sync_sa<<?>>
  1. After the configuration finishes, run detect -q to double check that the media changer has a device file assigned to it.

  2. Proceed to Chapter 36: Tape Library Verification to test the tape library installation. Use the media changer device file name (for example, /dev/sync_sa0) as the argument for the tape library interface test program (JItest).

  3. After successfully completing the testing phase, run install3.ksh to modify the inittab script for driver setup at boot time.

This concludes the installation of the tape library media changer device file under AIX.

Last updated