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

3. Halt the package,
# cmhaltpkg <package_name>
4. Validate the package configuration file.
# cmcheckconf -P <output_for_upgraded_package>
5. Apply the package configuration file.
# cmapplyconf -P <output_for_upgraded_package>
6. Run the package on a node in the Serviceguard cluster.
# cmrunpkg -n <node_name> <package_name>
7. Enable global switching for the package.
# cmmodpkg -e <package_name>
Checking the Metrocluster Package Configuration
Starting from HP Serviceguard version A.11.20, the cmcheckconf -v command validates the
cluster and the package configuration. Starting from the April 2011 patch release, Metrolcuster
uses this functionality to ensure the sanity of Metrocluster and the Site Controller package
configuration. HP recommends you to set up a cron job to run the cmcheckconf command
regularly. For more information about setting the cron job, see Setting up Periodic Cluster Verification
section in the latest version of the Managing Serviceguard manual available at http://www.hp.com/
go/hpux-serviceguard-docs —> HP Serviceguard.
“Validating Metrocluster Package” (page 282) lists the checks made on a Metrocluster Package.
Table 23 Validating Metrocluster Package
RemarkCommandValidations/Checks
For Metrocluster with EMC SRDF, it
checks whether the SYM CLI is installed.
cmcheckconf [v]
cmapplyconf
Check whether the Array Management
Software is available.
cmcheckconf [-P/-p]
cmcheckconf [-v]Check whether the contents in the
environment file matches with the
contents in the package present in the
CDB.
Checks the package configuration file
that is passed as an argument for the
cmcheckconf [v]
cmapplyconf
Check all attributes in the Metrocluster
module.
cmcheckconf [-P/-p] command.
cmcheckconf [-P/-p]
For cmcheckconf, it checks the
Metrocluster environment file that is
available in the Metrocluster package
directory.
Warns you if the disks belonging to a
volume group or a diskgroup are not
cmcheckconf [v]
cmapplyconf
Verify if the disks belonging to a
volume group or a disk group are
being replicated. ** being replicated. It reports and error if
cmcheckconf [-P/-p]
the disks belong to a different
replication group than what is
mentioned in the environment file or the
package configuration file.
When Metrocluster is integrated with
Site Controller, this check is done only
when the cmcheckconf [-v]
command is executed. During
validation, it creates a list of volume
groups and diskgroups for all the
packages controlled by Site Controller
and does the above check.
282 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF