8.2. Displaying Cluster and Service Status

Monitoring cluster and application service status can help identify and resolve problems in the cluster environment. The following tools assist in displaying cluster status information:

Note that status is representative of the cluster system on which an administrator is running a particular tool. To obtain comprehensive cluster status on all member, run the tools on all cluster systems.

ImportantImportant
 

Members that are not running the cluster software cannot determine or report the status of other members of the cluster.

Cluster and service status includes the following information:

The following tables describe how to analyze the status information shown by the Cluster Status Tool and clustat command.

Member StatusDescription
ActiveThe member system is communicating with other member systems and accessing the quorum partitions.
InactiveThe member system is unable to communicate with the other member system.

Table 8-1. Member Status

Service StatusDescription
RunningThe service resources are configured and available on the cluster system that owns the service.
PendingThe service has failed on a member and is pending start on another member.
DisabledThe service has been disabled, and does not have an assigned owner.
StoppedThe service not running; waiting for a member capable of starting service.
FailedThe service has failed to start on and the cluster cannot successfully stop the service. Refer to Section 4.8 Handling Failed Services for more information on failed services.

Table 8-2. Service Status

To display a snapshot of the current cluster status from a shell prompt, invoke the clustat utility. Example output is as follows:

Cluster Status - clustertest                                           22:15:32
Quorum: Yes, view 36
Shared State: Shared Raw Device Driver v1.0 [Min. Size=1176064]

  Member             Status    
  ------------------ ----------
  clu1               Active               
  clu2               Active     <-- You are here

  Service        Status   Owner (Last)      Last Transition Chk Restarts
  -------------- -------- ----------------  --------------- --- --------
  nfs_clutest    started  clu1              22:11:28 Jul 21   0        0
  smb_clutest    started  clu2              22:13:06 Jul 21   0        0

To monitor the cluster and display status at specific time intervals from a shell prompt, invoke clustat with the -i time option, where time specifies the number of seconds between status snapshots. For example:

clustat -i 10