Complete the following procedure 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\ <path_to_env_file> <modular_sg_ecm_cc.conf>

4.Halt the package.

#cmhaltpkg <package_name>

5.Validate the new modular package configuration file.

#cmcheckconf -P <modular_sg_ecm_cc.conf>

6.Apply the package configuration with the modular configuration file created in step 3.

#cmapplyconf -P <modular_sg_ecm_cc.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>

Configuring primary and recovery packages as modular packages when using Continuous Access

EVA

When using Continuous Access EVA replication in Continentalclusters, the primary and recovery packages must be created using the dts/cccaeva module. To use this module, Metrocluster with Continuous Access EVA must be installed on all nodes in the Continentalclusters. If Metrocluster

Building the Continentalclusters Configuration

69