# How to add data nodes into a running cluster with X-pack-security:enabled

**URL:** <https://discuss.elastic.co/t/how-to-add-data-nodes-into-a-running-cluster-with-x-pack-security-enabled/192329>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 25, 2019, 10:09pm UTC](https://discuss.elastic.co/t/how-to-add-data-nodes-into-a-running-cluster-with-x-pack-security-enabled/192329 "2019-07-25T22:09:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpedalino](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@cpedalino](https://discuss.elastic.co/u/cpedalino)\
**Post date:** [July 25, 2019, 10:09pm UTC](https://discuss.elastic.co/t/how-to-add-data-nodes-into-a-running-cluster-with-x-pack-security-enabled/192329/1 "2019-07-25T22:09:59Z")

</div>

I need to add some data nodes into a running cluster, if i build the cluster without xpack-security only with a new "..apply -f data1.yaml .." the cluster increases the nodes but if i build the cluster with x-pack-security:enabled dont refresh the new nodes, Somebody knows how to set the data.yaml files? or how to overwrite the data nodes password?

---

<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 22, 2019, 10:20pm UTC](https://discuss.elastic.co/t/how-to-add-data-nodes-into-a-running-cluster-with-x-pack-security-enabled/192329/2 "2019-08-22T22:20:27Z")

</div>

Closed on August 22, 2019, 10:20pm UTC

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