# How should I set node master and node data?

**URL:** <https://community.graylog.org/t/how-should-i-set-node-master-and-node-data/387>\
**Category:** Graylog Central (peer support)\
**Created:** [March 8, 2017, 3:57am UTC](https://community.graylog.org/t/how-should-i-set-node-master-and-node-data/387 "2017-03-08T03:57:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kieulam141](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/kieulam141/32/931_2.png) [@kieulam141](https://community.graylog.org/u/kieulam141)\
**Post date:** [March 8, 2017, 3:57am UTC](https://community.graylog.org/t/how-should-i-set-node-master-and-node-data/387/1 "2017-03-08T03:57:09Z")

</div>

Hello guys.  
I’m new with Graylog.I’m building a ElasticSearch Cluster with 3 [nodes.So](http://nodes.So) how should I set the value of node.master and node.data on 3 nodes for the better performance and HA.  
Thanks you.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [March 8, 2017, 6:45am UTC](https://community.graylog.org/t/how-should-i-set-node-master-and-node-data/387/2 "2017-03-08T06:45:18Z")

</div>

Hej @kieulam141,

if all ES servers are the same, use all with master and data - later if you see that the master.node tasks lower the performance you can add two little servers that take care of the master role.

Changing that later is no magic and can be done on the fly. (with on restart of elasticsearch)
