HP Integrity Virtual Machines Installation, Configuration, and Administration
Where /dev/rscsi/cXtYdZ is an HP-UX sctl device file to the device type specified.
To create an HP-UX sctl device file, follow these steps:
1. Run ioscan to pick up any new devices that may have just been connected:
# ioscan
2. Locate the device designated for attachment.
2a. Install any device special files for these new devices:
# insf -e
2b. Check to see if the new devices were claimed by VM Host:
# ioscan -fun
The following is an example of a claimed tape device:
tape 1 0/2/1/0.5.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/1m /dev/rmt/c6t5d0BESTn
/dev/rmt/1mb /dev/rmt/c6t5d0BESTnb
/dev/rmt/1mn /dev/rmt/c6t5d0DDS
/dev/rmt/1mnb /dev/rmt/c6t5d0DDSb
/dev/rmt/c6t5d0BEST /dev/rmt/c6t5d0DDSn
/dev/rmt/c6t5d0BESTb /dev/rmt/c6t5d0DDSnb
If the device is not seen in ioscan -fun, proceed to step 2c. Otherwise, go to step 3.
2c. If the device is not claimed, make sure the device is at least seen:
# ioscan -fk
The following is an example of an unclaimed media changer device:
Class I H/W Path Driver S/W State H/W Type Description
==============================================================================
ext_bus 6 0/2/1/0 c8xx CLAIMED INTERFACE SCSI C1010
Ultra160 Wide LVD A6828-60101
target 35 0/2/1/0.0 tgt CLAIMED DEVICE
unknown -1 0/2/1/0.0.0 UNCLAIMED UNKNOWN HP ThinStor
AutoLdr
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:
90 Creating Virtual Storage Devices