# ElasticSearch Cluster Status is RED

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-status-is-red/72994>\
**Category:** Elasticsearch\
**Created:** [January 27, 2017, 9:58am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-red/72994 "2017-01-27T09:58:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mouli632](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@mouli632](https://discuss.elastic.co/u/mouli632)\
**Post date:** [January 27, 2017, 9:58am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-red/72994/1 "2017-01-27T09:58:30Z")

</div>

Hi,

I am having a clarification on my config file settings.  
My elasticsearch cluster has 2 nodes[192.168.0.104, 192.168.0.105]:  
Except the below lines all other lines are commented in both the elasticsearch.yml files.

# node1[192.168.0.104]

node.master:true  
bootstrap.memory\_lock: true  
network.host: 0.0.0.0  
discovery.zen.ping.unicast.hosts: ["192.168.0.107", "192.168.0.107:9200", "192.168.0.105", "192.168.0.105:9200"]  
discovery.zen.minimum\_master\_nodes: 3

# node2[192.168.0.105]

bootstrap.memory\_lock: true  
network.host: 0.0.0.0  
discovery.zen.ping.unicast.hosts: ["192.168.0.104", "192.168.0.104:9200", "192.168.0.104:8080"]

Based on this configuration i am getting the status as RED and the health is 67%.  
Can someone validate the ip's i set in the config files are correct or not and please let me know to get the green status with 100% health?

Thanks,

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 27, 2017, 10:37am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-red/72994/2 "2017-01-27T10:37:26Z")

</div>

> [@mouli632](#):
>
> discovery.zen.minimum\_master\_nodes: 3

If you only have 2 or 3 master eligible nodes in the cluster, this parameter should be set to 2, not 3.

---

<div class="post-metadata">

**Author:** ![mouli632](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@mouli632](https://discuss.elastic.co/u/mouli632)\
**Post date:** [January 27, 2017, 12:49pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-red/72994/3 "2017-01-27T12:49:27Z")

</div>

Thanks for the response Chris.

I set discovery.zen.minimum\_master\_nodes: 2 but still hanged at same health status 67%.  
Do you have any other thoughts? Does the configuration parameters are correct or am i missing anything?

Thanks  
Mouli

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 24, 2017, 12:49pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-red/72994/4 "2017-02-24T12:49:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
