I have a ES cluster showing the status as red.
{ "cluster_name": "elasticsearch", "status": "red", "timed_out": false, "number_of_nodes": 10, "number_of_data_nodes": 7, "active_primary_shards": 4431, "active_shards": 8862, "relocating_shards": 12, "initializing_shards": 0, "unassigned_shards": 20 }
I have so far tried to rolling restart the data nodes after disabling shard allocation, but cannot see any progress. Could someone be able to provide me a few hints on what to check further?
You have "unassigned_shards": 20
in health check response. This is most likely caused because data nodes in the Elasticsearch cluster lack free storage space. As explained here you can:
Use the
/_cat/indices
Elasticsearch API to determine which of the indices are unassigned to nodes in your clusterYou can also use the
_cat/allocation?v
API to check shard allocation and disk usage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With