HP vPars and Integrity Virtual Machines V6.1 Administrator Guide

is called host2, and the target VSP's private network is called host2hpvm-migr (that is,
host2hpvm-migr is an alias for the private network defined in /etc/hosts).
NOTE: The hpvmmigrate command does not check that you are using a private network to
migrate your guest. Using a private network is important for security and to maintain the performance
of your site's public network.
To migrate guest vm3 to VSP host2, issue the following command:
# hpvmmigrate -o -P vm3 -h host2-hpvm-migr
The hpvmmigrate command displays status as various phases of migration completion. Output
messages that are indented from the left margin are from the remote, target VSP.
To prevent data corruption on your guest's SAN storage, the Integrity VM software helps to prevent
you from accidentally running the same guest on more than one VSP simultaneously. If the
hpvmmigrate -D option is not specified, the guest is marked Not Runnable (NR) on the
source VSP after online migration has finished. This prevents the virtual machine from booting on
the original source VSP while it is running on the target VSP. If the hpvmmigrate -D option is
used, unpresent the guest's SAN storage from the source VSP as soon as migration completes, thus
avoiding accidental usage of the storage on that VSP.
12.2.3 Using the hpvmstatus command to see migration details
Use the hpvmstatus command to see the current state of all virtual machines on this VSP. Several
states are related to Online VM Migration:
On (OS) — The guest is on and running the guest operating system. It is considered
Runnable.
Off (NR) — The virtual machine is not booted and is Not Runnable.
On (MGS) — The guest is on and running a guest operating system. It is the source of an
online migration to another VSP.
On (MGT) — The virtual machine is on, but not yet running a guest operating system. It is
the target of an online migration from another VSP.
Use the hpvmstatus -P and -V options to get more detailed migration status about a particular
virtual machine. If the guest is actively migrating, the hpvmstatus command shows the phase
information about Online VM Migration phases.
12.2.4 Options to hpvmmodify command for online migration
Use the hpvmmodify -x option to change the online migration phase timeout values. See
Section 12.2.4 (page 204) for a list of time-out phases.
Use the hpvmmodify -x online_migration=disabled option to prevent a particular virtual
machine from migrating online. This is especially important if the guest is running software that is
sensitive to external network monitoring with short timing intervals, such as Serviceguard.
204 Migrating virtual machines and vPars