# Unable to add node to the Elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487>\
**Category:** Elasticsearch\
**Created:** [July 23, 2021, 1:48pm UTC](https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487 "2021-07-23T13:48:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sathiraju\_Eswar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sathiraju_eswar/32/92055_2.png) [@Sathiraju\_Eswar](https://discuss.elastic.co/u/Sathiraju_Eswar)\
**Post date:** [July 23, 2021, 1:48pm UTC](https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487/1 "2021-07-23T13:48:57Z")

</div>

I am newbie to elastic search clustering. I am trying to setup a simple cluster with two nodes(not adviced) for experimental purpose. My nodes are my laptop and my desktop.

The master node elastic search configuration :

```auto
cluster.name: my-cluster
node.name: master-1
node.master: true
node.data: true 
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch 
network.host: [_local_,_site_] 
http.port: 9200 
discovery.seed_hosts: ["<master-ip>","<node-ip>"] 
cluster.initial_master_nodes: ["master-1"] 

```

The data node elastic search config file:

```auto
cluster.name: my-cluster
node.name: data-1
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: [_local_,_site_]
http.port: 9200
discovery.seed_hosts: ["<master-ip>","<node-ip>"] 
cluster.initial_master_nodes: ["master-1"] 

```

I am able to telnet the master-node from the data-node but when I check the number of nodes on the master, I see only one node.

What am I missing here?

---

<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 25, 2021, 11:15pm UTC](https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487/2 "2021-07-25T23:15:00Z")

</div>

Welcome to our community! 😃

It'd help to share the logs from each node.

---

<div class="post-metadata">

**Author:** ![Sathiraju\_Eswar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sathiraju_eswar/32/92055_2.png) [@Sathiraju\_Eswar](https://discuss.elastic.co/u/Sathiraju_Eswar)\
**Post date:** [July 28, 2021, 5:43pm UTC](https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487/3 "2021-07-28T17:43:24Z")

</div>

The logs of each node are not fitting in the text space given below. However, the logs show only security warning. Is there anything else that will help.

---

<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 28, 2021, 11:20pm UTC](https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487/4 "2021-07-28T23:20:39Z")

</div>

Feel free to use gist/pastebin/etc and provide a link here, but they will be useful.

---

<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:** [August 25, 2021, 11:20pm UTC](https://discuss.elastic.co/t/unable-to-add-node-to-the-elasticsearch-cluster/279487/5 "2021-08-25T23:20:49Z")

</div>

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