# How to separate Master from data node with rolling restart?

**URL:** <https://discuss.elastic.co/t/how-to-separate-master-from-data-node-with-rolling-restart/2028>\
**Category:** Elasticsearch\
**Created:** [June 5, 2015, 4:36pm UTC](https://discuss.elastic.co/t/how-to-separate-master-from-data-node-with-rolling-restart/2028 "2015-06-05T16:36:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [June 5, 2015, 4:36pm UTC](https://discuss.elastic.co/t/how-to-separate-master-from-data-node-with-rolling-restart/2028/1 "2015-06-05T16:36:13Z")

</div>

Currently I have 4 node cluster and each node can be master. I.e: using default setting plus N/2 + 1 quorum setting.

Now I want to setup dedicated master node.

Can I simply set "transient.routing.allocation.enable": "none" then roll restart each node and make sure to point to the dedicated master and also set master to false?

---

<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, 12:09am UTC](https://discuss.elastic.co/t/how-to-separate-master-from-data-node-with-rolling-restart/2028/2 "2017-07-06T00:09:22Z")

</div>

Closed on July 6, 2017, 12:09am UTC


