HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
number of seconds the migration spends during the
quiesce stage. The default is 15 seconds.
• -x online_migration= {enabled | disabled}
RETURN VALUES
The hpvmmodify command exits with one of the following values:
0: Successful completion.
1: One or more error conditions
occurred.
DIAGNOSTICS
The hpvmmodify command 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.
• The 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 VM are at different revision levels.
Using a colon (:), semicolon (;), or comma (,) when entering device names causes 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/rdisk/
disk1:
# hpvmmodify -P myguest2x -m disk:scsi:0,0,4:disk:/dev/rdisk/disk1
Change the network device at hardware address 0,2 to a different vswitch, (called myswitch),
thereby 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
Cap myguest2 with a the CPU entitlement of 20% with a minimum of 10%:
303