Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

IMPORTANT: This command generates a package configuration file. Do not apply this
configuration file until you complete the migration procedure.
For more information about 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 step 1.
For example, if the Metrocluster Legacy package uses the ECM Oracle toolkit, generate a
new Modular package configuration file using 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, 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/mcsrdf\
<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/mcsrdf -t\
<path_to_env_file> <modular_sg_ecm_mc.conf>
4. Halt the package.
# cmhaltpkg <package_name>
5. Validate the new 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>
Configuring storage devices for complex workload
The following sections describe how to configure storage devices managed by SG SMS CFS or
CVM as a legacy package on both the source disk site and the target site. The last section describes
how to migrate such packages to modular style.
Configuring the storage device for the complex workload at the source disk site using
CFS or SG SMS CVM
To configure a storage device using CFS or SG SMS CVM in a legacy style package:
1. Initialize the source disks of the replication pair.
# /etc/vx/bin/vxdisksetup -i <replicated_disk_1>
94 Legacy packages