Managing HP Serviceguard A.12.00.00 for Linux, June 2014
9.4 Verifying Cluster Analytics Daemon
To verify whether cluster analytics daemon is running on any node in a cluster:
#cmcaadmin status
This command is used to check the state of the cluster analytics daemon. It also provides the
information whether the cluster analytics daemon is running or not. For example, #cmcaadmin
status
• If the cluster is not configured and the cluster analytics daemon is not running, then cmcaadmin
status command displays the following message:
cmcaadmin: Checking Cluster Analytics daemon based on entries in $SGCONF/cmclnodelist
cmcaadmin: Cluster Analytics daemon is not running
• If the cluster is not configured and the cluster analytics daemon is running, then cmcaadmin
status command displays the following message:
cmcaadmin: Checking Cluster Analytics daemon based on entries in $SGCONF/cmclnodelist
cmcaadmin: Cluster Analytics daemon is running on node test1
• If the cluster is configured and down but cluster analytics daemon is not running, then
cmcaadmin status command displays the following message:
cmcaadmin: Checking Cluster Analytics daemon on node test1
cmcaadmin: Cluster Analytics daemon is not running
• If the cluster is configured and down but cluster analytics daemon is running, then cmcaadmin
status command displays the following message:
cmcaadmin: Checking Cluster Analytics daemon on node test1
cmcaadmin: Cluster Analytics daemon is running on node test1
• If the cluster is running and cluster analytics daemon is not running, then cmcaadmin status
command displays the following message:
cmcaadmin: Checking Cluster Analytics daemon on cluster coordinator test1
cmcaadmin: Cluster Analytics daemon is not running
• If the cluster is running and cluster analytics daemon is also running, then cmcaadmin status
command displays the following message:
cmcaadmin: Checking Cluster Analytics daemon on cluster coordinator test1
cmcaadmin: Cluster Analytics daemon is running on node test1
9.5 Command to Retrieve KPIs
Using cmcashowkpi command, you can retrieve KPIs for an object type, such as cluster, node,
or package. You can also run cmcashowkpi command from any node in the cluster, even if the
node in the cluster is UP or DOWN state. For detailed description about KPIs of a node, cluster,
or package, see cmcashowkpi (1m) manpage.
For example,
#cmcashowkpi -o node test1 -s "2013-10-07 05:07:13"
NOTE:
• The KPI value cannot be calculated for a specific date or time.
• The date must be either in YYYY-MM-DD HH:MM:SS or YY-MM-DD format only.
• The $SGCONF/cmclnodelist file must be populated to run the cmcashowkpi command.
9.4 Verifying Cluster Analytics Daemon 267