HP (Hewlett-Packard) VM00540000 Personal Computer User Manual


 
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
6.3.2.2 Deleting VM Storage Devices
A VMHost administratordeletes ordetaches Integrity VMstorage usingthe hpvmstatus andhpvmmodify
commands. Integrity VM storagedevices can be deleted or detachedwhile 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 VMstorage adapter is automaticallyremoved whenthe last IntegrityVM storage deviceconnected
to the adapter is removed.
The process to delete or detach a virtual storage device from a virtual machine is as follows:
1. Usethe hpvmstatuscommand tolocate the resourceto verifywhether the virtualmachine 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
6.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
84 Creating Virtual Storage Devices