HP Integrity Virtual Machines Installation, Configuration, and Administration

3. Based on the virtual media type, set up and configure the VM Host to form a valid VM Host
storage specification. Take into account the other demands on VM Host resources to avoid
virtual machine storage conflicts.
4. Use the VM Host storage specification with the hpvmmodify command to modify the virtual
device resource.
5. Verify that the old VM Host resource is no longer in use by a virtual machine.
The resource statement for modifying a virtual device requires virtual hardware addressing (see
Section 7.2.2.1: “VM Guest Storage Specification” (page 81)). For example:
# hpvmstatus -P myvmm
...
[Storage Interface Details]
...
disk scsi 0 1 0 0 0 disk /dev/rdsk/c7t0d0
disk scsi 0 1 0 1 0 disk /dev/rdsk/c3t2d0
disk scsi 0 1 0 2 0 disk /dev/rdsk/c9t0d0
# hpvmmodify -P myvmm -m disk:scsi:0,1,1:lv:/dev/lvrackA/rdisk2
# hpvmstatus -P myvmm
...
[Storage Interface Details]
...
disk scsi 0 1 0 0 0 disk /dev/rdsk/c7t0d0
disk scsi 0 1 0 1 0 lv /dev/lvrackA/rdisk2
disk scsi 0 1 0 2 0 disk /dev/rdsk/c9t0d0
To complete a DVD ejection and insertion, follow the virtual console menus. However, new
media selections may require the help of the VM Host administrator. Changes through the virtual
console are not saved across guest OS reboots
If the VM Host administrator sets up a Virtual DVD for the virtual machine, the virtual console
eject and insert command unlock and lock the physical VM Host CD/DVD drive. The eject
command changes the Virtual DVD into a Virtual NullDVD in the VM, unlocking the VM Host
CD/DVD drive in the process. The physical media in the VM Host CD/DVD drive can then be
changed by the VM Host administrator or the guest administrator if access is permitted. Once
the media has been changed, the insert command can be used to change the Virtual NullDVD
back into a Virtual DVD, locking the VM Host CD/DVD drive and making the newly loaded
media now accessible by the virtual machine. For example:
# diskinfo /dev/rdsk/c1t7d0
SCSI describe of /dev/rdsk/c1t7d0:
vendor: HP
product id: Virtual DVD
type: CD-ROM
size: 665600 Kbytes
bytes per sector: 2048
vMP> ej
Ejectable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev Pstore Path
-------------------------------------------------------------------------
[1] 0/0/1/0.7.0 (0,1,7) dvd disk /dev/rdsk/c0t0d0
Enter menu item number or [Q] to Quit: 1
Confirm eject action
G - Go
F - Force
Enter menu item or [Q] to Quit: G
vMP> co
# diskinfo /dev/rdsk/c1t7d0
SCSI describe of /dev/rdsk/c1t7d0:
vendor: HP
product id: Virtual NullDVD
7.3 Using Integrity VM Storage 95