Designing High Availability Solutions with HP Serviceguard and HP Integrity Virtual Machines

21
Figure 13: Example of Online VM Migration for Integrity VM
Virtual machines can be moved from one VM host to another in a variety of ways, including:
Offline:
Non-running VM configuration (hpvmmigrate command)
VM as Serviceguard package (cmhaltpkg / cmrunpkg commands)
Online:
Running VM (hpvmmigrate –o command)
Running VM as a Serviceguard package (cmmovevpkg command, for SG-IVS or hpvmsg_move command for
Integrity VM Serviceguard toolkit)
The following paragraphs describe the details and considerations for using VM migration. Additional information on
this topic can be found in the HP Integrity virtual machines installation, configuration, and administration manual,
version 4.2 or later.
Offline VM Migration without Serviceguard
In a non-Serviceguard environment, the hpvmmigrate command is used to move a virtual machine from one VM host
system to another. The virtual machine can be either a non-running virtual machine configuration (offline migration) or
a running guest (online migration). In offline migration, only the VM configuration is copied from the VM host source
to the VM host target. Additional steps are required (for example, copying the source VM guest file systems and
backing storage) to allow the VM guest to be run on the target VM host, where as in a Serviceguard environment, the
backing storage is shared between each of the VM guests and activated exclusively for only one running VM guest at
a time. During offline migration, the VM guest is not running so it is unable to process any workloads.
HP-UX
VM
HP-UX
VM
HP-UX
VM
Windows
VM
HP-UX
VM
HP-UX
VM
Serviceguard Cluster
Windows
VM
HP-UX
VM
VM Host VM Host VM Host VM Host
HP-UX
VM
HP-UX
VM
HP-UX
VM
HP-UX
VM
HP-UX
VM
Windows
VM
Windows
VM
HP-UX
VM
HP-UX
VM
HP-UX
VM
HP-UX
VM
Serviceguard Cluster
Windows
VM
HP-UX
VM
VM Host VM Host VM Host VM Host