HP Integrity Virtual Machines Installation, Configuration, and Administration
The Virtual DVD resource statement takes the form of:
dvd:scsi::disk:/dev/rdsk/cXtYdZ
Where /dev/rdsk/cXtYdZ is an HP-UX character device file representing a VM Host CD/DVD
drive.
Typically, the HP-UX sdisk character file will already be created before booting the VM Host.
If it is not, it can be created and managed using the ioscan, insf, and rmsf utilities. 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: 4300800 Kbytes
bytes per sector: 2048
In this example, the Virtual DVD resource statement is dvd:scsi::disk:/dev/rdsk/c0t0d0.
For a Virtual DVD to be recognized by a virtual machine, physical media must be present inside
the VM Host CD/DVD drive. If media is not added at virtual machine start time, it may be inserted
into the VM Host CD/DVD drive after the virtual machine is already up. A rescan by the guest
OS picks up the new media and adds the Virtual DVD to the virtual machine.
If for some reason the VM Host Administrator requires control of the VM Host CD/DVD drive
claimed by a virtual machine but has no media for the VM Host CD/DVD drive, then a Virtual
NullDVD should be specified (see Section 7.2.2.3.6: “Virtual NullDVDs” (page 88)). Physical
media can then be inserted into the VM Host CD/DVD drive and become virtual media for a
Virtual DVD using the hpvmmodify or the virtual console's insert command (see Section 7.3.1.2:
“Guest Administrator” (page 93)).
After the Virtual DVD is in the virtual machine, the VM Host CD/DVD drive is locked. The VM
Host CD/DVD drive is automatically unlocked when the virtual machine is shut down. The VM
Host CD/DVD can also be changed while the virtual machine is up using the virtual console's
eject command. Once ejected, the Virtual DVD will turn into a Virtual NullDVD and the VM
Host CD/DVD drive will unlock. After you place physical media in the VM Host's CD/DVD
drive, use the virtual console's insert command to turn a Virtual NullDVD back to a Virtual
DVD, relocking the VM Host CD/DVD drive.
Most physical VM Host CD/DVD devices on HP Integrity servers have only one path to them.
As such, no multipath software is available on the VM Host for them.
7.2.2.3.5 Virtual FileDVDs
A Virtual FileDVD is an emulated SCSI DVD-ROM with virtual media that comes from a VM
Host ISO file. The VM Host ISO file is specified using the absolute pathname to the ISO file. The
file can be on a VxFS file systems locally mounted on the VM Host. NFS file systems are not
supported for Virtual FileDVDs.
The Virtual FileDVD resource statement takes the following form:
dvd:scsi::file:/pathname/file.ISO
Where the /pathname/file.ISO specifies the VM Host ISO file to use as virtual media.
A VM Host ISO file can be created using the mkisofs utility or by using the dd command to
copy CD/DVD media to a file. The VxFS file system should be enabled to support largefiles,
because ISO files tend to be over 2 GB in size. All the ISO files that are useful to a guest OS should
be placed in the same directory to take advantage of dynamic changes using the virtual console
7.2 Configuring Integrity VM Storage 87