# Settings for cluster nodes

**URL:** <https://discuss.elastic.co/t/settings-for-cluster-nodes/34999>\
**Category:** Elasticsearch\
**Created:** [November 18, 2015, 9:46pm UTC](https://discuss.elastic.co/t/settings-for-cluster-nodes/34999 "2015-11-18T21:46:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mc1392](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mc1392](https://discuss.elastic.co/u/mc1392)\
**Post date:** [November 18, 2015, 9:46pm UTC](https://discuss.elastic.co/t/settings-for-cluster-nodes/34999/1 "2015-11-18T21:46:11Z")

</div>

I have 3 nodes.

How do I set discovery.zen.ping.unicast.hosts? Do I set all of the host names for all nodes into the config file for each node?

Do I set node.master: true for 2 of them or 1, to avoid split-brain?

Do I set node.data : true for 2 of them or 1?

What should I set for discovery.zen.minimum\_master\_nodes? 2, or 1?

The documentation leaves me a confused as what to use.

---

<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:** [November 19, 2015, 12:40am UTC](https://discuss.elastic.co/t/settings-for-cluster-nodes/34999/2 "2015-11-19T00:40:50Z")

</div>

The unicast list is a seed, I'd put your 3 nodes in there to start.  
You should set all 3 as master and data nodes, with min masters as 2, as that is a majority.

---

<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:** [July 5, 2017, 11:37pm UTC](https://discuss.elastic.co/t/settings-for-cluster-nodes/34999/3 "2017-07-05T23:37:27Z")

</div>


