# In a cluster, changes in elasticsearch.yml must be replicated in all nodes?

**URL:** <https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181>\
**Category:** Elasticsearch\
**Created:** [May 5, 2020, 3:41pm UTC](https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181 "2020-05-05T15:41:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [May 5, 2020, 3:41pm UTC](https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181/1 "2020-05-05T15:41:29Z")

</div>

Hi, previously I have made changes to elasticsearch.yml and replicated those changes in all nodes, no Im about to configure xpack.notification.email and I was wandering if it necessary to add this lines in all nodes in my cluster?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [May 5, 2020, 4:09pm UTC](https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181/2 "2020-05-05T16:09:27Z")

</div>

I think that depends on the layout of your cluster.. I have a master, coordinator and data nodes split and depend on what I configure I push it to the specific nodes.. I have email notification configuration item on the coordinator + data nodes for example.

---

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [May 5, 2020, 4:38pm UTC](https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181/3 "2020-05-05T16:38:38Z")

</div>

Thanks Paul, I just have three master nodes, can you please explain what do you mean with "push" the configuration?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [May 5, 2020, 5:33pm UTC](https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181/4 "2020-05-05T17:33:04Z")

</div>

Oh, we us saltstack to keep out configurations in check, this combined with git gives us a solid base. The cluster I manage has 3 master, 4 coordinator, 10 short term (ssd) and 10 longterm (hdd) nodes..

---

<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:** [June 2, 2020, 5:33pm UTC](https://discuss.elastic.co/t/in-a-cluster-changes-in-elasticsearch-yml-must-be-replicated-in-all-nodes/231181/5 "2020-06-02T17:33:06Z")

</div>

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