# Configuration-for-3-node-cluster

**URL:** <https://discuss.elastic.co/t/configuration-for-3-node-cluster/131512>\
**Category:** Elasticsearch\
**Created:** [May 11, 2018, 4:12pm UTC](https://discuss.elastic.co/t/configuration-for-3-node-cluster/131512 "2018-05-11T16:12:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuwan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nuwan/32/42325_2.png) [@nuwan](https://discuss.elastic.co/u/nuwan)\
**Post date:** [May 11, 2018, 4:12pm UTC](https://discuss.elastic.co/t/configuration-for-3-node-cluster/131512/1 "2018-05-11T16:12:38Z")

</div>

Please guide me how can I configuration-for-3-node-cluster.

[915454-elastic3.newfrontierdata.com](http://915454-elastic3.newfrontierdata.com) 172.24.32.218  
[915453-elastic2.newfrontierdata.com](http://915453-elastic2.newfrontierdata.com) 172.24.32.217  
[915423-elastic1.newfrontierdata.com](http://915423-elastic1.newfrontierdata.com) 172.24.32.209

vi /etc/elasticsearch/elasticsearch.yml

# line 17: uncomment and change (any name you like)

cluster.name: newfrontierdata

# line 23: uncomment and change (set Hostanme for node name)

node.name: ${HOSTNAME}

# line 55: uncomment and change (listen all)

network.host: 0.0.0.0

# line 68: uncomment and change (specify all Nodes)

discovery.zen.ping.unicast.hosts: ["172.24.32.209", "172.24.32.217", "172.24.32.218"]

# line 72: uncomment and change

# specify [(number of Master Eligible Node) / 2 + 1]

discovery.zen.minimum\_master\_nodes: 3

Please let me know above configuration is correct for 3 node cluster ?

---

<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:** [May 12, 2018, 4:07am UTC](https://discuss.elastic.co/t/configuration-for-3-node-cluster/131512/2 "2018-05-12T04:07:46Z")

</div>

Please don't post the same question more than once, it makes it harder for us to assist - [Support for configuration-for-3-node-cluster](https://discuss.elastic.co/t/support-for-configuration-for-3-node-cluster/131550)

---

<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:** [May 12, 2018, 4:07am UTC](https://discuss.elastic.co/t/configuration-for-3-node-cluster/131512/3 "2018-05-12T04:07:49Z")

</div>


