HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
If the VM Host administrator does not want to give access to the VM Host CD/DVD drive to the
guest administrator, you can set up a Virtual NullDVD to a file system directory containing the
ISO files that the guest administrator wants to access. This resource statement would take the
following form:
dvd:scsi::null:/pathname
where /pathname is the file system directory where the ISO files are located.
This is the same as setting up a Virtual FileDVD (see Section 6.2.2.3.5 (page 108)), except that the
file is not specified. By specifying a file directory, the guest administrator can choose which ISO
files to use from the virtual console. The file directory must be a locally mounted VxFS file system.
NFS file systems are not supported. If the ISO files are world writable, they are not available
from the virtual console. For the following ISO files:
# ls -l /var/opt/hpvm/ISO-images/hpux
total 26409104
-rw-r--r-- 1 root sys 3774611456 Jul 11 :59 0505-FOE.iso
-rw-r--r-- 1 root sys 4285267968 Jul 11 17:05 0512-FOE.iso
-rw-r--r-- 1 root sys 3149987840 Jul 11 18:42 0603-FOE-D1.iso
-rw-r--r-- 1 root sys 29978624 Jul 11 18:51 0603-FOE-D2.iso
The Virtual NullDVD resource statement is
dvd:scsi::file:/var/opt/hpvm/ISO-images/hpux/.
You can configure the Virtual NullDVD to be sharable or have multipath options. If the Virtual
NullDVD device is configured to use the VM Host CD/DVD device, it is not sharable and no
multipath options are available. If the Virtual NullDVD is configured to use a file system directory,
it is sharable and you can use multipath options (see Section 6.2.1.3 (page 98)). To mark the
directory sharable across virtual machines, use the hpvmdevmgmt command. For example:
# hpvmdevmgmt -m gdev:/var/opt/hpvm/ISO-images/hpux/:attr:SHARE=YES
For more information about using the hpvmdevmgmt command, see Section 8.12 (page 169).
Virtual NullDVDs require no additional management beyond that required for the Virtual DVD
(see Section 6.2.2.3.4 (page 107)) or Virtual FileDVD (see Section 6.2.2.3.5 (page 108)) types they
become.
6.2.2.3.7 Attachable Devices
Integrity VM allows you to attach physical VM Host backup device types to virtual machines.
The VM Host backup device types are tapes, media changers, and CD/DVD burners. These
devices are specified on the VM Host using HP-UX agile esctl or legacy sctl device files.
Use of the agile esctl device files are recommended, because they are per physical device not
per path, as legacy sctl device files are. When using legacy sctl device files, do not specify
a physical device more than once to a virtual machine through different hardware paths.
Information about the use of legacy sctl device files cane be found throughout this manual.
The guest OS running on the virtual machine has full control over an attached physical device.
Therefore, the guest OS must support the device being attached. For a list of supported guest
OS drivers, see the device's product documentation.
The resource statements for attached devices take the following forms depending upon device
type:
• For magnetic tape:
tape:scsi::attach:/dev/pt/pt_tape#
• For media changers:
changer:scsi::attach:/dev/pt/pt_autoch#
• For CD/DVD burners:
burner:scsi::attach:/dev/pt/pt_disk#
110 Creating Virtual Storage Devices