# Upgrade data node to data + master node in production

**URL:** <https://discuss.elastic.co/t/upgrade-data-node-to-data-master-node-in-production/285633>\
**Category:** Elasticsearch\
**Created:** [September 30, 2021, 9:48pm UTC](https://discuss.elastic.co/t/upgrade-data-node-to-data-master-node-in-production/285633 "2021-09-30T21:48:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhargava\_kovi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhargava_kovi/32/95279_2.png) [@bhargava\_kovi](https://discuss.elastic.co/u/bhargava_kovi)\
**Post date:** [September 30, 2021, 9:48pm UTC](https://discuss.elastic.co/t/upgrade-data-node-to-data-master-node-in-production/285633/1 "2021-09-30T21:48:20Z")

</div>

I am running a production cluster with below configuration  
No of nodes:6  
memory size of each node=64GB  
No of documents=1Billion  
No of shards=5  
No of replicas=1  
All the 6 nodes are master + data nodes and there is no dedicated master only node.

However due to some reasons in the past only one of the node is configured as master and remaining nodes are configured as "node.master: false".  
Now, I would like to make the cluster as highly available, so would like to convert 2 of existing nodes as master eligible to make 3 master node configuration.  
So the question:  
If we consider A,B,C,D,E,F as nodes, where A is master today, can we directly change config file of C and E and update "node.master:true" and restart the nodes C and E?

do the existing master node A should also be restarted post config changes done in C and E?

---

<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:** [September 30, 2021, 11:56pm UTC](https://discuss.elastic.co/t/upgrade-data-node-to-data-master-node-in-production/285633/2 "2021-09-30T23:56:37Z")

</div>

What version are you on?

---

<div class="post-metadata">

**Author:** ![bhargava\_kovi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhargava_kovi/32/95279_2.png) [@bhargava\_kovi](https://discuss.elastic.co/u/bhargava_kovi)\
**Post date:** [October 1, 2021, 7:24am UTC](https://discuss.elastic.co/t/upgrade-data-node-to-data-master-node-in-production/285633/3 "2021-10-01T07:24:48Z")

</div>

Version is 7.10.1

---

<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:** [October 29, 2021, 7:25am UTC](https://discuss.elastic.co/t/upgrade-data-node-to-data-master-node-in-production/285633/4 "2021-10-29T07:25:13Z")

</div>

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