# Client node configuration

**URL:** <https://discuss.elastic.co/t/client-node-configuration/56082>\
**Category:** Elasticsearch\
**Created:** [July 21, 2016, 10:07am UTC](https://discuss.elastic.co/t/client-node-configuration/56082 "2016-07-21T10:07:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [July 21, 2016, 10:07am UTC](https://discuss.elastic.co/t/client-node-configuration/56082/1 "2016-07-21T10:07:53Z")

</div>

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

---

<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:** [July 21, 2016, 10:24am UTC](https://discuss.elastic.co/t/client-node-configuration/56082/2 "2016-07-21T10:24:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [July 22, 2016, 12:33am UTC](https://discuss.elastic.co/t/client-node-configuration/56082/3 "2016-07-22T00:33:57Z")

</div>

@warkolm

Got it. Thank you for the reply !

---

<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:** [July 5, 2017, 10:33pm UTC](https://discuss.elastic.co/t/client-node-configuration/56082/4 "2017-07-05T22:33:33Z")

</div>


