Building Disaster Recovery Serviceguard Solutions Using Continentalclusters A.08.00

1. Halt the monitoring daemon package.
# cmhaltpkg ccmonpkg
2. Generate the modular configuration file.
# cmmigratepkg -p <package_name> -o <modular__ccmonpkg.conf>
3. Validate the package configuration file.
# cmcheckconf P modular_ccmonpkg.conf
4. Apply the package configuration.
# cmapplyconf P modular_ccmonpkg.conf
5. Start the monitoring daemon package.
# cmmodpkg -e ccmonpkg
Migrating legacy style primary and recovery packages to modular packages
Migrating legacy style primary and recovery packages to modular packages when using Continuous
Access P9000 and XP
Primary and recovery packages configured as legacy packages in an existing Continentalclusters
environment using Continuous Access P9000 and XP, can be migrated to modular packages using
the procedure described in this section. However, the migration steps vary based on the HP
Serviceguard version and the legacy package configuration. While completing the migration
procedure, multiple package configuration files are created. Only the final package configuration
file that is created at the end of the procedure must be applied.
To migrate legacy style primary and recovery packages to modular packages using
Continentalclusters A.08.00:
1. Create a modular package configuration file for the legacy package.
# cmmigratepkg -p <package_name> [-s] -o <modular_sg_conf>
IMPORTANT: This command generates 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 —> HP Serviceguard.
2. If the Continentalclusters 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 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 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
Continentalclusters modules in the new modular package configuration file:
a. Include the Continentalclusters module in the new configuration file.
# cmmakepkg i <modular_sg_ecm.conf> -m dts/ccxpca\
<modular_sg_ecm_cc.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 or later versions, run the following command to include
the Continentalclusters modules in the new modular package configuration file:
# cmmakepkg i <modular_sg_ecm.conf> -m dts/ccxpca -t\
Migrating legacy to modular packages 101