HP-UX vPars and Integrity VM V6.3 Administrator Guide

called host2, and the private network of the target VSP 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 whether you are using a private network
to migrate your guest. Using a private network is important for security, and to maintain the
performance of public network of your site.
To migrate guest vm3 to VSP host2:
# hpvmmigrate -o -P vm3 -h host2
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 getting over written on the SAN storage of the guest, 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 is finished. This prevents the VM from booting on the original
source VSP while it is running on the target VSP. If the hpvmmigrate -D option is used, unpresent
the SAN storage of the guest 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 view migration details
To view the current state of all VMs on the VSP, use the hpvmstatus command. Many states are
related to OVMM:
On (OS) — The guest is On and running the guest operating system. It is considered
Runnable.
Off (NR) — The VM 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 VM is On, but not yet running a guest operating system. It is the target of
an online migration from another VSP.
You can use the hpvmstatus -P and -V options to get detailed migration status about a particular
VM. If the guest is actively migrating, the hpvmstatus command shows the phase information
about OVMM phases.
12.2.4 Options to hpvmmodify command for online migration
To change the online migration phase timeout values, you can use the hpvmmodify -x option.
For a list of time-out phases, see Section 12.3.4.1 (page 212).
Use the hpvmmodify -x online_migration=disabled option to prevent a particular VM
from migrating online. This is important if the guest is running software that is sensitive to external
network monitoring with short timing intervals, such as Serviceguard.
204 Migrating VMs and vPars