HP-UX vPars and Integrity VM V6.3 Administrator Guide

guest at a time must be given a particular Virtual DVD resource. Virtual DVD resources can be
changed dynamically between active vPars and VM guests (see Section 6.5 (page 92)).
Because the Virtual DVDs are read only, they do not require management to prevent conflicts
writing to the device. However, to prevent sensitive information from being accessed by the wrong
vPar or VM guest, ensure you know which vPar or VM guest currently owns the device before you
load a CD or DVD. You can find this information on the VSP using the hpvmstatus command.
Following is the agile Virtual DVD resource statement form:
dvd:avio_stor::disk:/dev/rdisk/disk#
where /dev/rdisk/disk# is an HP-UX esdisk character device file for a VSP CD or DVD
drive.
Typically, the HP-UX esdisk character files is already created before booting the VSP. If they are
not, they can be created and managed using the ioscan, insf, and rmsf utilities. For example,
# ioscan -NfunC disk
disk 7 64000/0xfa00/0x6 esdisk CLAIMED DEVICE
TEAC DW-224E
/dev/disk/disk7 /dev/rdisk/disk7
# diskinfo /dev/rdisk/disk7
SCSI describe of /dev/rdisk/disk7:
vendor: TEAC
product id: DW-224E
type: CD-ROM
size: 4300800 Kbytes
bytes per sector: 2048
In this example, the Virtual DVD resource statement form is
dvd:avio_stor::disk:/dev/rdisk/disk7.
For a vPar and VM guest to recognize a Virtual DVD, physical media must be present inside the
VSP CD or DVD drive. If media is not added at vPar and VM guest start time, it can be inserted
into the VSP CD or DVD drive after the vPar and VM guest is already up. A rescan by the guest
OS picks up the new media and adds the Virtual DVD to the vPar and VM guest.
If the VSP Administrator requires control of the VSP CD or DVD drive claimed by a vPar or VM
guest but has no media for the VSP CD or DVD drive, then a Virtual NullDVD must be specified
(see Section 6.4.2.3.6 (page 84)). Physical media can then be inserted into the VSP CD or DVD
drive and become virtual media for a Virtual DVD using the hpvmmodify command or the virtual
console's insert command (see Section 6.5.1.2 (page 92)).
After the Virtual DVD is in the vPar or VM guest, the VSP CD or DVD drive is locked. The VSP CD
or DVD drive is automatically unlocked when the vPar or VM guest is shut down. The VSP CD or
DVD can also be changed while the vPar or VM guest is up using the eject command of the
virtual console. After ejected, the Virtual DVD turns into a Virtual NullDVD and the VSP CD or DVD
drive unlocks. After you place physical media in the VSP's CD or DVD drive, use the virtual console's
insert command to turn a Virtual NullDVD back to a Virtual DVD, relocking the VSP CD or DVD
drive.
82 Storage devices