# Elasticsearch nodes work wrong

**URL:** <https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439>\
**Category:** Elasticsearch\
**Created:** [February 26, 2018, 6:36am UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439 "2018-02-26T06:36:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasti\_gh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hasti_gh/32/28165_2.png) [@hasti\_gh](https://discuss.elastic.co/u/hasti_gh)\
**Post date:** [February 26, 2018, 6:36am UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439/1 "2018-02-26T06:36:57Z")

</div>

hi  
i have a question about nodes in a cluster in ES. i have 4 nodes in my cluster for example :  
host ip heap.percent ram.percent load node.role master name  
Switch182 127.0.1.1 13 9 0.00 d \* Cadaver  
Porniko 192.168.1.32 4 43 d m Wiz Kid  
ENAYATI-PC 192.168.1.215 7 51 d m Killraven  
Ghobakhlo 192.168.0.231 7 48 d m Architect

ES work correctly but sometimes when node Wiz Kid become down or become start some CRUD dont work.for example Wiz Kid is start and DELETE in ES does not work and when Wiz Kid become down it work.why???  
in a error that ES show it saied some shards are failed becouse of 192.168.1.32.  
is it possible that 2 nodes become master in a time??? and this is result of this problem?? is it correct that nodes in ES are depend to each other or not???  
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:** [February 26, 2018, 9:01am UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439/2 "2018-02-26T09:01:57Z")

</div>

What do you have ‘minimum\_master\_nodes’ set to in your config? As you seem to have 4 master eligible nodes it should be 3.

---

<div class="post-metadata">

**Author:** ![hasti\_gh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hasti_gh/32/28165_2.png) [@hasti\_gh](https://discuss.elastic.co/u/hasti_gh)\
**Post date:** [February 26, 2018, 1:04pm UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439/3 "2018-02-26T13:04:50Z")

</div>

discovery.zen.minimum\_master\_node=1  
in elasticsearch.yml in config folder i have 1 master node.  
only Switch182 127.0.1.1 13 9 0.00 d \* Cadaver is master

---

<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:** [February 27, 2018, 6:51pm UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439/4 "2018-02-27T18:51:53Z")

</div>

That is a problem. `minimum_master_nodes` need, as [described in the documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-node.html#split-brain), to be set based on the number of master eligible nodes you have in the cluster.

---

<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:** [March 27, 2018, 6:51pm UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439/5 "2018-03-27T18:51:58Z")

</div>

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