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

There are no Integrity VM storage commands for application users in the guest OS. The guest
users use Integrity VM storage on the guest OS the same way as they normally use storage on
an HP Integrity server. Any required Integrity VM storage changes must be directed to the guest
administrator or VM Host administrator.
7.3.2 Integrity VM Storage Use Cases
This subsection describes ways to use the Integrity VM storage commands.
7.3.2.1 Adding Virtual Storage Devices
A VM Host administrator adds or attaches Integrity VM storage using the hpvmstatus and
hpvmmodify commands. Virtual storage devices can be added or attached while the virtual
machine is powered on or off. A new virtual storage adapter can be added only when the virtual
machine is off. The virtual storage adapter can hold up to 15 storage devices and a virtual machine
can use up to 30 storage devices.
The process to add or attach a virtual storage device to a guest is as follows:
1. Based on the all Integrity VM storage considerations, choose a storage device to add.
2. Based on the device type, set up and configure the VM Host to form a valid resource
statement. This includes accounting VM Host resources to avoid future storage conflicts.
3. Use the valid resource statement with the hpvmmodify command to add or attach the
Integrity VM storage device.
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
To add an AVIO storage device with whole disk as the backing store, specify the following:
host# hpvmmodify -P guest1 -a disk:avio_stor:0,5,0:disk:/dev/rdsk/c3t0d0
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
104 Creating Virtual Storage Devices