# Master and data node load balance

**URL:** <https://discuss.elastic.co/t/master-and-data-node-load-balance/78957>\
**Category:** Elasticsearch\
**Created:** [March 17, 2017, 4:02am UTC](https://discuss.elastic.co/t/master-and-data-node-load-balance/78957 "2017-03-17T04:02:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greentea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/greentea/32/15924_2.png) [@Greentea](https://discuss.elastic.co/u/Greentea)\
**Post date:** [March 17, 2017, 4:02am UTC](https://discuss.elastic.co/t/master-and-data-node-load-balance/78957/1 "2017-03-17T04:02:17Z")

</div>

Hi!  
I am try to apply a two server in elasticsearch one as master and data node, another as data node.  
Here is the yml file

for master (IP:10.96.195.250)

```
cluster.name: project
node.name: test0
node.master: true
node.master: true
node.ingest: true
network.publish_host: 0.0.0.0
network.host: 0.0.0.0
transport.tcp.compress: true
transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["127.0.0.1", "10.96.195.249:9300"]

```

for date node (IP:10.96.195.249)

```
cluster.name: project
node.name: test1
node.master: false
node.data: true
node.ingest: false
network.host: 0.0.0.0
transport.tcp.compress: true
transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["127.0.0.1","10.96.195.250:9300"]
node.ingest: false

```

can some one tell me how to set the node so that it can provide the load balance function?

---

<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:** [March 17, 2017, 4:50am UTC](https://discuss.elastic.co/t/master-and-data-node-load-balance/78957/2 "2017-03-17T04:50:36Z")

</div>

A load balancer node is a coordinator node, see [https://www.elastic.co/guide/en/elasticsearch/reference/5.2/modules-node.html#coordinating-node](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/modules-node.html#coordinating-node)

---

<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:** [April 14, 2017, 4:50am UTC](https://discuss.elastic.co/t/master-and-data-node-load-balance/78957/3 "2017-04-14T04:50:37Z")

</div>

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