HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

If the device is not seen, there is a hardware problem or SCSI ID conflict. Consult the
documentation for the particular device to resolve this issue before proceeding.
If the device is seen but not claimed, this is a result of missing drivers in the VM Host.
Integrity VM does not require the drivers to be loaded on the VM Host for the devices to be
attached. The HP-UX tape (stape) and changer (schgr) drivers are not loaded by default
unless those devices are connected at install time. To load the drivers, use the kcmodule
command to statically load the drivers. To complete the installation, the VM Host must be
rebooted. Any guests that are running must be shut down before loading these drivers.
The following is an example of installing the tape driver:
# kcmodule stape=static
The following is an example of installing the media changer driver:
# kcmodule schgr=static
If you are not loading the VM Host drivers, proceed to step 4.
If you are loading the VM Host drivers, the devices should show up in ioscan with device
files after the VM Host reboot. In which case, proceed to step 3.
3. Install sctl device files under the /dev/rscsi/ directory using the hpvmdevmgmt
command. For example:
# hpvmdevmgmt -I
4. Locate a /dev/rscsi sctl device file that corresponds to the device slated for attachment.
4a. If the device was claimed, the /dev/rscsi file ends with the same cXtYdZ numbers.
The following is an example of a tape device:
Claimed = /dev/rmt/c6t5d0BEST
SCTL = /dev/rscsi/c6t5d0
The following is an example of media changer device:
Claimed = /dev/rac/c6t0d0
SCTL = /dev/rscsi/c6t0d0
The following is an example of CD/DVD burner device:
Claimed = /dev/rdsk/c4t3d2
SCTL = /dev/rscsi/c4t3d2
Once the /dev/rscsi file has been located, proceed to step 5.
4b. If the device is unclaimed, a /dev/rscsi file must be created containing numbers
corresponding to the hardware address.
The following is an example of locating the hardware address for a tape device:
ext_bus 6 0/2/1/0 c8xx CLAIMED
INTERFACE SCSI C1010 Ultra160 Wide LVD A6828-60101
unknown -1 0/2/1/0.5.0 UNCLAIMED
UNKNOWN HP Ultrium Device Hardware Address = 0/2/1/0.5.0
The following shows how the hardware address is broken down into controller, target and
device numbers:
c is the instance of 0/2/1/0
ext_bus is 6
t is 5
d is 0
The sctl file to create is /dev/rscsi/c6t5d0
To create the sctl device file, see scsi_ctl(1M).
Use the mknod command, substituting the values in the minor number as noted:
# /usr/sbin/mknod /dev/rscsi/devname c 203 0xCCTL02
7.2 Configuring Integrity VM Storage 101