# How many data nodes and master nodes in a cluster?

**URL:** <https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158>\
**Category:** Elasticsearch\
**Created:** [January 10, 2017, 9:51pm UTC](https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158 "2017-01-10T21:51:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanshan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nanshan](https://discuss.elastic.co/u/nanshan)\
**Post date:** [January 10, 2017, 9:51pm UTC](https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158/1 "2017-01-10T21:51:11Z")

</div>

How to decide the counts of master nodes and data nodes in cluaster

---

<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:** [January 10, 2017, 9:57pm UTC](https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158/2 "2017-01-10T21:57:09Z")

</div>

You need at least 3 master eligible.

The rest depends on lots of things.

---

<div class="post-metadata">

**Author:** ![nanshan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nanshan](https://discuss.elastic.co/u/nanshan)\
**Post date:** [January 10, 2017, 9:58pm UTC](https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158/3 "2017-01-10T21:58:11Z")

</div>

you are saying I should have 3 nodes set : node.master: true?

why?

---

<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:** [January 11, 2017, 12:08am UTC](https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158/4 "2017-01-11T00:08:15Z")

</div>

Yep, [https://www.elastic.co/guide/en/elasticsearch/guide/2.x/important-configuration-changes.html#\_minimum\_master\_nodes](https://www.elastic.co/guide/en/elasticsearch/guide/2.x/important-configuration-changes.html#_minimum_master_nodes)

---

<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 8, 2017, 12:08am UTC](https://discuss.elastic.co/t/how-many-data-nodes-and-master-nodes-in-a-cluster/71158/5 "2017-02-08T00:08:48Z")

</div>

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