HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

3. Ensure that each guest has access to a quorum server or cluster lock disk.
4. Use the hpvmstatus command to make sure the guest is running and to verify the guest
name.
5. Use the cmquerycl command to specify the nodes to be included in the cluster and to
generate a template for the cluster configuration file. For example, to set up a cluster named
gcluster that includes nodes host1 and host2, enter the following command:
# cmquerycl -v -C /etc/cmcluster/gcluster.config -n host1 -n host2 -q quorum-server-host
Include the -q option if a quorum server is used on the cluster.
6. Edit the /etc/cmcluster/cluster-name.config file (where cluster-name is the
name of the cluster specified in the cmquerycl command). For details about modifying the
information in the cluster configuration file, see the Managing Serviceguard manual.
7. Use the following command to verify the contents of the file:
# cmcheckconf -k -v -C /etc/cmcluster/gcluster.config
This command ensures that the cluster is configured properly.
8. Generate the binary configuration file and distribute it using the following command:
# cmapplyconf -k -v -C /etc/cmcluster/gcluster.config
9. Start the cluster using the following command:
# cmruncl
This procedure provides a simple example of creating guest application packages. For information
about how to set up your Serviceguard configuration, see the Managing Serviceguard manual.
11.3 Serviceguard in VM Host Configuration
The following sections describe how to configure a VM Host as a Serviceguard node. In this
configuration, if any of the resources used by a guest fail on the primary VM Host system, the
guest fails over to an adoptive VM Host system, as illustrated in Figure 10-4.
Figure 11-4 Virtual Machine Failover to Another Cluster Member
PowerRun Attn. Fault Remote PowerRun Attn. Fault Remote
Serviceguard
Package
Failover
VM Host 1 VM Host 2
Virtual
Machine
Serviceguard
Cluster
To configure VMs as Serviceguard Packages:
1. Configure the Integrity VM multiserver environment, as described in Section 11.3.1:
“Configuring the Integrity VM Multiserver Environment” (page 158).
2. Create the Serviceguard package, as described in Section 11.3.2: “Creating Guests as Packages”
(page 159).
11.3 Serviceguard in VM Host Configuration 157