HP Integrity Virtual Machines Installation, Configuration, and Administration

(see Section 7.3.2.3: “Modifying VM Storage Devices” (page 94)). The ISO files should be marked
with proper permissions; they must not be world writable. For example:
# 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
In this example, the Virtual FileDVD Resource Statement is:
dvd:scsi::file:/var/opt/hpvm/ISOimages/hpux/0603-FOE-D1.iso.
Virtual FileDVDs, like all files, can take advantage of the multipath options with which the file
system is created. See Section 7.2.1.3: “VM Storage Multipath Solutions” (page 77) for details.
Virtual FileDVDs are read-only and are sharable across active virtual machines. Use the
hpvmdevmgmt command to mark them sharable.
To prevent media conflicts, you must manage Virtual FileDVDs carefully (see Section 7.2.1.4:
“VM Storage Management” (page 78)). You can see where the file system directory where the
ISO file resides using the guest's virtual console. To simplify accounting, allocate file directories
from complete logical volumes or whole disks.
7.2.2.3.6 Virtual NullDVDs
A Virtual NullDVD is an emulated SCSI DVD-ROM with no virtual media currently present.
The next media selection may come from a VM Host CD/DVD drive or VM Host ISO file,
depending on how the Virtual NullDVD is configured. Once the next media is selected, the
Virtual NullDVD turns into either a Virtual DVD (see Section 7.2.2.3.4: “Virtual DVDs” (page 86))
or a Virtual FileDVD (see Section 7.2.2.3.5: “Virtual FileDVDs” (page 87)) device. As such, a
Virtual NullDVD is a transitory state of an empty virtual DVD type.
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: “Guest Administrator” (page 93)). 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: “Virtual DVDs” (page 86)),
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
88 Creating Virtual Storage Devices