Checking the Metrocluster Configuration

Starting from HP Serviceguard version A.11.20, the cmcheckconf -vcommand 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 189) lists the checks made on a Metrocluster Package.

Table 17 Validating Metrocluster Package

Validations/Checks

Command

Remark

 

 

 

Check whether the Array Management

cmcheckconf [–v]

For Metrocluster with Continuous Access

Software is available.

cmapplyconf

for P9000 and XP, It checks whether

 

the Raid Manager is installed.

 

cmcheckconf [-P/-p]

 

 

 

 

 

Check whether the contents in the

cmcheckconf [-v]

 

environment file matches with the

 

 

contents in the package present in the

 

 

CDB.

 

 

 

 

 

Check all attributes in the Metrocluster

cmcheckconf [–v]

Checks the package configuration file

module.

cmapplyconf

that is passed as an argument for the

 

cmcheckconf [-P/-p] command.

 

cmcheckconf [-P/-p]

 

For cmcheckconf, it checks the

 

 

Metrocluster environment file that is

 

 

available in the Metrocluster package

 

 

directory.

 

 

 

Verify if the disks belonging to a

cmcheckconf [–v]

Warns you if the disks belonging to a

volume group or a disk group are

cmapplyconf

volume group or a diskgroup are not

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.

 

 

Restrictions

 

 

Cannot confirm if the disks are being

 

 

replicated in case they are being used

 

 

as raw disks or in case they belong to

 

 

an Oracle ASM diskgroup.

 

 

Skips this check on VxVM diskgroups

 

 

if the naming convention used by VxVM

 

 

is legacy and if the controller ID is

 

 

greater than 512 (This happens when

 

 

VxVM uses an internal format to

 

 

recognize devices that do not support

 

 

legacy dsf format). Also skips the check

 

 

if the naming convention is enclosure

 

 

based. In such cases, it is

 

 

recommended that you change the

 

 

naming scheme using the vxddladm

 

 

command so that VxVM output shows

 

 

 

Configuring Modular Packages 189