HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

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 esctl device files using the hpvmdevmgmt command. For example:
# hpvmdevmgmt -I
4. Locate the passthrough device file that corresponds to the device slated for attachment.
The following are examples of a tape device:
Agile = /dev/rtape/tape1_BEST
ESCTL = /dev/pt/pt_tape1
The following are examples of media changer device:
Agile = /dev/rchgr/autoch1
ESCTL = /dev/pt/pt_autoch1
The following are examples of CD/DVD burner device:
Agile = /dev/rdisk/disk7
ESCTL = /dev/pt/pt_disk7
Attached devices cannot be shared simultaneously across active virtual machines. Only one
active virtual machine can be given a particular attached device at a time. However, like virtual
devices, attached devices can be attached and detached dynamically across active virtual machines
(see Section 7.3 (page 118)). Also, as the device is being attached to a virtual machine, it cannot
be opened by the VM Host at the time of or during attachment.
Because tapes, media changers, and CD/DVD burners are not virtualized, media changes with
them must be done physically. Therefore, all media changes with attached devices must be done
by individuals with access to that physical storage. Changes to attached devices might require
the device to be unlocked from an active guest OS. Attached devices remain in the last lock state
the guest OS put it in when the device is detached or the virtual machine is shut down. Empty
devices are attached and are not locked.
No multipath solutions are available for attached devices on the VM Host. No multipath products
are supported in the virtual machine.
Manage attached devices to prevent the wrong virtual machines from viewing sensitive
information. You can display which virtual machines are currently using attached devices using
the hpvmstatus command.
7.3 Using Integrity VM Storage
The following sections describe the roles of individuals accessing virtual storage, the commands
they use, and some examples of using Integrity VM storage.
118 Creating Virtual Storage Devices