Monitoring clusters with clstat

PowerHA® SystemMirror® provides the /usr/es/sbin/cluster/clstat utility for monitoring a cluster and its components. The clinfo daemon must be running on the local node for this utility to work properly.

The clstat utility reports on the cluster components as follows:

  • Cluster: cluster number (system-assigned); cluster state (up or down); cluster substate (stable, or unstable).
  • Nodes: How many, and the state of each node (up, down, joining, leaving, or reconfiguring).

    For each node, clstat displays the IP label and IP address of each network interface attached to each node, and whether that interface is up or down. clstat does not display multiple IP labels on one network interface, as in networks with aliases.

    For each node, clstat displays service IP labels for serial networks and whether they are up or down.

    Note: By default, clstat does not display whether the service IP labels for serial networks are down. Use clstat -s to display service IP labels on serial networks that are currently down.

    For each node, clstat displays the states of any resource groups (per node): online or offline.

See the clstat man page for additional information.

The /usr/es/sbin/cluster/clstat utility runs on both ASCII and X Window Display clients in either single-cluster or multi-cluster mode. The client display automatically corresponds to the capability of the system. For example, if you run clstat on an X Window client, a graphical display appears; however, you can run an ASCII display on an X-capable machine by specifying the -a flag.