# Prioritize a Master node in ES Cluster

**URL:** <https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588>\
**Category:** Elasticsearch\
**Created:** [August 10, 2017, 10:39am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588 "2017-08-10T10:39:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukeshss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukeshss/32/46145_2.png) [@sukeshss](https://discuss.elastic.co/u/sukeshss)\
**Post date:** [August 10, 2017, 10:39am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588/1 "2017-08-10T10:39:09Z")

</div>

Hi,

My ES Cluster contains 3 Master nodes (01,02 and 03) and 3 Data nodes (04,05 and 06).  
When Master 01 goes down, either of the Master nodes 02 or 03 will act as Master.

Current Situation : When Master 01 comes online, still Master 02 or 03 will act as a Master and Data nodes will connect to Master nodes (02 or 03)

I would like to know, how can I configure these Masters in a such a way like If Master 01 comes online, the Data nodes should connect back to Master 01.

---

<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:** [August 10, 2017, 10:59am UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588/2 "2017-08-10T10:59:40Z")

</div>

Why do you think it matters?

I mean master can be 1 or 2 or 3 and why do you think it is important that it should be 1?

---

<div class="post-metadata">

**Author:** ![sukeshss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukeshss/32/46145_2.png) [@sukeshss](https://discuss.elastic.co/u/sukeshss)\
**Post date:** [August 10, 2017, 1:06pm UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588/3 "2017-08-10T13:06:17Z")

</div>

Here we would like to act Master nodes 02 and 03 for search purpose only. So we don't want to share the resources of 02 and 03 for longer period as a master.  
Is there any possibility to set priority in Master -01.

---

<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:** [August 10, 2017, 3:56pm UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588/4 "2017-08-10T15:56:08Z")

</div>

If you want to separate data nodes, master nodes and coordinating nodes, then you need to start:

- 3 master nodes
- 3 data nodes
- 2 coordinating nodes

But I'm unsure you really need that.

---

<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:** [September 7, 2017, 3:56pm UTC](https://discuss.elastic.co/t/prioritize-a-master-node-in-es-cluster/96588/5 "2017-09-07T15:56:13Z")

</div>

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