Master and data node load balance

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?

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

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