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

the allocated resources to the guest. If the guest uses 2 GB of memory on one machine, it must
be able to use that amount on the other machine. Similary, if the source machine can provide a
guest with four vCPUS, the target machine must also be able to provide them. To modify the
virtual devices or network on the target host, use the hpvmmodify command.
To enable migration the source and destination hosts must be configured symmetrically. That
is, all the network and storage resources must be configured the same on both hosts. A symmetric
configuration includes:
A common local area network (LAN)
Identical network interfaces configurations
Storage Area Network (SAN) based boot disks
Identical Fibre Channel port configurations
For guidelines about setting up storage for migrating virtual machines, see Section 10.3 (page 146).
If the HP Capacity Advisor is used on the virtual machine, collect utilization information before
you migrate the virtual machine. The Capacity Advisor cannot continue to collect the utilization
information for the virtual machine during the migration operation.
10.2 Migration Guests from VM Host to VM Host
To perform a guest migration:
1. Set up SSH keys on both the source and destination hosts, as described in “Security
Considerations” (page 146).
2. Stop the guest on the source host, using the hpvmstop or hpvmconsole command.
3. On the source host, enter the hpvmmigrate command, as described in “Using the
hpvmmigrate Command” (page 144).
4. Start the guest on the destination host using the hpvmstart or hpvmconsole command.
For information about starting and stopping guests, see Chapter 9 (page 123).
The hpvmmigrate command verifies 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 if other errors occur, the guest is not migrated to the destination
host.
After successfully migrating the guest, the hpvmmigrate command automatically deletes the
guest on the source host.
10.2.1 Using the hpvmmigrate Command
When you enter the hpvmmigrate command, you must specify the name of the guest to be
migrated and the destination VM Host system.
Specify the guest using one of the following options:
-P vm-name to specify the guest name
-p vm_number to specify the virtual machine number
Specify the destination host by including the h option and specifying one of the following:
The destination host name
The destination host IP address
Table 10-1 lists the options to the hpvmmigrate command.
144 Migrating Virtual Machines