setting for master and client nodes?

(ZillaG) #1

If I have 3 master nodes and 1 client node, what should the "" setting be in elasticsearch.yml? Say I have ip_master0, ip_master1, ip_master2, and ip_client

Should it be this?

  • For the master nodes. ["ip_master0", "ip_master1", "ip_master2"]
  • For the client node? ["ip_master0", "ip_master1", "ip_master2", "ip_client"]

Or should it be ["ip_master0", "ip_master1", "ip_master2", "ip_client"] for ALL nodes?

(David Pilato) #2

All the 3 master nodes all time.

(ZillaG) #3

@dadoonet, your post and my edit crossed.

So are you saying it should be ["ip_master0", "ip_master1", "ip_master2"]

for ALL nodes, both maser and client?

(David Pilato) #4

Yes. That's what I meant.

(ZillaG) #5

@dadoonet Thank you.

(rabindra) #6

then how client or data node get connected

(David Pilato) #7

Do you mean a Client Node or the TransportClient?

(rabindra) #8

client node

(David Pilato) #9

Client node is a node which belongs to the cluster. It has the cluster state from the master node.
In the cluster state, you have the list of all nodes.

So client node knows how to join all data nodes.

(system) #10