Implementing disaster recovery for HP Integrity Virtual Machines with Metrocluster and Continentalclusters on HP-UX 11i

Table Of Contents
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).