# Prioritize a Master node in a Cluster

**URL:** <https://discuss.elastic.co/t/prioritize-a-master-node-in-a-cluster/140446>\
**Category:** Elasticsearch\
**Created:** [July 18, 2018, 5:43am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-a-cluster/140446 "2018-07-18T05:43:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malc0lm](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Malc0lm](https://discuss.elastic.co/u/Malc0lm)\
**Post date:** [July 18, 2018, 5:43am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-a-cluster/140446/1 "2018-07-18T05:43:24Z")

</div>

Hello,  
I would like to ask again a question that was raised previously in a post with the (almost) same title (I could not reopen it).

I wonder if there is a way to prioritize master nodes so that a particular machine will be preferred in the election process. This is to control the master's location or host (i.e. resources) if there are differences between machines.

A simple example could be a small cluster of 3 hosts, 1 would be master only and the 2 others master + data. I'd like the master only to be master obviously, but if anything happens to it the 2 data nodes can takes over that role.

This is to save on resources while maintaining some of the good design principles.  
It seems better than 1 master only, or 3 master+data combined nodes.

When the master comes back he can take its role back as well.

Thank you,  
Sebastien

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 18, 2018, 6:14am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-a-cluster/140446/2 "2018-07-18T06:14:45Z")

</div>

No. This does not exist AFAIK.

---

<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 15, 2018, 6:15am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-a-cluster/140446/3 "2018-08-15T06:15:01Z")

</div>

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