HP-UX HB v13.00 Ch-18 - HPVM
HP-UX Handbook – Rev 13.00 Page 37 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
the actual data and software associated with the guest.
The new virtual machine’s configuration information can be modified from the original
configuration file by using command options. If no options are specified, all original parameters
are retained. Note that this will cause resource conflicts if both the original and clone virtual
machines are booted together.
Command syntax is like in hpvmmodify command but –N option is required in this case to
indicate new virtual machine name.
Example:
-Clone virtual machine vmguest2 to a new virtual machine call vmguest3
vmhost:/>hpvmclone -P vmguest2 -N vmguest3
HPVM guest vmguest3 configuration problems:
Warning 1 on item /dev/vgguestimages/rvmguest2: Device file
'/dev/vgguestimages/rvmguest2' in use by another guest.
These problems may prevent HPVM guest vmguest3 from booting.
hpvmclone: The cloning process is continuing.
hpvmmigrate
The hpvmmigrate command takes an existing virtual machine and moves its configuration
information to a different host.
Note: The hpvmcreate command is included in the HP Integrity Virtual Machines product and is
packaged in the separate VMMigrate bundle.
The hpvmmigrate command checks to make sure that the destination host has sufficient
resources (such as memory, network switches and storage devices) for the guest to boot. If the
resources are insufficient or do not exist, or other error occur, the guest is not migrate to the
destination host.
After successfully migrating the guest, the hpvmmigrate command automatically deletes the
guest on the source host. In HPVM 2.0 hpvmmigrate command does not delete guest if this is a
distributed guest (service guard package).
Command Characteristic
Syntax
Guest to migrate
-P source_vm_name
-p source_vm_number
Destination VM Host system
-h dest_hostname or dest_IP_address
New name (If needed)
-N new_vm_name
(See “Migrating Virtual Machines” for more information)
Example: