show ha status (for Central Management System appliances)

Prev Next

Displays the current status of a Central Management System High Availability (HA) cluster.

Syntax

show ha status

Parameters

None

Output fields

The following table describes the output fields for this command.

Field

Description

Healthy

Whether the cluster is healthy.

Status

The state of the cluster:

  • Running—All services are running, all communication links are up, and all nodes are online.

  • Stopped—At least one service is not running on at least one node.

  • Starting—At least one service is starting up on at least one node, or the database synchronization is being set up on the secondary node.

  • Updating—A software upgrade or downgrade is being performed on a node in the cluster.

  • Degraded—Backup links of the same type are down, or the secondary node is configured, but currently offline.

  • Error—Communication links are down or broken, or a service failed to start.

  • Unknown—The node is not accessible.

Primary Node

The hostname of the primary node. If you are viewing the status from the primary node CLI, (self) is also displayed.

Configuration in sync

Whether the configurations of the primary and secondary nodes are synchronized.

IMPORTANT: If the value is no, do not perform a failover or reload either node. Doing so will put the configuration in an undefined state and make it difficult to recover the cluster.

Clock drift with peer

Whether the clock of the primary and secondary nodes are synchronized.

Nodes Status

The state of each node in the cluster:

  • Running—All services are running, all communication links are up, and all nodes are online.

  • Stopped—At least one service is not running on at least one node.

  • Starting—At least one service is starting up on at least one node, or the database synchronization is being set up on the secondary node.

  • Updating—A software upgrade or downgrade is being performed on a node in the cluster.

  • Degraded—Backup links of the same type are down, or the secondary node is configured, but currently offline.

  • Error—Communication links are down or broken, or a service failed to start.

  • Unknown—The node is not accessible.

Interfaces

The state of the HA interfaces on the primary and secondary nodes:

Up—All links of the same type are up.

Off—The interface is disabled in the configuration.

Down—The interface is configured, but is down. Either all links of the same type are down, or the primary node interface is not connected to the secondary node interface.

Services

The state of the following services:

Cluster Communication Engine sends messages between the two nodes in the cluster, handles failover and split-brain occurrences, and so on.

Cluster Resource Manager manages the resource agents that monitor and manage cluster resources and services.

Data Replication Services (Configuration, Alerts, Security Content) manage the replication of alert data (if enabled), configuration data, and security content between the two nodes in the cluster.

State values:

  • Running—The service is running.

  • Stopped—The service is stopped.

  • Starting—The service is starting, or the database synchronization is being set up on the secondary node.

  • Error—The service failed to start.

  • Off—The service is disabled in the configuration.

  • Unknown—The node is not accessible, so the status cannot be reported.

Resources

The state of each resource agent:

  • Running—The agent is running.

  • Stopped—The agent is stopped.

  • Starting—The agent is starting.

  • Error—The agent failed to start.

  • Off—The agent is disabled in the configuration.

  • Unknown—The node is not accessible, so the status cannot be reported.

For a description of the resource agents and their normal states on the primary and secondary nodes, see show ha resources .

Example

The following example shows the cluster status displayed from the primary node in a single-interface configuration.

Note

The output is the same when you display the status from the secondary node, except (self) is not displayed in the Primary Node: line.

node1 # show ha status

Cluster Status
  Healthy:               no
  Status:                starting
  Primary Node:          node1 (self)
  Configuration in sync: yes
  Clock drift with peer:  0.000226 sec (last checked 1 min 30 sec ago)
			
Nodes Status
                                        node1           node2
Status:                                 running         updating
Interfaces
  Default:                              up              up
  Backup:                               off             off
Services
  Cluster Communication Engine:         running         running
  Cluster Resource Manager:             running         running
  Data Replication Services
    Configuration:                      running         running
    Alerts:                             running         running
    Security content:                   running         running
Resources
      sys_disk_monitor:                 running         running
      sys_ether1_monitor:               running         running	
      fe_address:                       off             off
      fe_correlator:                    running         off
      fe_cmsapi:                        running         off
      fe_dbmgd:                         running         off
      fe_vsmon:                         running         off
      fe_aggregator:                    running         off
      fe_aggr:                          running         off
      fe_fedb:                          running         running
      fe_webui:                         running         off
      fe_redis:                         running         off
      fe_peer_service:                  running         off
      fe_notification:                  running         off
      fe_http:                          running         running
      fe_appmgrd:                       running         off
Note: please see CLI "show ha replication data status" for database replication status

node1 #

User role

Admin, Operator, or Monitor

Command mode

Enable

Supported appliances

This command is supported on the following appliances running the specified releases or later:

  • Central Management System: Before Release 6.4.0. The output fields changed in Release 7.7.0, Release 8.3.0 and Release 8.6.0. The detail and monitor parameters were deprecated in Release 7.7.0.

Note

For more information about Central Management System HA, see the Central Management System High Availability Guide.