Verifying the Cluster and its Nodes

After setting up an Elasticsearch cluster, you can verify whether a cluster and its nodes are created by using the Elasticsearch Interact page.

The Elasticsearch Interact page (available with PeopleTools 8.55.15) enables you to retrieve information from the Elasticsearch server regarding the statistics of a cluster and node among other information.

On the Elasticsearch Interact page, in the Service Type drop-down list, select Cluster and in the Cluster API drop-down list, select _cluster/stats?pretty=true.

See Administering Elasticsearch Using the Elasticsearch Interact Page.

Alternatively, you can verify the cluster setup by executing the following command in a browser:

http(s)://host:port/_cluster/stats?

Where, host refers to the Elasticsearch host.

Enter the Elasticsearch user credentials (esadmin) when prompted for login information.

The cluster and node information can be found in the nodes/count/total section of the response.

Description of Color Codes for Elasticsearch Cluster

The status of the Elasticsearch cluster is indicated by the following color codes:

  • Green - Indicates that the Elasticsearch cluster is fully operational. That is, all primary and replica shards are allocated.

  • Yellow - Indicates a warning. All primary shards are allocated, but at least one replica is missing. Data is not missing, so search results will still be complete. However, high availability is compromised to some degree. If more shards disappear, data maybe lost.

  • Red - Indicates that at least one primary shard (and all of its replicas) is missing. That is, data is missing and as a result searches will return partial results and indexing of the missing shard will return an exception.