# Adding a node to cluster

**URL:** <https://discuss.elastic.co/t/adding-a-node-to-cluster/315239>\
**Category:** Elasticsearch\
**Created:** [September 27, 2022, 7:16am UTC](https://discuss.elastic.co/t/adding-a-node-to-cluster/315239 "2022-09-27T07:16:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulgupta18](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@rahulgupta18](https://discuss.elastic.co/u/rahulgupta18)\
**Post date:** [September 27, 2022, 7:16am UTC](https://discuss.elastic.co/t/adding-a-node-to-cluster/315239/1 "2022-09-27T07:16:43Z")

</div>

Hi ,

I am looking to add one more node to our existing 2-node ELK cluster running in production.

We're running version 8.1.

I was looking at the elasticsearch documents, for 8.1, it says just to add the cluster name and discovery seed hosts on the new spun up node to add it to the existing cluster.

> **[Add and remove nodes in your cluster | Elasticsearch Guide \[8.1\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/add-elasticsearch-nodes.html#add-elasticsearch-nodes)**

While with 8.4, it says we can do it via enrolment token.

> **[Add and remove nodes in your cluster | Elasticsearch Guide \[8.4\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/add-elasticsearch-nodes.html)**

When I was initially deploying the cluster, I added the second node using the enrolment token which automatically pushed the config in the elasticsearch.yml file on the secondary node and synchronised the config with master node.

I wanted to confirm if I can use the enrolment token method on 8.1 to add the third node to the cluster or do I need to manually make changes in elasticsearch.yml file and copy the certificates.

Also, are there any pre-requisites to be taken care of prior addition of third node as this is a production environment and if something goes bad while adding the new node, it can be rolled back?

Thanks,  
Rahul

---

<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:** [October 5, 2022, 5:24am UTC](https://discuss.elastic.co/t/adding-a-node-to-cluster/315239/2 "2022-10-05T05:24:15Z")

</div>

You can use the enrolment token approach 🙂

---

<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 2, 2022, 5:25am UTC](https://discuss.elastic.co/t/adding-a-node-to-cluster/315239/3 "2022-11-02T05:25:10Z")

</div>

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