# Cluster issue

**URL:** <https://discuss.elastic.co/t/cluster-issue/112007>\
**Category:** Elasticsearch\
**Created:** [December 15, 2017, 3:32pm UTC](https://discuss.elastic.co/t/cluster-issue/112007 "2017-12-15T15:32:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SJN8](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@SJN8](https://discuss.elastic.co/u/SJN8)\
**Post date:** [December 15, 2017, 3:32pm UTC](https://discuss.elastic.co/t/cluster-issue/112007/1 "2017-12-15T15:32:46Z")

</div>

Hi ,

I have two nodes in my cluster , but while starting both nodes , they are not joining cluster but running independently .

Please let know what could be the issue ?

---

<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:** [December 15, 2017, 3:47pm UTC](https://discuss.elastic.co/t/cluster-issue/112007/2 "2017-12-15T15:47:01Z")

</div>

If both are master-eligible, do you have `minimum_master_nodes` set to `2`?

---

<div class="post-metadata">

**Author:** ![SJN8](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@SJN8](https://discuss.elastic.co/u/SJN8)\
**Post date:** [December 15, 2017, 3:49pm UTC](https://discuss.elastic.co/t/cluster-issue/112007/3 "2017-12-15T15:49:40Z")

</div>

no i changed it to 1 . then after also it is not joining cluster .

my question is they should join cluster either both as master or 1 master and 1 slave . But same is not happening .

Also my two nodes are in SAME LAN but still there is no communication .

---

<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:** [December 15, 2017, 3:51pm UTC](https://discuss.elastic.co/t/cluster-issue/112007/4 "2017-12-15T15:51:16Z")

</div>

If you have a cluster with 2 or 3 master-eligible nodes, `minimum_master_nodes` should be set to `2`, not `1`. Change this and try again. You may also want to [read this](https://www.elastic.co/guide/en/elasticsearch/reference/6.1/modules-node.html#split-brain) for further details of why this is the correct setting.

---

<div class="post-metadata">

**Author:** ![SJN8](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@SJN8](https://discuss.elastic.co/u/SJN8)\
**Post date:** [December 15, 2017, 3:54pm UTC](https://discuss.elastic.co/t/cluster-issue/112007/5 "2017-12-15T15:54:18Z")

</div>

It is up to us that we can set the count of master eligible nodes .  
so i just want 1 master eligible node .  
minimum\_master\_nodes=1 , it is just a 2 node cluster and i only want one master then one who starts first would become master and other would be slave .

please correct me if i am wrong here . also let know what all details i need to provide .

---

<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:** [December 15, 2017, 3:57pm UTC](https://discuss.elastic.co/t/cluster-issue/112007/6 "2017-12-15T15:57:21Z")

</div>

If only one of the two nodes is master eligible, you can safely set it to 1.

If both nodes however are master eligible, you can end up with a split brain scenario if you set it to 1, which seems to be what happened in your case. When you set it to 2, it means that both nodes need to be present in order to elect a master. If you want the cluster to be able to continue operating fully even if a node goes down, you therefore need a minimum of 3 master eligible nodes in the cluster.

This is explained in the docs I linked to.

---

<div class="post-metadata">

**Author:** ![SJN8](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@SJN8](https://discuss.elastic.co/u/SJN8)\
**Post date:** [December 18, 2017, 9:27am UTC](https://discuss.elastic.co/t/cluster-issue/112007/7 "2017-12-18T09:27:26Z")

</div>

OKay , i will check with above suggestions .

can you please help on below ?

[2017-12-18T09:41:12,340][INFO][o.e.n.Node] [SBIT-NODE-test] starting ...  
[2017-12-18T09:41:12,474][INFO][o.e.t.TransportService] [SBIT-NODE-test] publish\_address {local\_host}, bound\_addresses {local\_host}  
[2017-12-18T09:41:12,566][INFO][o.e.b.BootstrapChecks] [SBIT-NODE-test] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks  
[2017-12-18T09:41:12,570][ERROR][o.e.b.Bootstrap] [SBIT-NODE-test] node validation exception  
[1] bootstrap checks failed  
[1]: max file descriptors [16384] for elasticsearch process is too low, increase to at least [65536]  
[2017-12-18T09:41:12,573][INFO][o.e.n.Node] [SBIT-NODE-test] stopping ...  
[2017-12-18T09:41:12,592][INFO][o.e.n.Node] [SBIT-NODE-test] stopped  
[2017-12-18T09:41:12,592][INFO][o.e.n.Node] [SBIT-NODE-test] closing ...  
[2017-12-18T09:41:12,602][INFO][o.e.n.Node] [SBIT-NODE-test] closed

i am getting above issue while starting node .

---

<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:** [December 18, 2017, 9:29am UTC](https://discuss.elastic.co/t/cluster-issue/112007/8 "2017-12-18T09:29:55Z")

</div>

You can read about bootstrap check and how to address them [here](https://www.elastic.co/guide/en/elasticsearch/reference/6.1/bootstrap-checks.html).

---

<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:** [January 15, 2018, 9:30am UTC](https://discuss.elastic.co/t/cluster-issue/112007/9 "2018-01-15T09:30:15Z")

</div>

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