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

DIAGNOSTICS
hpvmmodify displays error messages on stderr for any of the following conditions:
An invalid option is specified.
An invalid value is specified for an option or a value is omitted.
vm_name or vm_number does not exist, cannot be accessed, is not a virtual machine, or is
corrupt.
The new_vm_name already exists.
One or more options other than -a, -m, -d, -g or -u have been specified more than once.
The same resource was allocated more than once.
A resource allocated to another virtual machine was specified, and the force flag (-F) was
not used.
A resource exceeded an available resource limit, and the force flag (-F) was not used.
A value was omitted for an argument that requires one, or a value was supplied for an
argument that does not take one.
For the modified (-m) or delete (-d) options, the specified resource is not presently assigned
to the vm_name.
The hpvmmodify command and Integrity Virtual Machines are at different revision levels.
Using colon (:), semicolon (;), or comma (,) when entering device names will cause the
machine-readable format of hpvmstatus to be misaligned.
EXAMPLES
Change the name of the virtual machine called myguest1 to myguest2:
# hpvmmodify -P myguest1 -N myguest2
Set the autoboot attribute for the virtual machine myguest1:
# hpvmmodify -P myguest1 -B auto
Add a new virtual DVD backed by a file to virtual machine myguest2:
# hpvmmodify -P myguest2 -a dvd:scsi::file:/var/opt/myguest.file
Change the virtual disk with hardware address 0,0,4 to a different physical device, /dev/rdsk/
c2t2d1:
# hpvmmodify -P myguest2x -m disk:scsi:0,0,4:disk:/dev/rdsk/c2t2d1
Change the network device at hardware address 0,2 to a different vswitch, myswitch, preserving
its original virtual MAC address
# hpvmmodify -P myguest2 -m network:avio_lan:0,2,1a-01-5a-8e-99-fa:vswitch:myswitch
Delete the virtual disk at hardware address 0,0,2 from the virtual machine myguest2:
# hpvmmodify -P myguest2 -d disk:scsi:0,0,2
Delete the network device at hardware address 0,1 from the virtual machine myguest2:
# hpvmmodify -P myguest2 -d network:avio_lan:0,1
Change the CPU entitlement to 50%:
# hpvmmodify -P myguest2 -e 50
Temporarily change the CPU entitlement to 50% until virtual machine myguest2 is rebooted:
# hpvmmodify -A -P myguest2 -e 50
Following are sample warning messages returned when hpvmmodify is executed with various
configuration problems on the guest myguest1:
HPVM guest myguest1 configuration problems:
Warning 1: Guest needs more vcpus than server supports.
Warning 2: Insufficient free memory for guest.
Warning 3: Insufficient swap resource for guest.
Warning 4: Insufficient cpu resource for guest.
Warning 5 on item /dev/rdsk/c2t1d0: Device file '/dev/rdsk/c2t1d0' in use by another guest.
Warning 6 on item /dev/vg00/rswap: Device file '/dev/vg00/rswap' in use by server.
222