# Configuration to add data node to Elastic production cluster

**URL:** <https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188>\
**Category:** Elasticsearch\
**Created:** [April 24, 2019, 8:33am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188 "2019-04-24T08:33:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivektsb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivektsb/32/49029_2.png) [@vivektsb](https://discuss.elastic.co/u/vivektsb)\
**Post date:** [April 24, 2019, 8:33am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188/1 "2019-04-24T08:33:27Z")

</div>

Hi,

If we want to add/extend cluster size is this sufficient to modify only elasticsearch.yml file on new node.or Do we need to modify configuration on existing master nodes as well?What we mean is only lets say node-4 is new data node  
On data node  
discovery.zen.ping.unicast.hosts: ["node-1","node-2",node-3","node-4"] is sufficient ?on master nodes as well we need to made this change.

Thanks,  
Vivek

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 24, 2019, 8:41am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188/2 "2019-04-24T08:41:03Z")

</div>

If the new node is not master-eligible (i.e. has `node.master: false`) then you do not need to adjust `discovery.zen.ping.unicast.hosts` on any existing nodes, since this setting only needs to list the master-eligible nodes in the cluster.

---

<div class="post-metadata">

**Author:** ![vivektsb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivektsb/32/49029_2.png) [@vivektsb](https://discuss.elastic.co/u/vivektsb)\
**Post date:** [April 24, 2019, 8:47am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188/3 "2019-04-24T08:47:02Z")

</div>

Hi,

Thanks for quick reply.Since it is only data node node.master: false,node.ingest:false.So even on data node node-4 configuration  
discovery.zen.ping.unicast.hosts: ["node-1","node-2",node-3"] is enough right...

Regards,  
Vivek

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 24, 2019, 8:48am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188/4 "2019-04-24T08:48:39Z")

</div>

Yes, that's right.

---

<div class="post-metadata">

**Author:** ![vivektsb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivektsb/32/49029_2.png) [@vivektsb](https://discuss.elastic.co/u/vivektsb)\
**Post date:** [April 24, 2019, 8:49am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188/5 "2019-04-24T08:49:10Z")

</div>

Sure...Thanks...

---

<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:** [May 22, 2019, 8:49am UTC](https://discuss.elastic.co/t/configuration-to-add-data-node-to-elastic-production-cluster/178188/6 "2019-05-22T08:49:15Z")

</div>

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