# ElasticSearch 5.4.1 Cluster Configuration

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-4-1-cluster-configuration/91928>\
**Category:** Elasticsearch\
**Created:** [July 5, 2017, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-5-4-1-cluster-configuration/91928 "2017-07-05T14:37:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SanE](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SanE](https://discuss.elastic.co/u/SanE)\
**Post date:** [July 5, 2017, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-5-4-1-cluster-configuration/91928/1 "2017-07-05T14:37:37Z")

</div>

I am getting below error while configuring ElasticSearch 5.4.1.

[root@ip-10-3-4-73 elasticsearch]# curl -XGET 'localhost:9200/\_cluster/health?pretty'  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "master\_not\_discovered\_exception",  
"reason" : null  
}  
],  
"type" : "master\_not\_discovered\_exception",  
"reason" : null  
},  
"status" : 503  
}  
[root@ip-10-3-4-73 elasticsearch]# curl -XGET 'localhost:9200'  
{  
"name" : "2ib0gzN",  
"cluster\_name" : "my-cluster",  
"cluster\_uuid" : "_na_",  
"version" : {  
"number" : "5.4.1",  
"build\_hash" : "2cfe0df",  
"build\_date" : "2017-05-29T16:05:51.443Z",  
"build\_snapshot" : false,  
"lucene\_version" : "6.5.1"  
},  
"tagline" : "You Know, for Search"  
}

[root@ip-10-3-4-73 elasticsearch]# curl -XGET 'localhost:9200/\_nodes/transport?pretty=1'  
{  
"\_nodes" : {  
"total" : 1,  
"successful" : 1,  
"failed" : 0  
},  
"cluster\_name" : "my-cluster",  
"nodes" : {  
"2ib0gzNzQ\_K-METZvMERdA" : {  
"name" : "2ib0gzN",  
"transport\_address" : "10.3.4.73:9300",  
"host" : "10.3.4.73",  
"ip" : "10.3.4.73",  
"version" : "5.4.1",  
"build\_hash" : "2cfe0df",  
"roles" : [  
"master",  
"data",  
"ingest"  
],  
"transport" : {  
"bound\_address" : [  
"[::]:9300"  
],  
"publish\_address" : "10.3.4.73:9300",  
"profiles" : { }  
}  
}  
}  
}

Can any one help ?

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [July 5, 2017, 2:41pm UTC](https://discuss.elastic.co/t/elasticsearch-5-4-1-cluster-configuration/91928/2 "2017-07-05T14:41:48Z")

</div>

Hi,

Is this a single node cluster? What does the elasticsearch.yml look like?

For reference here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#master-election](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html#master-election)

---

<div class="post-metadata">

**Author:** ![SanE](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SanE](https://discuss.elastic.co/u/SanE)\
**Post date:** [July 5, 2017, 2:46pm UTC](https://discuss.elastic.co/t/elasticsearch-5-4-1-cluster-configuration/91928/3 "2017-07-05T14:46:21Z")

</div>

Hi,

I am trying to setup 3 node cluster and my configuration is :

[root@ip-10-3-4-73 elasticsearch]# grep "^[^#;]" elasticsearch.yml  
[cluster.name](http://cluster.name): my-cluster  
path.data: /data/data  
path.logs: /data/logs  
network.host: 0.0.0.0  
discovery.zen.ping.unicast.hosts: ["10.3.0.217","10.3.2.163"]  
discovery.zen.minimum\_master\_nodes: 2

---

<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:** [August 2, 2017, 2:47pm UTC](https://discuss.elastic.co/t/elasticsearch-5-4-1-cluster-configuration/91928/4 "2017-08-02T14:47:07Z")

</div>

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