# Nodes not joing cluster

**URL:** <https://discuss.elastic.co/t/nodes-not-joing-cluster/124403>\
**Category:** Elasticsearch\
**Created:** [March 17, 2018, 2:13pm UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403 "2018-03-17T14:13:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![igormages](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igormages/32/28897_2.png) [@igormages](https://discuss.elastic.co/u/igormages)\
**Post date:** [March 17, 2018, 2:13pm UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/1 "2018-03-17T14:13:28Z")

</div>

Hello !  
I can't make my nodes join the cluster. I get an cluster uuid like _na_...  
I don't know if this is because i upgraded to 6.2.2 from 5.X (5.3 or 5.6 i don't remember)

```
{
  "name" : "md2es",
  "cluster_name" : "md2es",
  "cluster_uuid" : "FMIiKfV1RoGhkd-jBiAe4g",
  "version" : {
    "number" : "6.2.2",
    "build_hash" : "10b1edd",
    "build_date" : "2018-02-16T19:01:30.685723Z",
    "build_snapshot" : false,
    "lucene_version" : "7.2.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

```

And in the other node i got that

```
{
  "name" : "md2puteaux",
  "cluster_name" : "md2es",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "6.2.2",
    "build_hash" : "10b1edd",
    "build_date" : "2018-02-16T19:01:30.685723Z",
    "build_snapshot" : false,
    "lucene_version" : "7.2.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

```

Here is my yml :  
cluster.name: "md2es"  
node.name: "md2puteaux"  
path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
#network.bind\_host: 0  
network.host: 0.0.0.0  
discovery.zen.ping.unicast.hosts: ["ip:9300"]  
bootstrap.memory\_lock: true

Thanks for help

---

<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:** [March 17, 2018, 3:30pm UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/2 "2018-03-17T15:30:57Z")

</div>

> [@igormages](#):
>
> discovery.zen.ping.unicast.hosts: ["ip:9300"]

This need to contain the IP of the other node? Is that what you have in your config?

If you have 2 master eligible nodes you should also set `minimum_master_nodes` to 2.

---

<div class="post-metadata">

**Author:** ![igormages](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igormages/32/28897_2.png) [@igormages](https://discuss.elastic.co/u/igormages)\
**Post date:** [March 18, 2018, 11:24pm UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/3 "2018-03-18T23:24:02Z")

</div>

I just masked my ip for confidentiality...

---

<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:** [March 19, 2018, 6:58am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/4 "2018-03-19T06:58:24Z")

</div>

Yes, but which IP is that?

---

<div class="post-metadata">

**Author:** ![igormages](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igormages/32/28897_2.png) [@igormages](https://discuss.elastic.co/u/igormages)\
**Post date:** [March 19, 2018, 8:18am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/5 "2018-03-19T08:18:03Z")

</div>

It's the ip of my other server. And in my other server I put the ip of the first server.

---

<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:** [March 19, 2018, 9:04am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/6 "2018-03-19T09:04:56Z")

</div>

Any firewall blocking access to port 9300? Are you able to telnet from one host to port 9300 on the other?

---

<div class="post-metadata">

**Author:** ![igormages](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igormages/32/28897_2.png) [@igormages](https://discuss.elastic.co/u/igormages)\
**Post date:** [March 19, 2018, 10:54am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/7 "2018-03-19T10:54:09Z")

</div>

Yeah, all ports are open. Everything is fine. I have 2 elastics servers, they work fine in the cluster. I need to disable one and put a new one. But the new server (same config) don't join the cluster...

---

<div class="post-metadata">

**Author:** ![igormages](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igormages/32/28897_2.png) [@igormages](https://discuss.elastic.co/u/igormages)\
**Post date:** [March 21, 2018, 11:17am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/9 "2018-03-21T11:17:38Z")

</div>

Up ? I'm still trying everything and I don't found a solution... Now sometimes I get the same cluster uuid instead of _na_..... but shards are not joining... I don't have logs for that.  
I tried to increase the number of replicas...

---

<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:** [March 21, 2018, 11:21am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/10 "2018-03-21T11:21:56Z")

</div>

Can you telnet to from one node to the other on port 9300? Is there anything in the Elasticsearch logs? Can you add both IP addresses to `discovery.zen.ping.unicast.hosts` just to make sure it is symmetrical? Do you have any other non-default configuration settings?

---

<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:** [April 18, 2018, 11:22am UTC](https://discuss.elastic.co/t/nodes-not-joing-cluster/124403/11 "2018-04-18T11:22:03Z")

</div>

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