Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

1. Create a Modular package configuration file for the Metrocluster Legacy package.
# cmmigratepkg -p <package_name> [-s] -o <modular_sg.conf>
IMPORTANT: This command will generate a package configuration file. Do not apply this
configuration file until you complete the migration procedure.
For more information on the cmmigratepkg command, see the Managing Serviceguard
manual available at http://www.hp.com/go/hpux-serviceguard-docs.
2. If the Metrocluster Legacy package uses ECM Toolkit, then generate a new Modular package
configuration file using the package configuration file generated in the step 1.
For example, if the Metrocluster Legacy package uses the ECM Oracle toolkit, generate a
new Modular package configuration file with the following command:
# cmmakepkg i modular_sg.conf -m ecmt/oracle/oracle -t
haoracle.conf\
modular_sg_ecm.conf
3. Create a Metrocluster Modular package configuration file using the package configuration
file created in step 1.
When using HP Serviceguard A.11.18, complete the following steps to include Metrocluster
modules in the new modular package configuration file:
a. Include the Metrocluster modules in the new configuration file.
# cmmakepkg i <modular_sg_ecm.conf> -m dts/mccaeva\
<modular_sg_ecm_mc.conf>
b. Copy the environment variable values from the Metrocluster environment file present in
the package directory, to the variables present in the newly created modular package
configuration file.
When using HP Serviceguard A.11.19, run the following command to include the Metrocluster
modules in the new modular package configuration file:
# cmmakepkg i <modular_sg_ecm.conf> -m dts/mccaeva -t\
<path_to_env_file> <modular_sg_ecm_mc.conf>
4. Halt the package.
# cmhaltpkg <package_name>
5. Validate the package configuration file.
# cmcheckconf -P <modular_sg_ecm_mc.conf>
6. Apply the package configuration with the modular configuration file created in step 3.
# cmapplyconf -P <modular_sg_ecm_mc.conf>
7. Run the package on a node in the Serviceguard cluster.
# cmrunpkg -n <node_name> <package_name>
8. Enable global switching for the package.
# cmmodpkg -e <package_name>
Upgrading Metrocluster Continuous Access EVA Modular Packages to the Latest Version
Modular Metrocluster packages must be upgraded to the latest versions to use the features enabled
by newer versions. The steps to upgrade the packages vary depending on the Serviceguard version.
Complete the following procedure to upgrade packages to Metrocluster with Continuous Access
EVA A.05.00 or later versions:
240 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA