# Can I change type of current master node

**URL:** <https://discuss.elastic.co/t/can-i-change-type-of-current-master-node/18891>\
**Category:** Elasticsearch\
**Created:** [July 25, 2014, 7:05am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node/18891 "2014-07-25T07:05:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thangman22](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thangman22/32/1374_2.png) [@thangman22](https://discuss.elastic.co/u/thangman22)\
**Post date:** [July 25, 2014, 7:05am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node/18891/1 "2014-07-25T07:05:26Z")

</div>

We have 3 nodes of elastic search all nodes is mater=true and data=true. When we try to find the best practice almost is recommend to setup 1 node for master=true,data=false and another 2 nodes is master=false,data=true. So if we need to change it how going on with current master node. It will be automatic allocation? or we have to delete and insert data again?

For another question Do you have any configuration suggestion detail is bellow

**Hard ward for all nodes**  
CPU 3.4 8 core  
Ram 32 GB  
HDD raid 0 1TB  
Current heap size 18GB  
Elasticsearch Data 160GB | 108,190,284 records

---

<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:** [July 6, 2017, 1:13am UTC](https://discuss.elastic.co/t/can-i-change-type-of-current-master-node/18891/2 "2017-07-06T01:13:12Z")

</div>


