# Elasticsearch Cluster Addition of new node to existing cluster

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-addition-of-new-node-to-existing-cluster/169431>\
**Category:** Elasticsearch\
**Created:** [February 21, 2019, 2:23pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-addition-of-new-node-to-existing-cluster/169431 "2019-02-21T14:23:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikesh/32/86579_2.png) [@Nikesh](https://discuss.elastic.co/u/Nikesh)\
**Post date:** [February 21, 2019, 2:23pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-addition-of-new-node-to-existing-cluster/169431/1 "2019-02-21T14:23:16Z")

</div>

Hi,

I have installed Elasticsearch 6.4.0 through rpm on my 3 node cluster( one master and two data nodes). This is working well and fine.  
I have added a new node to this cluster but the method I employed is wrong is what assume.  
I have just copied files from one of my data nodes. While starting this node and checking the status, I get the following issue :

`[INFO][o.e.d.z.ZenDiscovery] [search_slave3] failed to send join request to master [{search_master}{EfH2fXTIQQuc_x90vM78Sg}{h18cjcdYSA-XrOfhxyQIWQ}{10.50.1.102}{10.50.1.102:9300}{ml.machine_memory=16656236544, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}], reason [RemoteTransportException[[search_master][10.50.1.102:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {search_slave3}{fjUpFsbyRrSeN4I18Tmewg}{EbZIfU4BT920PnULwHfZNA}{10.50.1.228}{10.50.1.228:9300}{ml.machine_memory=16170930176, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, found existing node {search_slave2}{fjUpFsbyRrSeN4I18Tmewg}{T1lvyZjLTnqNcaATdkEJUg}{10.50.1.100}{10.50.1.100:9300}{ml.machine_memory=16656232448, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true} with the same id but is a different node instance]; ]`

From what I know the node ID of the new node and the node from where it was copied from are the same, which is very obvious.  
The solutions I see from the internet is to delete files from "/var/lib/elasticsearch" directory as it contains data related to previous nodes. This directory contains folders "elasticsearch" ,"nodes" and "hprof" files. I have deleted all of these files. Yet, I am still getting the same issue. What are the other files still containing this information? I understand this is a wrong method of installation. But I am not in a condition to reinstall it.  
Could you please provide any information regarding this?

---

<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:** [March 21, 2019, 2:23pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-addition-of-new-node-to-existing-cluster/169431/2 "2019-03-21T14:23:17Z")

</div>

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