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

11 Using HP Serviceguard with Integrity VM
After you install Integrity VM and create the guest, you can install HP Serviceguard on either
the VM Host system (to provide failover for the guest), or on the guest (to provide failover for
applications running on the guest).
This chapter describes how to configure Serviceguard with Integrity VM and assumes you are
familiar with HP Serviceguard. The procedures in this chapter use the HP Serviceguard commands
to accomplish Serviceguard tasks. You can use Serviceguard Manager instead. For more
information, see the Managing Serviceguard manual.
11.1 Introduction to HP Serviceguard
HP Serviceguard is used to create high availability clusters using a networked grouping of HP
Integrity servers. These servers are typically configured with redundant hardware and software
components to eliminate single points of failure (SPOFS). Serviceguard is designed to keep
application services running in spite of hardware (for example, system processing unit, disk,
LAN, and so forth) or software (for example, operating system, user application, and so forth)
failures. In the event of a hardware or software failure, Serviceguard and other high availability
subsystems coordinate operational transfer between components.
Using Serviceguard together with Integrity VM provides the ability to:
Minimize both planned and unplanned downtime of VM guests using Online VM Migration
and Serviceguard
Migrate workloads using the flexibility of Integrity VM and the control of Serviceguard
Failover Integrity VM environments to other cluster node configurations
Meet the consolidation and high availability requirements of many business-critical customers
Serviceguard uses packages to group application services and resources that are typically
configured to run on several nodes in the cluster, one at a time. In the event of a service, node,
network, or other monitored package resource failure on the node where the package is running,
Serviceguard can automatically transfer control of the package to another node in the cluster,
thus allowing the services to remain available with minimal interruption.
Serviceguard is designed to run on nodes and manage applications encapsulated within packages,
with the integration of Serviceguard with Integrity VM, there are several configuration models
that you can use to help effectively design Serviceguard clusters when using VMs for
consolidation:
VMs as Serviceguard Nodes
The virtual machine is a member of a Serviceguard cluster, allowing failover of application
packages between other physical or VM nodes in the cluster (Serviceguard runs within the
VM guest).
VMs as Serviceguard Packages
The virtual machine is encapsulated within a Serviceguard package, allowing failover of
the virtual machine between cluster nodes (Serviceguard runs on the VM Host).
Combining VMs as Serviceguard Package and Node configurations
Virtual machines as Serviceguard packages and as Serviceguard nodes in separate clusters
can coexists on the same VM Host, allowing fail over of the VM guests and application
packages within their respective clusters.
11.2 VMs as Serviceguard Nodes
The VMs as Serviceguard Packages configuration provides high availability for virtual machines
encapsulated within Serviceguard packages. In a VMs as Serviceguard Nodes configuration (or
11.1 Introduction to HP Serviceguard 187