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

The choice of how to configure a Virtual NullDVD depends on the access that the VM Host
administrator gives to the guest administrator. Virtual DVD changes can be initiated from the
virtual console (see Section 7.3.1.2 (page 103)). All virtual DVD changes by the guest administrator
are constrainted by the actions of the VM Host administrator.
If the VM Host administrator gives access to the guest administrator to load and unload physical
media on the VM Host CD/DVD drive, the Virtual NullDVD is set up with the following form
of the resource specification:
dvd:scsi::null:/dev/rdsk/cXtYdZ
Where /dev/rdsk/cXtYdZ is an HP-UX character sdisk file that points to the VM Host
CD/DVD drive.
This is the same as setting up a Virtual DVD (see Section 7.2.2.3.4 (page 97)), except that the VM
Host CD/DVD might not contain media. The media is expected to come from the guest
administrator, who should have access to the VM Host to make such physical media changes.
For example:
# ioscan -funC disk
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE HL-DT-STDVD+RW GCA-4040N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
# diskinfo /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0:
vendor: HL-DT-ST
product id: DVD+RW GCA-4040N
type: CD-ROM
size: 0 Kbytes
bytes per sector: 0
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 (page 98)), 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 (page 88)). To mark the
directory sharable across virtual machines, use the hpvmdevmgmt command. For example:
7.2 Configuring Integrity VM Storage 99