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

c. HORCMINST - Specify the name of the RAID manager instance that manages the XPCA
device group used by this package.
d. FENCE - Specify the fence level configured for the XPCA device group that is managed
by this package.
There are additional Metrocluster parameters available in the package configuration file. It
is recommended that the default values of these variables are retained unless there is a specific
business requirement to change them. For more information on the additional Metrocluster
parameters, see Appendix A (page 475).
For the failover_policy parameter, Metrocluster failover packages can be configured to
use any of the Serviceguard defined failover policies. The site_preferred and
site_preferred_manual failover policies are introduced in Serviceguard specifically for
Metrocluster configurations. The site_preferred value implies that when a Metrocluster
package has to fail over, it will necessarily failover to a node within the same site of the node
it last ran on. Only when there is no other configured node available within the same site, the
package fails over to a node at the other site. The site_preferred_manual failover policy
provides automatic failover of packages within a site and manual failover across sites. To use
either of these policies the underlying cluster must be configured with sites and each cluster
nodes should be associated to a site. For information on configuring the failover policy to
site_preferred or site_preferred_manual, see “Site Aware Failover Configuration
(page 26).
3. Validate the package configuration file.
# cmcheckconf -P temp.config
4. Apply the package configuration file.
# cmapplyconf -P temp.config
NOTE: If external_pre_script is specified in a Metrocluster package configuration,
the external_pre_script will be executed after the execution of Metrocluster module
scripts in package startup. Metrocluster module scripts are always executed first during package
startup.
5. Run the package on a node in the Serviceguard cluster.
# cmrunpkg -n <node_name> <package_name>
6. Enable global switching for the package.
# cmmodpkg -e <package_name>
Once the package is created, if the value of any Metrocluster parameter needs to be changed,
then edit this package configuration file and re-apply it.
Migrating Legacy Packages to Modular Packages using Metrocluster with Continuous
Access XP A.10.00 or Later
Metrocluster Legacy packages can be migrated to Modular packages using the procedure listed
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 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
Metrocluster XP A.10.00 or later:
1. Create a Modular package configuration file for the Metrocluster legacy package.
# cmmigratepkg -p <package_name> [-s] -o <modular_sg.conf>
186 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP