# My Elasticsearch nodes are not joining clusters

**URL:** <https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988>\
**Category:** Elasticsearch\
**Created:** [June 29, 2018, 2:43pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988 "2018-06-29T14:43:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![warrior](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@warrior](https://discuss.elastic.co/u/warrior)\
**Post date:** [June 29, 2018, 2:43pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/1 "2018-06-29T14:43:25Z")

</div>

My cluster nodes has 3 master nodes with discover sets to 2 but they are not able to join.

failed to send join request to master

OS : redhat and default networking is mutlicast but in Elasticsearch.yml file I'm using unicast without disabling settings of mutlicast networking in redhat and the following is the error:  
failed to send join request to master

---

<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:** [June 29, 2018, 9:43pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/2 "2018-06-29T21:43:23Z")

</div>

Please show your config, your logs and what version you are using.

---

<div class="post-metadata">

**Author:** ![warrior](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@warrior](https://discuss.elastic.co/u/warrior)\
**Post date:** [June 29, 2018, 10:41pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/3 "2018-06-29T22:41:04Z")

</div>

@warkolm Thanks for the help and I sort it , it due to the installation was copied accross the machines and data folder contained the same node and it created the error and I'm creating a 11 node cluster , 3 master nodes, 2 data nodes, 2 coordinating nodes, 2 kibanas, . Would please let me know how to define the discovery for zen hosts for all servers, I think I should put all the nodes in a single cluster like this discovery.zen.ping.unicast.hosts: ["esmaster1:8510","xxxx:8510","master301:8530","datanode:8530","datanode:8530","kibana:8540","kibana:8540"] and please help me to set the password for kibana

---

<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:** [June 30, 2018, 6:53am UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/4 "2018-06-30T06:53:44Z")

</div>

> [@warkolm](#):
>
> Please show your config

^^^^

---

<div class="post-metadata">

**Author:** ![warrior](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@warrior](https://discuss.elastic.co/u/warrior)\
**Post date:** [July 2, 2018, 9:41pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/5 "2018-07-02T21:41:47Z")

</div>

@warkolm Please find the config file

[https://pastebin.com/raw/svzkCWMv](https://pastebin.com/raw/svzkCWMv)

I would also want to get a clarity on # Block initial recovery after a full cluster restart until N nodes are started:

# 

#gateway.recover\_after\_nodes: 3

I have 3 master nodes,2 data nodes, 2 kibanas,2 coordinating nodes,2 logstash, I'm little confussed about the configuaration, not sure what to mention when 1 logtash gone down , how do I would keep this

---

<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:** [July 2, 2018, 9:44pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/6 "2018-07-02T21:44:24Z")

</div>

You only need to set `discovery.zen.ping.unicast.hosts` to the master nodes.

Also you are using a non-standard port when you define the `discovery.zen.ping.unicast.hosts`, but you don't appear to be binding the transport port accordingly.

Perhaps you can also post your logs that show Elasticsearch startup.

---

<div class="post-metadata">

**Author:** ![warrior](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@warrior](https://discuss.elastic.co/u/warrior)\
**Post date:** [July 2, 2018, 10:04pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/7 "2018-07-02T22:04:17Z")

</div>

@warkolm from your point view,set discovery.zen.ping.unicast.hosts should be only for master nodes, not coordinating /data nodes

how do I configure for data nodes and cooordinating nodes, and I'm binding the tcp transport port and http port not to default port for security reasons and please find my logs over here and I do get a transport exception in my logs and pls help with it

Does Xpack Compulsory needs Data ingestion nodes and my Xpack throws the error need data ingestion nodes all the time

[https://pastebin.com/raw/uHE9BGwK](https://pastebin.com/raw/uHE9BGwK)

---

<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:** [July 2, 2018, 10:19pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/8 "2018-07-02T22:19:09Z")

</div>

> [@warrior](#):
>
> from your point view,set discovery.zen.ping.unicast.hosts should be only for master nodes, not coordinating /data nodes
> 
> how do I configure for data nodes and cooordinating nodes

You configure it to the same, just point it to the 3 master nodes. Not to _all_ nodes in the cluster.

---

<div class="post-metadata">

**Author:** ![warrior](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@warrior](https://discuss.elastic.co/u/warrior)\
**Post date:** [July 2, 2018, 10:22pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/9 "2018-07-02T22:22:30Z")

</div>

@warkolm

Thanks a lot and I appreciate for your quick responses

Can you please help me this transport exception from the elastic search cluster

My transport tcp port not binded to deafult/standard port, should I compulsory should use the standard port

[https://pastebin.com/raw/uHE9BGwK](https://pastebin.com/raw/uHE9BGwK)

Thanks,  
Naveen

---

<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 30, 2018, 10:22pm UTC](https://discuss.elastic.co/t/my-elasticsearch-nodes-are-not-joining-clusters/137988/10 "2018-07-30T22:22:32Z")

</div>

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