# Nodes not joining the cluster

**URL:** <https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870>\
**Category:** Elasticsearch\
**Created:** [November 30, 2018, 8:33am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870 "2018-11-30T08:33:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aayushi\_Jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aayushi_jain/32/37959_2.png) [@Aayushi\_Jain](https://discuss.elastic.co/u/Aayushi_Jain)\
**Post date:** [November 30, 2018, 8:33am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870/1 "2018-11-30T08:33:20Z")

</div>

I have 3 nodes, 2 with same config and one with different config. I have installed same version of elastic 6.2.3 in all of them and have started the service again after giving same cluster names to all three and default settings. All three services are running but the nodes are behaving as single node cluster.

I tried to set zen.multicast to false but it throws error that some required plugin is not installed.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 30, 2018, 10:52am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870/2 "2018-11-30T10:52:20Z")

</div>

This sounds like a [split-brain situation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#split-brain). If you have three master-eligible nodes then `discovery.zen.minimum_master_nodes` must be set to at least 2 to avoid this. I think you also might be missing the [`discovery.zen.ping.unicast.hosts`](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#unicast) setting.

> [@Aayushi\_Jain](#):
>
> I tried to set zen.multicast to false but it throws error that some required plugin is not installed.

Multicast discovery was moved to a plugin in 2.0 and [removed in 5.0](https://www.elastic.co/guide/en/elasticsearch/plugins/5.0/discovery-multicast.html). In 6.2.3 there is no such setting.

---

<div class="post-metadata">

**Author:** ![Aayushi\_Jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aayushi_jain/32/37959_2.png) [@Aayushi\_Jain](https://discuss.elastic.co/u/Aayushi_Jain)\
**Post date:** [November 30, 2018, 10:59am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870/3 "2018-11-30T10:59:29Z")

</div>

So on all the 3 nodes, I will set minimum\_master\_nodes to 2. And since all my nodes are master, will unicast.hosts will list all 3 hosts on every server?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 30, 2018, 11:13am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870/4 "2018-11-30T11:13:49Z")

</div>

> [@Aayushi\_Jain](#):
>
> So on all the 3 nodes, I will set minimum\_master\_nodes to 2. And since all my nodes are master, will unicast.hosts will list all 3 hosts on every server?

Exactly, yes.

---

<div class="post-metadata">

**Author:** ![Aayushi\_Jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aayushi_jain/32/37959_2.png) [@Aayushi\_Jain](https://discuss.elastic.co/u/Aayushi_Jain)\
**Post date:** [November 30, 2018, 11:16am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870/5 "2018-11-30T11:16:28Z")

</div>

It worked, thank you so much.

---

<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:** [December 28, 2018, 11:16am UTC](https://discuss.elastic.co/t/nodes-not-joining-the-cluster/158870/6 "2018-12-28T11:16:34Z")

</div>

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