# Two nodes belongs to different different server not able to communicate each other within a Cluster

**URL:** <https://discuss.elastic.co/t/two-nodes-belongs-to-different-different-server-not-able-to-communicate-each-other-within-a-cluster/216815>\
**Category:** Elasticsearch\
**Created:** [January 28, 2020, 10:48am UTC](https://discuss.elastic.co/t/two-nodes-belongs-to-different-different-server-not-able-to-communicate-each-other-within-a-cluster/216815 "2020-01-28T10:48:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GuptaN](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@GuptaN](https://discuss.elastic.co/u/GuptaN)\
**Post date:** [January 28, 2020, 10:48am UTC](https://discuss.elastic.co/t/two-nodes-belongs-to-different-different-server-not-able-to-communicate-each-other-within-a-cluster/216815/1 "2020-01-28T10:48:45Z")

</div>

Hi,

I just want to make two nodes cluster which are running on different different server.  
One node is for only master eligible node and other one will work as both master and data node.  
When i run the master eligible node, getting below mentioned error

```
[o.e.c.c.ClusterFormationFailureHelper] [master_node] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [hostname1, hostname2] to bootstrap a cluster: have discovered [{master_node}{Qx1Zge11T0-cg___qP6NHA}{oDjCWGbbTW6SAUXHP-QKZg}{localhost}{127.0.0.1:9300}{ilm}{ml.machine_memory=33466339328, xpack.installed=true, ml.max_open_jobs=20}]; discovery will continue using [hostname1:9300, hostname2:9300] from hosts providers and [{master_node}{Qx1Zge11T0-cg___qP6NHA}{oDjCWGbbTW6SAUXHP-QKZg}{localhost}{127.0.0.1:9300}{ilm}{ml.machine_memory=33466339328, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
```

---

<div class="post-metadata">

**Author:** ![GuptaN](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@GuptaN](https://discuss.elastic.co/u/GuptaN)\
**Post date:** [January 28, 2020, 10:58am UTC](https://discuss.elastic.co/t/two-nodes-belongs-to-different-different-server-not-able-to-communicate-each-other-within-a-cluster/216815/2 "2020-01-28T10:58:04Z")

</div>

elasticserach.yml fle for only master eligible node

```
            cluster.name: SYSLOG_Cluster1
             node.name: master_node
             node.master: true
             node.data: false
             path.data: /opt/data/elasticsearch
             path.logs: /var/log/elasticsearch
             network.host: hostname1
             transport.host: localhost
             http.port: 9200
             discovery.seed_hosts: ["hostname1","hostname2"]
              cluster.initial_master_nodes: ["hostname1","hostname2"]
```

---

<div class="post-metadata">

**Author:** ![GuptaN](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@GuptaN](https://discuss.elastic.co/u/GuptaN)\
**Post date:** [January 28, 2020, 11:02am UTC](https://discuss.elastic.co/t/two-nodes-belongs-to-different-different-server-not-able-to-communicate-each-other-within-a-cluster/216815/3 "2020-01-28T11:02:38Z")

</div>

I am using latest version of elastic search("elasticsearch-7.5.2-x86\_64.rpm")  
elasticserach.yml fle for both master and data eligible node :

```
cluster.name: SYSLOG_Cluster1
         node.name: master_data_node
         node.master: true
         node.data: true
         path.data: /var/lib/elasticsearch
         path.logs: /var/log/elasticsearch
         network.host: hostname2
         transport.host: localhost
         http.port: 9200
         discovery.seed_hosts: ["hostname1","hostname2"]
          cluster.initial_master_nodes: ["hostname1","hostname2"]
```

---

<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:** [February 25, 2020, 11:02am UTC](https://discuss.elastic.co/t/two-nodes-belongs-to-different-different-server-not-able-to-communicate-each-other-within-a-cluster/216815/4 "2020-02-25T11:02:42Z")

</div>

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