Table 13 Verifying Cluster Components (continued)

Component (Context)

Tool or Command; More Information

File consistency (cluster)

cmcheckconf (1m), cmcompare (1m).

IMPORTANT: See the manpage for differences in return codes from cmcheckconf without options versus cmcheckconf -C

VxVM disk groups (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

Mount points (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

Service commands (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

IP addresses (cluster)

cmcheckconf (1m), cmapplyconf

 

(1m)

Package IP addresses (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

File systems (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

Generic resources (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

EMS resources (package)

cmcheckconf (1m), cmapplyconf

 

(1m)

 

See also “Verifying and Applying the

 

Package Configuration” (page 259).

External scripts and pre-scripts

cmcheckconf (1m), cmapplyconf

(modular package)

(1m)

Comments

To check file consistency across all nodes in the cluster, do the following:

1.Customize /etc/cmcluster/ cmfiles2check

2.Distribute it to all nodes using cmsysnc (1m)

3.run cmcheckconf -C

For a subset of nodes, or to check only specific characteristics such as ownership, content, etc., use cmcompare (1m).

Commands check that each node has a working physical connection to the disks.

Commands check that the mount-point directories specified in the package configuration file exist on all nodes that can run the package.

Commands check that files specified by service commands exist and are executable. Service commands whose paths are nested within an unmounted shared file system are not checked.

Commands check that all IP addresses configured into the cluster are in each node's /etc/ hosts.

For LVM only, commands check that file systems have been built on the logical volumes identified by the fs_name parameter

(page 251).

Commands check that configured resources are available on each node that can run the package.

A non-zero return value from any script will cause the commands to fail.

276 Cluster and Package Maintenance

Page 276
Image 276
HP Serviceguard manual Run cmcheckconf -C