# Elasticsearch Dedicated Master Node

**URL:** https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193
**Category:** Elasticsearch
**Created:** [January 7, 2019, 11:19am UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193 "2019-01-07T11:19:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Nikesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikesh/32/86579_2.png) [@Nikesh](https://discuss.elastic.co/u/Nikesh)
#### Post date: [January 7, 2019, 11:19am UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193/1 "2019-01-07T11:19:06Z")

</div>

Hi,  
I have a cluster with one dedicated master node and two data nodes. I use my master node URL to search my documents. What is the advantage and disadvantage of using dedicated master node?  
Also, Is it better to use master node URL or one of my data nodes URL for search calls ?

Thanks

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 7, 2019, 12:34pm UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193/2 "2019-01-07T12:34:38Z")

</div>

> [@Nikesh](#):
>
> What is the advantage and disadvantage of using dedicated master node

It's important that the master node runs smoothly - if it spends a lot of time doing non-master tasks (e.g. searches or indexing) then this can harm the performance of the whole cluster. By using a dedicated master node you can keep it free from non-master tasks which normally helps with cluster stability.

The disadvantage is that you need more nodes if you separate them out like this.

> [@Nikesh](#):
>
> Is it better to use master node URL or one of my data nodes URL for search calls ?

It is better not to use the master for searches, because searches can be coordinated on any node.

That said, on small and lightly-loaded clusters you can often get away without using dedicated master nodes.

---

<div class="post-metadata">

### Author: ![Nikesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikesh/32/86579_2.png) [@Nikesh](https://discuss.elastic.co/u/Nikesh)
#### Post date: [January 7, 2019, 2:24pm UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193/3 "2019-01-07T14:24:19Z")

</div>

Thanks for the response

> [@DavidTurner](#):
>
> That said, on small and lightly-loaded clusters you can often get away without using dedicated master nodes.

How do you define lightly-loaded clusters here? I have around 50,000 documents distributed over my two data nodes. Each of its RAM size is 16GB. The document number will increase as time passes. So having a dedicated master node will help my cluster stability right?

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 7, 2019, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193/4 "2019-01-07T14:37:39Z")

</div>

> [@Nikesh](#):
>
> How do you define lightly-loaded clusters here?

It's hard to be precise. If you you find operations involving the master node (e.g. mapping updates, index creation, etc.) are taking too long, or you see warnings about timeouts to do with cluster state updates, then you should consider dedicated master nodes. 50,000 documents is quite a small amount of data, but if you're performing thousands of searches per second then you could still need dedicated masters.

---

<div class="post-metadata">

### Author: ![Nikesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikesh/32/86579_2.png) [@Nikesh](https://discuss.elastic.co/u/Nikesh)
#### Post date: [January 7, 2019, 3:02pm UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193/5 "2019-01-07T15:02:12Z")

</div>

okay  
Thanks for the reply

---

<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: [February 4, 2019, 3:02pm UTC](https://discuss.elastic.co/t/elasticsearch-dedicated-master-node/163193/6 "2019-02-04T15:02:27Z")

</div>

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