Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Perform a Health Check

date_range 29-Jan-25

Purpose

Perform a health check on the cluster and get an overall status of the cluster.

Action

Log in to a cluster node and use the request paragon health-check command in Paragon Shell.

Sample Output

content_copy zoom_out_map
root@primary1> request paragon health-check 
Health status checking...

=======================================================
Get node count of Kubernetes cluster.
=======================================================

OK
There are 4 nodes in the cluster.
...
<output snipped>
...
======================================================
Verifying Elasticsearch
======================================================

OK
Opensearch test...
Checking health status at opensearch-cluster-master.common:9200...
Opensearch is healthy (green).
OPENSEARCH VERIFICATION PASS

=======================================================
Overall cluster status
=======================================================

GREEN

Meaning

The command performs multiple health checks on the cluster and returns a detailed list of all the tests run and each of their results. The health-check command checks for multiple parameters such as:

  • Kubernetes status

  • Health of each node (CPU, disk space, memory, I/O latency, and so on)

  • Database health (Postgres, ArangoDB, OpenSearch, Kafka, and so on)

  • Ceph storage health

The overall health status is categorized as green, amber, or red. A green status indicates a healthy cluster and that all health checks have passed successfully. A red status that indicates that many health checks have failed and implies serious issues in the cluster. An amber status indicates that there maybe certain noncritical issues in the cluster. The status is returned amber in the following instances:

  • Nodes have taints

  • Disk usage or memory usage on any node exceeds 80% of available space.

  • Disk I/O latency on any node exceeds 100000 ms

  • Rook ceph status shows HEALTH_WARN

Note:

Alternatively, you can also use health-check command from the Linux root shell to get an overall status of the cluster.

footer-navigation