# Elasticsearch, cluster health: yellow

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797>\
**Category:** Elasticsearch\
**Created:** [April 19, 2016, 1:43pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797 "2016-04-19T13:43:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emran](https://avatars.discourse-cdn.com/v4/letter/e/b9bd4f/32.png) [@emran](https://discuss.elastic.co/u/emran)\
**Post date:** [April 19, 2016, 1:43pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797/1 "2016-04-19T13:43:36Z")

</div>

Hello Everyone,

We have 2 servers which are replicas.

3 Days ago both were working fine. Today I found that 1 has stopped working and states unassigned and the cluster status has changed from green to yellow.

![](https://us1.discourse-cdn.com/elastic/original/2X/8/8c474aa589f4ee26629803d73f080590844a027d.png)

Can you please explain why this may have happened and how to fix this?

Thank you

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 19, 2016, 2:22pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797/2 "2016-04-19T14:22:56Z")

</div>

> Can you please explain why this may have happened and how to fix this?

From what you posted? Not really. Logs on both nodes could help.

May be you second node is not working anymore? Or you have a network issue?  
BTW, the recommendation for production is to use 3 nodes so you'll have a Tie Breaker if you have a network issue. (set also `minimum_master_nodes: 2`.

---

<div class="post-metadata">

**Author:** ![MarkOStewart](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@MarkOStewart](https://discuss.elastic.co/u/MarkOStewart)\
**Post date:** [April 19, 2016, 2:31pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797/3 "2016-04-19T14:31:33Z")

</div>

Really don't give much to go on.  
Is ElasticSearch service running on the other node?  
Can you telnet to port 9200 and 9300 from one machine to the other and vice versa?

Give us more someone will probably be able to help!

---

<div class="post-metadata">

**Author:** ![emran](https://avatars.discourse-cdn.com/v4/letter/e/b9bd4f/32.png) [@emran](https://discuss.elastic.co/u/emran)\
**Post date:** [April 19, 2016, 2:50pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797/4 "2016-04-19T14:50:20Z")

</div>

Whilst I posted this both nodes were up and running and I could telnet to port 9200 and 9300.

I have restarted both servers, now it shows both nodes working properly with cluster status being green. However, the servers are still starting up services.

I'll update once the servers are fully up and running.

@dadoonet thanks for the information, we'll add another node in future.

Thank you guys

---

<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:** [July 5, 2017, 10:58pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-health-yellow/47797/5 "2017-07-05T22:58:00Z")

</div>


