HP Integrity Online VM Migration and GUI management tools

13
Monitoring the migration
The primary method for monitoring a migration is to watch the command output. The hpvmmigrate
command provides a percentage completed indicator for each step of the migration (see Figure 7,
above). On the target host, the hpvmstatus command uses “On (MGT)” in the State column to
indicate that a guest is migrating onto it. If run on the source host, hpvmstatus uses “On (MGS).”
See Figure 9. The reactions of the various GUIs to an online migration are covered in the “
Special
considerations” sections.
Figure 9: hpvmstatus output on the source and target VM host during an online migration
On the Source
#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Rmt Host
==================== ===== ======= ========= ====== ===== ===== ======= ========
slim2vm1 2 HPUX On (MGS) 1 1 1 1 GB 2
slim2vm2 3 HPUX On (OS) 1 1 1 1 GB 2
slim2vm3 4 LINUX On (OS) 1 1 1 512 MB 2
slim2vm4 5 WINDOWS On (OS) 1 1 1 512 MB 2
slim1vm1 6 HPUX On (OS) 1 1 1 1 GB 2
slim1vm2 7 HPUX On (RMT) 1 1 1 1 GB 1
slim1vm3 8 LINUX On (RMT) 1 1 1 512 MB 1
slim1vm4 9 WINDOWS Off 1 1 1 512 MB -
On the Target
#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Rmt Host
==================== ===== ======= ========= ====== ===== ===== ======= ========
slim1vm1 2 HPUX On (RMT) 1 1 2 1 GB 2
slim1vm2 3 HPUX On (OS) 1 1 1 1 GB 1
slim1vm3 4 LINUX On (OS) 1 1 1 512 MB 1
slim1vm4 5 WINDOWS Off 1 1 1 512 MB -
slim2vm1 6 HPUX On (MGT) 1 1 1 1 GB 1
slim2vm2 7 HPUX On (RMT) 1 1 1 1 GB 2
slim2vm3 8 LINUX On (RMT) 1 1 1 512 MB 2
slim2vm4 9 WINDOWS On (RMT) 1 1 1 512 MB 2
To summarize, the “State” column is how migrations are displayed. The guest states that are
displayed throughout a migration are shown in Table 2.
Table 2: VM guest states during an online migration
“State” on Source Host “State” on Target Host
Before migration
(prior to running hpvmmigrate)
On (OS) Off (NR)for a “normal” guest
On—for a guest that is a Serviceguard
package
During migration
(while hpvmmigrate is running)
On (MGS) On (MGT)
After migration Off (NR)for a “normal” guest
Onfor a guest that is an
HP Serviceguard package
On (OS)