HP Integrity Virtual Machines Installation, Configuration, and Administration

The resource statement for adding an Integrity VM storage device does not require virtual
hardware addressing. If the PCI bus, slot and SCSI target numbers are not specified, Integrity
VM automatically chooses the first position available for the device. For example:
# hpvmmodify -P myvmm -a 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 1 0 disk /dev/rdsk/c3t2d0
7.3.2.2 Deleting VM Storage Devices
A VM Host administrator deletes or detaches Integrity VM storage using the hpvmstatus and
hpvmmodify commands. Integrity VM storage devices can be deleted or detached while the
virtual machine is powered on or off. An Integrity VM storage adapter can only be removed
when the virtual machine is off. The Integrity VM storage adapter is automatically removed
when the last Integrity VM storage device connected to the adapter is removed.
The process to delete or detach a virtual storage device from a virtual machine is as follows:
1. Use the hpvmstatus command to locate the resource to verify whether the virtual machine
is powered on. If the virtual machine is on, consult with the guest administrator to obtain
permission to remove the resource before proceeding.
2. Use the hpvmmodify command to delete or detach the resource.
3. Verify that the VM Host resource is no longer being used by the virtual machine.
The resource statement for deleting an Integrity VM storage device does not require virtual
hardware addressing. 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 -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
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.
94 Creating Virtual Storage Devices