Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Designing Disaster Tolerant High Availability Clusters:

Appendix D Continentalclusters Command and Daemon Reference

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This appendix lists all commands and daemons used with Continentalclusters. Manual pages are also available online.

cmapplyconcl [-v] [-C] filename

This command verifies the ContinentalClusters configuration as specified in filename, creates or updates the binary, and distributes it to all nodes in the continental cluster. It is not necessary to halt the ServiceGuard cluster in order to run this command; however, the ContinentalClusters monitor package must be halted.If cmapplyconcl is specified when the continental cluster has already been configured, the configuration will be updated with the configuration changes.The cmapplyconcl command must be run when a configuration change is made to the ServiceGuard cluster that impacts the ContinentalClusters configuration. For example, if a node is added to the ServiceGuardcluster, the ContinentalClusters ASCII file should be edited to include the new NODE_NAME.All nodes within the ServiceGuard cluster must be running prior to the cmapplyconcl command being run.

Options are:

-v

Verbose mode displays all messages.

-C filename

The name of the ASCII configuration file. This is a required parameter.

cmcheckconcl [-v] -C filename

This command verifies the ContinentalClusters configuration specified in filename. It is not necessary to halt the ServiceGuard cluster in order to run this command; however, the ContinentalClusters monitor package must be halted. This command will parse the ASCII_file to ensure proper syntax, check parameter lengths, and validate object names such as the CLUSTER_NAME and NODE_NAME. Options are:

-C filename

The name of the ASCII configuration file. This is a required parameter.

cmclrmond

This is the Continentalclusters monitor daemon that provides notification of remote cluster status through the Event Monitoring Service (EMS). This monitor runs on both the primary and recovery clusters. The cmclsentryd deamon notifies cmclrmond of any change in cluster status. Log messages are written to the EMS log file /etc/resmon/log/api.log on the node where the monitor was running when it detected a status event.

cmclsentryd

This daemon, which is run from the monitor package (ccmonpkg) starts up the ContinentalClusters monitor cmclrmond. Messages are logged to log file /var/adm/cmconcl/sentryd.log, which may be read using the cmreadlog command.

cmdeleteconcl [-f]

This command is used to delete the ContinentalCluster configuration from the entire ContinentialCluster.

Options are:

-f

Delete the configuration files on all reachable nodes without further prompting. If this option is not used and if some nodes are unreachable, you will be prompted to indicate whether to proceed with deleting the configuration on the reachable nodes. If this option is used and some node has configuration files for a continental cluster with a different name, you will be prompted to indicate whether to proceed with deleting the configuration on that node.

cmforceconcl ServiceGuardPackageEnableCommand

This command is used to force a ContinentalClusters package to start. It allows a package to run even if the status of a remote package in the recovery group is unknown, which indicates that the software could not determine the status of the remote package.

ServiceGuardPackageEnableCommand is either a cmrunpkg or cmmodpkg command.

cmomd

This daemon is the Object Manager, which communicates with ServiceGuard to provide information about cluster objects to the ContinentalClusters monitor. Messages are logged to log file /var/opt/cmom/cmomd.log, which may be read using the cmreadlog command.

cmqueryconcl filename

This command cmqueryconcl creates a template ASCII ContinentalClusters configuration file. The ASCII file should be customized for a specific ContinentalClusters environment. After customization, this file shouldbe verified by the cmcheckconcl command and distributed by using the cmapplyconcl command. If an ASCII file is not provided, output will be directed to stdout.This command should be run as the first step in preparing for ContinentalClusters configuration.

Options are:

-v

Verbose mode displays all messages.

-C filename

Declares an alternate location for the configuration file. The default is/etc/cmcluster/cmoncl.config.

cmreadlog -f input_file [output_file]

This command formats the content of Object Manager and other log files for easier reading. The command is used when reading the /var/opt/cmom/cmomd.log file and the /var/adm/cmconcl/sentryd.log file.

Options are:

-f input_file

Specifies the name of the managed object file (MOF file) to be read. This is a required parameter.

output_file

The name of a file to which the formatted output is written. If no file is specified, output is written to stdout.

cmrecovercl [-f]

This command performs the recovery actions necessary start the recovery groups on current cluster. Care should be taken before issuing this command. It is important to contact the primary cluster site to determine if recovery is necessary prior to running this command.This command can be issued from any node on the recovery cluster. This command first connects to the ContinentalClusters monitoring package running on the recovery cluster. This may be a different cluster node than where the cmrecovercl command is being run. cmrecovercl connects to the monitoring package to verify that the primary cluster is in an Unreachable or Down state. If the primary cluster is reachable and the cluster is Up, this command will fail. Next, the data receiver packages on the recovery cluster (if any) are halted sequentially. Finally, the recovery packages are started on the recovery cluster. The recovery packages are started by enabling package switching globally (cmmodpkg -e) for each package. This will cause the package to be started on the first available node within the recovery cluster.The cmrecovercl command can only be run on a recovery cluster. The cmrecovercl command will fail if there has not been sufficient time since the primary cluster became unreachable. This command is only enabled after the time as configured via CLUSTER_ALARM parameters has been reached. Once a cluster alarm has been triggered, this command will be enabled and can be run. The -f option can be used to enable the command after the time as configured via CLUSTER_ALERT parameters has been reached.

Options are:

-f

The force option enables cmrecovercl to function even though a CLUSTER_ALARM has not been received.

cmviewconcl [-v]

This command allows you to view the status and much of the configuration of a continental cluster.This command should be run as the last step when creating a ContinentalClusters configuration to confirm the cluster status, or any time you would like to know cluster status.

Options are:

-v

Verbose mode displays all messages.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.