Installing a Tape Library on an HP S800 Running HP-UX 10.x
Use ioscan -f to probe your system for attached peripherals. Sample output follows:
You can also use the command $ /usr/sbin/lsdev -d spt to check whether the SCSI pass-through driver is installed.
If the driver is installed, output similar to the following appears:
In this sample the major number of the spt driver is 136. If the driver is installed, proceed directly to step 16.
If the driver is not installed, the second line of the output will be blank. If the driver is not installed, proceed to the next step.
Issue the command uname –a to check the revision of 10.x installed on your server:
If the operating system is revision 10.00, install patch PHKL_5406 or its succeeding patch. The following files are included in the patch PHKL_5406.
If revision 10.01 is installed, the patch is unnecessary.
If it was necessary to patch the kernel, you must configure the NIO SCSI pass-through driver. This driver does not auto-configure.
Go to the build area and create a system file from your existing kernel:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
Note. See the man page for “scsi_pt” for the most recent and accurate information on this procedure.
Use grep spt system to check if the SCSI pass-through driver is configured into the current kernel. If no spt line is printed, add a line beginning with spt to the SCSI drivers area of the system file; e.g
/stand/build/system
.A driver statement is needed to override the standard driver that is automatically configured for any device. One statement is required for each desired NIO SCSI pass-through device (be it a SCSI target, or a SCSI LUN). Append the driver line(s) to the system file as follows:
cat >> system driver path spt
.......... # add more drivers if you want
^D # control “D” to exit the cat command
where:
path | The complete hardware path of the media changer from the ioscan command. In the example in step 1, the path is 8.3.0 for HP C1718T and 8.4.0 for HP C1716T. This means that the device connected to HP C1718T has a SCSI ID of 3 and LUN of 0. The device connected to HP C1716T has a SCSI ID of 4 and LUN of 0. |
Create the conf.c and config.mk files by issuing
/usr/sbin/config -s system.
Use make -f config.mk to build a new kernel.
Use what ./vmunix_test |grep scsi_pt to verify that the pass-through driver has been built into the new kernel.
An entry showing the revision information appears.
Save the old system file by using
mv /stand/system /stand/system.prev
Move the new system file to be the current one by using
mv ./system /stand/system.
Save the old kernel by using
mv /stand/vmunix /stand/vmunix.prev
Move the new kernel to be the current one by using
mv ./vmunix_test /stand/vmunix
Reboot the system from the new kernel by using exec reboot.
On your controller node, run detect -i at the command prompt. detect -i generates the device file for the media changer and places it in the dev directory.
Example:
/dev/c0t5d0_sa
.It also creates all necessary mappings for the media changer device.
The installation of the tape library media changer device file is complete. To test the installation, proceed to Chapter 36: Tape Library Verification. Use the media changer device file name (for example, /dev/c0t5d0_sa
) as the argument for the tape library interface test program (JItest).
Last updated