HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

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 -d disk:scsi::disk:/dev/rdsk/c3t2d0
# hpvmstatus -P myvmm
...
[Storage Interface Details]
disk scsi 0 1 0 0 0 disk /dev/rdsk/c7t0d0
disk scsi 0 1 0 2 0 disk /dev/rdsk/c9t0d0
To delete an AVIO storage device, specify the following:
host# hpvmmodify -P guest1 -d disk:avio_stor:0,5,0
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 with the replace_dsk option
prior to using the modified backing store. For information about the gvsdmgr utility, see
the HP-UX gvsdmgr manpage.
The resource statement for modifying a virtual device requires virtual hardware addressing (see
Section 7.2.2.1 (page 91)). 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
7.3 Using Integrity VM Storage 105