Client node configuration

Hi!

I am checking necessary setting for client node setup.
I would like to ask question regarding to client node setup.

** Environment**
1 cluster
3 regular nodes (Both eligible for master and data)
1 client node

All elasticsearch versions are 5.0.0_alpha4.

** Question**
I have set up below setting for client node in elasticsearch.yml.

cluster.name: elastic
node.name: client-1
path.logs: /var/log/elasticsearch
network.host: 127.0.0.1 172.30.1.157
discovery.zen.ping.unicast.hosts: ["127.0.0.1", "172.30.1.196", "172.30.1.46", "172.30.1.31"]
discovery.zen.minimum_master_nodes: 2
node.master : false
node.data : false

I have not set below recovery setting.

gateway.recover_after_nodes: 3
gateway.expected_nodes: 2
gateway.recover_after_time: 5m

Above setting seems to be cluster wide setting but do you still need to define in the client node?

Thanks,
Yu

It's good to have the same settings, or those as applicable, on all nodes.

1 Like

@warkolm

Got it. Thank you for the reply !