# Having trouble adding node to ES cluster

**URL:** <https://discuss.elastic.co/t/having-trouble-adding-node-to-es-cluster/90298>\
**Category:** Elasticsearch\
**Created:** [June 21, 2017, 1:43pm UTC](https://discuss.elastic.co/t/having-trouble-adding-node-to-es-cluster/90298 "2017-06-21T13:43:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BMV](https://avatars.discourse-cdn.com/v4/letter/b/e47c2d/32.png) [@BMV](https://discuss.elastic.co/u/BMV)\
**Post date:** [June 21, 2017, 1:43pm UTC](https://discuss.elastic.co/t/having-trouble-adding-node-to-es-cluster/90298/1 "2017-06-21T13:43:44Z")

</div>

Hi all,

I am currently having some trouble adding a second node to my ES cluster. I have been at it for a couple of days and doing research, but none of the search hits have yielded me with any positive results.

Running ES in a Windows VM environment as follows:

Win Server 2012 R2 - masternode1 - Original 5.4.0 node - 10.0.140.32  
Win Server 2012 R2 - slavenode1 - new 5.4.0 node to be added to cluster. - 10.0.140.28

This is my elasticsearch.yml file settings for both nodes:

cluster.name: escluster  
node.name: masternode1  
network.host: 10.0.140.32  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["10.0.140.32","10.0.140.28"]

(#)discovery.zen.minimum\_master\_nodes: 2  
node.master: true  
node.data: true

* * *

cluster.name: escluster  
node.name: slavenode1  
network.host: 10.0.140.28  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["10.0.140.32","10.0.140.28"]

(#) discovery.zen.minimum\_master\_nodes: 2  
node.master: true  
node.data: true

I understand the ideal setup would be to have 3 node to prevent split brain, but if I'm not mistaken setting both nodes with node.master and node.data to "true" will prevent split brain. Please correct me if this is incorrect. I would like to add a third node to the cluster in the near future, but I need to get two nodes working first.

Things to note:

1. If I remove the comment in front of discovery.zen.minimum\_master\_nodes: 2, it will break Kibana for some reason. I get the error seen below:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/3/534171199c546ed247f38cb5deb76f6b59aa2ef4.png)

1. When I remove the comment in front of discovery.zen.minimum\_master\_nodes: 2, I still see only one node in the cluster when I check 10.0.140.32:9200/\_nodes.

2. I'm not entirely sure if I need any further details in the elasticsearch.yml files for each node to join the new node into the cluster.

Could someone please tell me where I am going wrong. Please try to keep it simple as I haven't been using ES for very long and still learning how to build this system.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6fa0b63c3ad9ae2138c7cd2afb8083e947a77058.png)

Thanks in advanced. Your time is appreciated.

BMV

---

<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 19, 2017, 1:44pm UTC](https://discuss.elastic.co/t/having-trouble-adding-node-to-es-cluster/90298/2 "2017-07-19T13:44:20Z")

</div>

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