HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

disk avio_stor 0 5 0 0 0 disk /dev/rdisk/disk11
# hpvmmodify -P myvmm -d disk:scsi::disk:/dev/rdisk/disk7
# hpvmstatus -P myvmm
...
[Storage Interface Details]
disk scsi 0 1 0 0 0 disk /dev/rdisk/disk5
disk scsi 0 1 0 2 0 disk /dev/rdsk/disk9
To delete an AVIO storage device, specify the following:
host# hpvmmodify -P guest1 -d disk:avio_stor:0,5,0:disk:/dev/rdisk/disk11
7.3.2.3 Modifying VM Storage Devices
The VM Host administrator or the guest administrator can modify an Integrity VM storage
device. The VM Host administrator can use the hpvmstatus and hpvmmodify commands to
change the virtual media of virtual devices. The guest administrator uses the virtual console to
change the virtual media of virtual DVDs. All attached devices are modified using physical VM
Host access.
When the VM Host administrator uses the hpvmstatus and hpvmmodify commands to modify
the virtual media of a virtual device, the operation is seen by the guest OS as a whole-disk
replacement or a DVD removable media event, depending on the device type.
The process for modifying the virtual media of a virtual device is as follows:
1. Use the hpvmstatus command to locate the virtual device resource to modify and to see
if the virtual machine is powered on. If the virtual machine is on, consult with the guest
administrator to before proceeding to replace the virtual media.
2. Based on the Integrity VM storage considerations, choose a new virtual media type to add.
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.
6. When run on an active virtual machine and with a storage device managed by avio_stor
HBA, the VM guest needs to run the gvsdmgr command prior to using the modified backing
store. For information about the gvsdmgr utility, see the HP-UX gvsdmgr(1M) manpage.
The resource statement for modifying a virtual device requires virtual hardware addressing (see
Section 7.2.2.1 (page 108)). For example:
# hpvmstatus -P myvmm
...
[Storage Interface Details]
...
disk scsi 0 1 0 0 0 disk /dev/rdisk/disk5
disk scsi 0 1 0 1 0 disk /dev/rdisk/disk7
disk scsi 0 1 0 2 0 disk /dev/rdisk/disk9
# hpvmmodify -P myvmm -m disk:scsi::0,1,1:lv:/dev/rdisk/disk2
# hpvmstatus -P myvmm
...
[Storage Interface Details]
...
disk scsi 0 1 0 0 0 disk /dev/rdisk/disk7
disk scsi 0 1 0 1 0 lv /dev/rdisk/disk2
disk scsi 0 1 0 2 0 disk /dev/rdisk/disk9
To complete a DVD ejection and insertion, follow the virtual console menus. However, new
media selections might require the help of the VM Host administrator. Changes through the
virtual console are not saved across guest OS reboots
122 Creating Virtual Storage Devices