HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

11.3.8 Managing the Package with Serviceguard Commands
After the virtual machine has been packaged, it is managed as a Serviceguard package using
Serviceguard comamnds. Many of the Integrity VM commands are aware of this packaging and
no longer function in the same manner as they did prior packaging. You can use any of the
available Serviceguard tools the Serviceguard Manager or the command-line tools to manage
basic package functionality.
The following command are used to perform these functions:
The cmrunpkg command starts a package.
The cmhaltpkg command stops a package.
To perform a package failover, which is similar to an offline migration, use the cmhaltpkg
command to halt the package and then the cmrunpkg command to start the package.
By default, a package is configured to automatically run on cluster start or in the event of a
failure.
11.3.9 Online VM Migration
Online VM Migration (OVMM) is an optional feature of Integrity VM that enables a running
virtual machine and its applications to be moved from one VM Host to another without service
interruption. Integrity VM supports OVMM of virtual machines and VMs as Serviceguard
packages for HP-UX guests.
Throughout the migration, all virtual machine I/O connections to storage and networks remain
active. The primary benefits of online migration include:
Minimizing downtime for planned maintenance activities on VM Hosts
Balancing static workload between VM Hosts
You can also migrate virtual machines encapsulated within Serviceguard packages, providing
the additional benefits of protection against unplanned VM Host hardware and software failures
at any time other than during an online migration. The type of migration also protects planned
movement of workloads that cannot be migrated online due to VM Host hardware or software
differences.
To perform an online migration of a VM as a Serviceguard Package, execute the hpvmsg_move
command that performs the following operations:
1. Disables Serviceguard VM package switching (that is, monitoring and failover functions are
not available); however, the VM continues to run on the source VM Host.
2. Migrates the VM to the target VM Host online using the hpvmmigrate command,
automatically invoked by the hpvmsg_move command.
3. Now that the migration is complete, re-enables VM packaging switching (that is, Serviceguard
monitors and can failover the VM.
The hpvmsg_move command performs online migration of virtual machines protected by
Serviceguard with the benefit of minimizing both the virtual machine planned and unplanned
downtime. In this case, virtual machines can be migrated online with minimal interruption
during planned events while Serviceguard protects the virtual machines from unplanned failures
during normal operation.
NOTE: Serviceguard does not monitor or protect the virtual machine during the online migration
process; however, the virtual machine and its applications are fully available except during
migration process freeze time.
11.3.10 Maintenance Mode
Using the Integrity VM commands, you can make changes to the VM configuration, disable
maintenance mode and then distribute the VM configuration using the hpvmmigrate command.
If the changes made to the VM configuration impact the Serviceguard Package configuration,
11.3 VMs as Serviceguard Packages 199