# Node is not added to the cluster

**URL:** <https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579>\
**Category:** Elasticsearch\
**Created:** [October 9, 2020, 2:50pm UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579 "2020-10-09T14:50:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![djuwa4](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@djuwa4](https://discuss.elastic.co/u/djuwa4)\
**Post date:** [October 9, 2020, 2:50pm UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/1 "2020-10-09T14:50:59Z")

</div>

I created a cluster for five nodes. However, one of the nodes does not see the rest and creates a cluster where this node is the only participant. I do everything in the same way on all nodes. Here is its config:

```auto
cluster.name: lynx
node.name: poi-1
node.master: true
node.data: true
network.bind_host: 0.0.0.0
network.host: 10.10.10.13
http.port: 9200
discovery.zen.ping.unicast.hosts: [“10.10.10.11”, “10.10.10.12”, “10.10.10.13”, “10.10.10.14”, “10.10.10.15”]

```

ps: I already had a cluster with this name on these nodes, I parsed it, there were reasons for this.

Please tell me how can I fix this?

---

<div class="post-metadata">

**Author:** ![kavierkoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kavierkoo/32/86555_2.png) [@kavierkoo](https://discuss.elastic.co/u/kavierkoo)\
**Post date:** [October 9, 2020, 3:24pm UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/2 "2020-10-09T15:24:39Z")

</div>

Glad that I could help! 😀

---

<div class="post-metadata">

**Author:** ![djuwa4](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@djuwa4](https://discuss.elastic.co/u/djuwa4)\
**Post date:** [October 12, 2020, 6:19am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/3 "2020-10-12T06:19:28Z")

</div>

At the moment, you have provided moral support ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d6260bc818fc19eaa95ee656cfa710e40c1d1dc.png)  
But the problem with the cluster persists)

---

<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:** [October 12, 2020, 6:23am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/4 "2020-10-12T06:23:53Z")

</div>

It looks like you are running an older version of Elasticsearch (up to 6.x). If all your nodes are master eligible you need to set [minimum\_master\_nodes to 3](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/modules-node.html#split-brain) in order to avoid split-brain scenarios and multiple separate clusters forming.

---

<div class="post-metadata">

**Author:** ![djuwa4](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@djuwa4](https://discuss.elastic.co/u/djuwa4)\
**Post date:** [October 12, 2020, 6:39am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/5 "2020-10-12T06:39:37Z")

</div>

Yes, that's what I did - I only use three nodes as a master. And all five nodes as a "node.data".

For my problem, maybe I need to clear the old cluster data? I just don’t know how to do it. On other servers there was the same problem, each of them saw only himself in a cluster, I ran this command: curl -XDELETE localhost:9200/\_all (the current data is not very important to me, this is a test cluster) And after that four nodes gathered into a cluster, all but one.

---

<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:** [October 12, 2020, 6:54am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/6 "2020-10-12T06:54:21Z")

</div>

If you have 3 master eligible node you must set minimum\_master\_nodes to 2 unless you are using Elasticsearch 7.x. I do not see this set in your config above.

---

<div class="post-metadata">

**Author:** ![djuwa4](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@djuwa4](https://discuss.elastic.co/u/djuwa4)\
**Post date:** [October 12, 2020, 7:08am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/7 "2020-10-12T07:08:59Z")

</div>

Thank you very much! I read about discovery.zen.minimum\_master\_nodes - this is a really important parameter for cluster integrity!

---

<div class="post-metadata">

**Author:** ![djuwa4](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@djuwa4](https://discuss.elastic.co/u/djuwa4)\
**Post date:** [October 12, 2020, 8:38am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/8 "2020-10-12T08:38:39Z")

</div>

Thank you very much again! I did it!

---

<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:** [November 9, 2020, 8:38am UTC](https://discuss.elastic.co/t/node-is-not-added-to-the-cluster/251579/9 "2020-11-09T08:38:48Z")

</div>

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