
6.Run the package on a node in the Serviceguard cluster.
#cmrunpkg
7.Enable global switching for the package.
#cmmodpkg
Once the package is created, if the value of any Metrocluster parameter needs to be changed, then edit this package configuration file and
Migrating Legacy Packages to Modular Packages using Metrocluster EMC SRDF A.09.00 or Later
To get the benefits of Modular style packages, existing Legacy Metrocluster packages can be migrated to use the Modular style. 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 created. Only the final package configuration file that is created at the end of the procedure must be applied.
Complete the following procedure to migrate Legacy packages to Modular packages using MC SRDF A.09.00 or later:
1.Create a Modular package configuration file for the Metrocluster Legacy package.
# cmmigratepkg
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
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
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
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
4.Halt the package.
#cmhaltpkg <package_name>
5.Validate the new package configuration file.
#cmcheckconf
280 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF