Implementing disaster recovery for HP Integrity Virtual Machines with Metrocluster and Continentalclusters on HP-UX 11i
Table Of Contents
- Executive summary
- Introduction
- Audience
- Configuring Integrity Virtual Machines as packages in HP Metrocluster
- Verifying failover of Metrocluster packages across data centers
- Troubleshooting Metrocluster VM problems
- Application startup and monitoring
- Configuring Integrity Virtual Machines as packages in HP Continentalclusters
- Overview
- Software requirements for HP VMs in Continentalclusters
- Configuring HP VM packages in Continentalclusters
- Creating VM switches in all nodes of the primary cluster
- Configuring replicated storage for VM in Continentalclusters
- Installing the operating system on the virtual machine
- Testing the virtual guest OS in all nodes of the primary cluster
- Creating VM switches in all nodes of the recovery cluster
- Preparing the replicated storage for use in the recovery cluster
- Creating the virtual machine in all nodes of the recovery cluster
- Testing the virtual guest OS in all nodes of the recovery cluster
- Resynchronizing the replicated storage
- Packaging the HP VM in the primary cluster and the recovery cluster
- Creating a Continentalclusters package
- Creating a Continentalclusters configuration with the VM packages
- Running the Continentalclusters monitoring daemon in the recovery cluster
- Recovering to the recovery cluster
- Related documentation
- Appendix I
- Appendix II
- For more information
- Call to action

15
where:
-P vm_name indicates the virtual machine name
-m specifies whether maintenance mode is enabled or disabled (1 = Enabled, 0 = Disabled)
-L creates a legacy package (default is modular)
-V indicates verbose
-Q quietly performs command, taking default actions without additional prompts
-s sanity checks the specific command, but does perform the requested action
The script asks you to confirm the following actions:
• Creation of a failover package
• Distribution of the package to all the cluster nodes
The
hpvmsg_package is a utility that you can use to configure a guest as a Serviceguard package.
The utility uses the guest name that you supply as an argument to create and populate the
/etc/cmcluster/guest-name/ directory with a set of template files that contain basic
Serviceguard parameter settings.
The
hpvmsg_package script creates the virtual machine package template files in the
/etc/cmcluster/guest-name/ directory. If the package is a modular package, it creates the
following templates files:
• guest-name.conf
• hpvmsg_ext
• hpvmsg_mon
HP recommends that you review and modify these template files to match your VM guest
environment.
3. Verify that the package is set up correctly by entering the following command:
# cmcheckconf -v -P /etc/cmcluster/guest-name/guest-name.config
4. Update and redistribute the binary configuration files to the /etc/cmcluster/guest-name/
directory on all cluster nodes:
# cmapplyconf -v -P /etc/cmcluster/guest-name/guest-name.config
For more detailed information, refer the HP Integrity Virtual Machines Installation, Configuration, and
Administration manual, available at
Creating a Metrocluster package
www.hp.com/go/hpux-hpvm-docs.
A Metrocluster package for VM guest can be created using legacy or modular style package
configuration. The following two sections describe the steps required to configure a Metrocluster
package for a VM guest in modular style and legacy style formats, respectively.
A. Creating a modular style Metrocluster package
To create a modular style Metrocluster package, a modular Serviceguard package must first be
created. Include a Metrocluster module in the existing package configuration file, and create a new
package configuration file. Edit the newly created package configuration file to include Metrocluster-
specific parameter values.
This section shows an example of how to create modular Metrocluster package using Metrocluster
Continuous Access XP/P9000. Modular Metrocluster packages for Metrocluster Continuous Access
EVA and Metrocluster SRDF can be created in a similar way. For information on creating Metrocluster
modular packages, see the Designing Disaster Recovery HA Clusters Using Metrocluster and
Continentalclusters manual, available at
www.hp.com/go/hpux-serviceguard-docs (click on Metrocluster).