HP Integrity Virtual Machines Installation, Configuration, and Administration

In this example, the Virtual NullDVD resource statement is
dvd:scsi::null:/dev/rdsk/c0t0d0.
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 7.2.2.3.5: “Virtual FileDVDs”
(page 87)), 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 16: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 1629978624 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 7.2.1.3: “VM Storage Multipath
Solutions” (page 77)). 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 9.8: “Managing the
Device Database” (page 128).
Virtual NullDVDs require no additional management beyond that required for the Virtual DVD
(see “Virtual DVDs” (page 86)) or Virtual FileDVD (see Section 7.2.2.3.5: “Virtual FileDVDs”
(page 87)) types they become.
7.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 sctl device files.
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. See the device's product
documentation for a list of supported guest OS drivers.
The resource statements for attached devices take the following forms depending upon device
type:
For magnetic tape, use:
tape:scsi::attach:/dev/rscsi/cXtYdZ
For media changers, use:
changer:scsi::attach:/dev/rscsi/cXtYdZ
For CD/DVD burners, use:
burner:scsi::attach:/dev/rscsi/cXtYdZ
7.2 Configuring Integrity VM Storage 89