# Cluster node for elasticsearch

**URL:** <https://discuss.elastic.co/t/cluster-node-for-elasticsearch/117609>\
**Category:** Elasticsearch\
**Created:** [January 30, 2018, 12:14pm UTC](https://discuss.elastic.co/t/cluster-node-for-elasticsearch/117609 "2018-01-30T12:14:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [January 30, 2018, 12:14pm UTC](https://discuss.elastic.co/t/cluster-node-for-elasticsearch/117609/1 "2018-01-30T12:14:55Z")

</div>

I have three nodes with settings  
server1:

[node.name](http://node.name): node-03  
node.master: false  
node.data: true  
server2:

[node.name](http://node.name): node-02  
node.master: true  
node.data: true

Server3:

[node.name](http://node.name): node-01  
node.master: true  
node.data: true

but my server1 is giving an error :

[2018-01-30T11:50:01,030][WARN][o.e.d.z.ZenDiscovery] [node-03] not enough master nodes discovered during pinging (found [[]], but needed [-1]), pinging again

a help would a really appreciated

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![jpcarey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpcarey/32/46668_2.png) [@jpcarey](https://discuss.elastic.co/u/jpcarey)\
**Post date:** [January 30, 2018, 2:31pm UTC](https://discuss.elastic.co/t/cluster-node-for-elasticsearch/117609/2 "2018-01-30T14:31:53Z")

</div>

Server 1 can’t be a master node, nor are you telling it who to talk to in order to discover the cluster.

`discovery.zen.ping.unicast.hosts`  
[https://www.elastic.co/guide/en/elasticsearch/reference/6.1/modules-discovery-zen.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.1/modules-discovery-zen.html)

Also, having an even number of master nodes does not provide high availability. For your setup, you need to configure the minimum\_master\_nodes to 2, meaning both master nodes must be online for the cluster to be operational. If this is not set, each master could potentially determine it could run its own cluster.  
[https://www.elastic.co/guide/en/elasticsearch/guide/1.x/\_important\_configuration\_changes.html#\_minimum\_master\_nodes](https://www.elastic.co/guide/en/elasticsearch/guide/1.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 27, 2018, 2:31pm UTC](https://discuss.elastic.co/t/cluster-node-for-elasticsearch/117609/3 "2018-02-27T14:31:55Z")

</div>

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