# Is it possible to make the cluster favor a node as it's master?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-make-the-cluster-favor-a-node-as-its-master/49269>\
**Category:** Elasticsearch\
**Created:** [May 5, 2016, 8:44am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-the-cluster-favor-a-node-as-its-master/49269 "2016-05-05T08:44:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuval\_Khalifa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuval_khalifa/32/9604_2.png) [@Yuval\_Khalifa](https://discuss.elastic.co/u/Yuval_Khalifa)\
**Post date:** [May 5, 2016, 8:44am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-the-cluster-favor-a-node-as-its-master/49269/1 "2016-05-05T08:44:24Z")

</div>

Hi,

I have a small cluster built of 4 nodes which only 3 of them are data nodes. Currently, all four of them are master eligible which is of course not a very good idea because all the three nodes are busy handling their data. But since that I don't have an option to add two more nodes to the cluster, I would like to know if it is possible somehow to make the cluster choose the fourth node (which is configured as node.data: false) to be its master node and only when it's not available to choose another node randomly. Is that doable?

Thanks a lot,  
Yuval.

---

<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:** [May 5, 2016, 9:26am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-the-cluster-favor-a-node-as-its-master/49269/2 "2016-05-05T09:26:58Z")

</div>

No it is not.

---

<div class="post-metadata">

**Author:** ![thn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thn/32/8061_2.png) [@thn](https://discuss.elastic.co/u/thn)\
**Post date:** [May 5, 2016, 10:22am UTC](https://discuss.elastic.co/t/is-it-possible-to-make-the-cluster-favor-a-node-as-its-master/49269/3 "2016-05-05T10:22:28Z")

</div>

You can make the fourth node as a client node and direct traffic there, instead of using the master node(s)

---

<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 5, 2017, 10:53pm UTC](https://discuss.elastic.co/t/is-it-possible-to-make-the-cluster-favor-a-node-as-its-master/49269/4 "2017-07-05T22:53:48Z")

</div>


