Tape Library Installation on Solaris
This procedure explains how to install a tape library for a Solaris controller node. DPX supports 64-bit versions of Solaris. The following is the procedure for tape library installation using the SGEN driver on Solaris:
On your controller node, login as root at the command prompt.
Enter vi /kernel/drv/sgen.conf.
Uncomment the command #device-type-config-list=. Add the text "changer" to the end of the command.
Uncomment all 15 target/lun pairs at the end of the file by removing the # sign. They follow the following format: #name="sgen" class="scsi" target=0 lun=0.
Save the file and return to the command prompt.
Enter add_drv sgen to load the SGEN driver.
Verify your configuration by running cfgadm -al. Then verify that the tape drive is detected by running detect -q.
Note. If your media device is not present on the list, consult your Oracle documentation or your hardware vendor’s documentation for more information.
The following is sample output from detect -q:
If your tape library is connected via a SAN, the LUN for the tape library media changers may be a non-zero integer. If so, detect -i does not detect this tape library. Perform the following:
Make a note of the LUN and Target ID of each media changer by examining the tape library or other source.
If the LUN is not zero, view the configuration file <filename>_sa.conf in user/kernel/drv and ensure there is a line representing this pair of Target ID (SCSI Target) and LUN. If not, manually create one by editing <filename>_sa.conf. The driver attempts to attach only the SCSI Targets and LUNs enumerated in this configuration file.
Rerun detect -i from the
bin/JB
subdirectory to create any additional device mappings.
This concludes the installation of the tape library media changer device file under Solaris. To test the installation, proceed to Chapter 36: Tape Library Verification. Use the media changer device file name (for example, /dev/sync_sa/t1d0
) as the argument for the tape library interface test program (JItest).
Last updated