# Master nodes

**URL:** <https://discuss.elastic.co/t/master-nodes/168057>\
**Category:** Elasticsearch\
**Created:** [February 12, 2019, 3:01pm UTC](https://discuss.elastic.co/t/master-nodes/168057 "2019-02-12T15:01:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniaks](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Post date:** [February 12, 2019, 3:01pm UTC](https://discuss.elastic.co/t/master-nodes/168057/1 "2019-02-12T15:01:55Z")

</div>

cat master nodes .... will it not provide all the master eligible nodes. it always shows only one ...

---

<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:** [February 12, 2019, 3:19pm UTC](https://discuss.elastic.co/t/master-nodes/168057/2 "2019-02-12T15:19:51Z")

</div>

That seems to agree with the [docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-master.html) for `GET _cat/master`:

> It simply displays the master’s node ID, bound IP address, and node name.

Perhaps you are looking for `GET _cat/nodes`?

---

<div class="post-metadata">

**Author:** ![aniaks](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Post date:** [February 12, 2019, 4:08pm UTC](https://discuss.elastic.co/t/master-nodes/168057/3 "2019-02-12T16:08:25Z")

</div>

even when i try this `GET _cat/nodes` ? i see for only one master node - master is highlighted with '\*' ..... should i not see the number of nodes configured in zen settings

for e.g - if discovery.zen.minimum\_master\_nodes is 3 - i should see 3 nodes highlighted with '\*' for master node. But i am seeing only one. Please let me know if my understanding is 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:** [February 12, 2019, 4:19pm UTC](https://discuss.elastic.co/t/master-nodes/168057/4 "2019-02-12T16:19:35Z")

</div>

No, there's only supposed to be a single elected master node in the cluster. There may be multiple _master-eligible_ nodes (confusingly these are the ones with `node.master: true`) but they [work together to elect just one of them as the true master](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#master-election).

The master-eligible nodes are marked with an `m` in the role column.

Note that if you have 3 master-eligible nodes then [`discovery.zen.minimum_master_nodes` should be `2`](https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html#minimum_master_nodes).

---

<div class="post-metadata">

**Author:** ![aniaks](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Post date:** [February 12, 2019, 4:39pm UTC](https://discuss.elastic.co/t/master-nodes/168057/5 "2019-02-12T16:39:31Z")

</div>

ah ... got it !

---

<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:** [March 12, 2019, 4:39pm UTC](https://discuss.elastic.co/t/master-nodes/168057/6 "2019-03-12T16:39:35Z")

</div>

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