# Elasticsearch Cluster Status Yellow

**URL:** https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931
**Category:** Elasticsearch
**Created:** [August 5, 2015, 10:31pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931 "2015-08-05T22:31:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [August 5, 2015, 10:31pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/1 "2015-08-05T22:31:08Z")

</div>

Hi,

I have created a cluster with two nodes.  
Config on server1:

```auto
cluster.name: app.elasticsearch.prod
node.name: app.elasticsearch.prod.prod01

```

Config on server2:

```auto
cluster.name: app.elasticsearch.prod
node.name: app.elasticsearch.prod.prod02

```

I have stopped elasticsearch one server at a time couple of times for config modifications.  
In head plugin of each server, I see the only one local elasticsearch.  
**Data is in sync**. **But seems like both are trying to be master nodes.**

How can I resolve this?

Thanks.

---

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [August 5, 2015, 10:32pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/2 "2015-08-05T22:32:05Z")

</div>

I know I can set in one of the configuration that it cannot be master node.  
But then I can't bounce the elasticsearch as there might be missing master node.  
Please suggest.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 6, 2015, 2:14am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/3 "2015-08-06T02:14:42Z")

</div>

What does the rest of your config (minus comments) look like?

---

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [August 6, 2015, 4:40am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/4 "2015-08-06T04:40:22Z")

</div>

All other config is default except this:

```auto
path.conf: ${ELASTIC}/conf
path.data: ${ELASTIC}/data
path.logs: ${ELASTIC}/logs
path.plugins: ${ELASTIC}/plugins

```

---

<div class="post-metadata">

### Author: ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)
#### Post date: [August 6, 2015, 5:03am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/5 "2015-08-06T05:03:03Z")

</div>

did u try adding other nodes' name in unicast list and trying: [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#unicast](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#unicast)

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 6, 2015, 5:33am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/6 "2015-08-06T05:33:48Z")

</div>

Big ++ on that last one.

Also take a look at [https://www.elastic.co/guide/en/elasticsearch/guide/current/\_important\_configuration\_changes.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/_important_configuration_changes.html)

---

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [August 6, 2015, 3:25pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/7 "2015-08-06T15:25:31Z")

</div>

Thanks @mosiddi, it worked.

@warkolm, We have only two servers in the cluster, and I see the recommendation to use 3 servers and quorum of 2.  
Currently minimum\_master\_nodes is 1. Can we continue using this setting?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 6, 2015, 11:03pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/8 "2015-08-06T23:03:39Z")

</div>

You can but you are at greater risk of split brain.

---

<div class="post-metadata">

### Author: ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)
#### Post date: [August 11, 2015, 3:20pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/9 "2015-08-11T15:20:42Z")

</div>

agreed with Mark.

---

<div class="post-metadata">

### Author: ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)
#### Post date: [August 12, 2015, 5:41pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/10 "2015-08-12T17:41:28Z")

</div>

Yes. We see the risk. Planning to add another server to the production to avoid it.  
Thanks for your inputs.

---

<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, 11:56pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-yellow/26931/11 "2017-07-05T23:56:09Z")

</div>


