Displaying Cluster and Service Status

Red Hat Cluster Suite: Configuring and Managing a Cluster
Prev | Chapter 8. Cluster Administration | Next

# 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:

- The `clustat` command

- The `clufence` command

- Log file messages

- The cluster monitoring GUI

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.

| Important
| 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:

- Cluster member system status

- Heartbeat channel status

- Service status and which cluster system is running the service or owns the service

- Service monitoring status of the cluster system

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

Member Status | Description
--- | ---
Active | The member system is communicating with other member systems and accessing the quorum partitions.
Inactive | The member system is unable to communicate with the other member system.

Table 8-1. Member Status

Service Status | Description
--- | ---
Running | The service resources are configured and available on the cluster system that owns the service.
Pending | The service has failed on a member and is pending start on another member.
Disabled | The service has been disabled, and does not have an assigned owner.
Stopped | The service not running; waiting for a member capable of starting service.
Failed | The 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

Prev | Home | Next
Cluster Administration | Up | Starting and Stopping the Cluster Software