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

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 toolkits, 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/mcxpca\
<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/mcxpca -t\
<path_to_env_file> <modular_sg_ecm_mc.conf>
4. Halt the package.
# cmhaltpkg <package_name>
5. Validate the new modular 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 XPCA Modular Packages to the Latest Version
Modular Metrocluster packages created with A.09.00 version must be upgraded to the latest
version 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 Modular Metrocluster packages to the latest version:
1. Upgrade the modular package configuration file of the package created with the A.09.00
version of Metrocluster XPCA.
When using HP Serviceguard A.11.18, complete the following steps to upgrade the modular
package configuration file:
Configuring Modular Packages 187