# \[ES 7.4\] elasticsearch node dont see each other

**URL:** <https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355>\
**Category:** Elasticsearch\
**Created:** [October 20, 2019, 2:30pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355 "2019-10-20T14:30:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinLe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinle/32/56214_2.png) [@JustinLe](https://discuss.elastic.co/u/JustinLe)\
**Post date:** [October 20, 2019, 2:30pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/1 "2019-10-20T14:30:28Z")

</div>

Hi  
Im just start in ES about some days  
I have 3 machine in network  
ips: machine 1 : 10.255.255.6 ,machine 2 : 10.255.255.7, machine 3: 10.255.255.8  
i want to setup a es cluster with machine 1 is a master node and two other are slave node.  
I've installed ES 7.4 in 3 machine and started  
but when i check by \_cluster/state?pretty  
i cant see all node in cluster  
i find some topic with same problem but i can's resolve it  
anybody can give me a solution to fix ?

 ![49](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c42b831b24f6a93ac18bd2b07f64a407c6128796.png)  
thank you

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [October 20, 2019, 4:46pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/2 "2019-10-20T16:46:32Z")

</div>

@JustinLe

you will have to configure discovery for those nodes to start communicating with each other.  
See [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html) for detailed documentation on how to set things up.

---

<div class="post-metadata">

**Author:** ![JustinLe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinle/32/56214_2.png) [@JustinLe](https://discuss.elastic.co/u/JustinLe)\
**Post date:** [October 21, 2019, 2:47pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/3 "2019-10-21T14:47:06Z")

</div>

Thank you, Armin  
I've configed ther configuration file but it does not work  
this is my configuration  
machine 1:

> cluster.name: myCluster  
> node.name: node-0  
> node.master: true  
> node.data: true  
> network.host: 10.255.255.6  
> http.port: 9200  
> cluster.initial\_master\_nodes: ["node-0", "node-1", "node-2", "node-3"]  
> discovery.seed\_hosts: ["10.255.255.6", "10.255.255.7", "10.255.255.8", "10.255.255.9"]

machine 2:

> cluster.name: myCluster  
> node.name: node-1  
> node.master: true  
> node.data: true  
> network.host: 10.255.255.7  
> http.port: 9200  
> cluster.initial\_master\_nodes: ["node-0", "node-1", "node-2", "node-3"]  
> discovery.seed\_hosts: ["10.255.255.6", "10.255.255.7", "10.255.255.8", "10.255.255.9"]

machine 3:

> cluster.name: myCluster  
> node.name: node-2  
> node.master: true  
> node.data: true  
> network.host: 10.255.255.8  
> http.port: 9200  
> cluster.initial\_master\_nodes: ["node-0", "node-1", "node-2", "node-3"]  
> discovery.seed\_hosts: ["10.255.255.6", "10.255.255.7", "10.255.255.8", "10.255.255.9"]

machine 4:

> cluster.name: myCluster  
> node.name: node-3  
> node.master: true  
> node.data: true  
> network.host: 10.255.255.9  
> http.port: 9200  
> cluster.initial\_master\_nodes: ["node-0", "node-1", "node-2", "node-3"]  
> discovery.seed\_hosts: ["10.255.255.6", "10.255.255.7", "10.255.255.8", "10.255.255.9"]

please help me find out the wrong config

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [October 21, 2019, 3:02pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/4 "2019-10-21T15:02:04Z")

</div>

try this  
shutdown all, setup this two line on config of all node

cluster.initial\_master\_nodes: ["node-0"]  
discovery.seed\_hosts:["node-0", "node-1", "node-2", "node-3"]

now start.

if this does not work you might have to remove your path.data dir  
default is /var/data/elasticsearch/\*

---

<div class="post-metadata">

**Author:** ![JustinLe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinle/32/56214_2.png) [@JustinLe](https://discuss.elastic.co/u/JustinLe)\
**Post date:** [October 21, 2019, 3:15pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/5 "2019-10-21T15:15:25Z")

</div>

i've try but it does not work

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [October 21, 2019, 4:10pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/6 "2019-10-21T16:10:00Z")

</div>

What do the logs say after this change? There should be some intelligible warnings about the discovery/master-election process in there now.  
Also, did you ensure that the nodes can see each other network-wise (i.e. ping each other and the relevant network port (9300) is open?

---

<div class="post-metadata">

**Author:** ![JustinLe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinle/32/56214_2.png) [@JustinLe](https://discuss.elastic.co/u/JustinLe)\
**Post date:** [October 21, 2019, 4:18pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/7 "2019-10-21T16:18:34Z")

</div>

the logs dont say anything  
the instances was started well but nodes do not see each other  
i using

```auto
telnet ip 9300

```

and it connected  
i've change to one master and 3 data node. and it still does not work

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [October 21, 2019, 4:24pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/8 "2019-10-21T16:24:08Z")

</div>

@JustinLe

sorry I missed one thing here:  
See this documentation: [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html#modules-discovery-bootstrap-cluster-joining](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html#modules-discovery-bootstrap-cluster-joining)

Since you already started all the nodes once without the proper configuration they formed individual "clusters". You'll have to follow the steps in that link to merge them into a single cluster now.

---

<div class="post-metadata">

**Author:** ![JustinLe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinle/32/56214_2.png) [@JustinLe](https://discuss.elastic.co/u/JustinLe)\
**Post date:** [October 21, 2019, 4:54pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/9 "2019-10-21T16:54:52Z")

</div>

@Armin_Braun thank you Armin  
it does work  
i've spent 2 days to fix  
thank you very 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:** [November 18, 2019, 4:54pm UTC](https://discuss.elastic.co/t/es-7-4-elasticsearch-node-dont-see-each-other/204355/10 "2019-11-18T16:54:52Z")

</div>

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