152 IBM Certification Study Guide AIX HACMP
Consult the
HACMP for AIX, Version 4.3: Troubleshooting Guide
, SC23-4280,
for help if you detect a problem with an HACMP cluster.
8.1.1 The clstat Command
HACMP for AIX provides the /usr/sbin/cluster/clstat command for
monitoring a cluster and its components. The clstat utility is a clinfo client
program that uses the Clinfo API to retrieve information about the cluster.
Clinfo must be running on a node for this utility to work properly.
The /usr/sbin/cluster/clstat utility runs on both ASCII and X Window
Display clients in either single-cluster or multi-cluster mode. Multi-cluster
mode requires that you use the -i flag when invoking the clstat utility. 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 for the
utility appears. However, you can run an ASCII display on an X-capable
machine by specifying the -a flag. In order to set up a connection to the
cluster nodes, the /usr/sbin/cluster/etc/clhosts file must be configured on the
client.
The clstat utility reports whether the cluster is up, down, or unstable. It also
reports whether a node is up, down, joining, leaving, or reconfiguring, and the
number of nodes in the cluster. For each node, the utility displays the IP label
and address of each network interface attached to the node, and whether that
interface is up or down. See the clstat man page for additional information
about this utility.
8.1.2 Monitoring Clusters using HAView
HAView is a cluster monitoring utility that allows you to monitor HACMP
clusters using NetView for AIX. Using NetView, you can monitor clusters and
cluster components across a network from a single management station.
HAView creates and modifies NetView objects that represent clusters and
cluster components. It also creates submaps that present information about
the state of all nodes, networks, and network interfaces associated with a
particular cluster. This cluster status and configuration information is
accessible through NetView’s menu bar.
HAView monitors cluster status using the Simple Network Management
Protocol (SNMP). It combines periodic polling and event notification through
traps to retrieve cluster topology and state changes from the HACMP
management agent, that is, the Cluster SMUX peer daemon (clsmuxpd).