# ES HA and Load Balancing

**URL:** <https://discuss.elastic.co/t/es-ha-and-load-balancing/206294>\
**Category:** Elasticsearch\
**Created:** [November 3, 2019, 3:07pm UTC](https://discuss.elastic.co/t/es-ha-and-load-balancing/206294 "2019-11-03T15:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SirJune](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sirjune/32/55205_2.png) [@SirJune](https://discuss.elastic.co/u/SirJune)\
**Post date:** [November 3, 2019, 3:07pm UTC](https://discuss.elastic.co/t/es-ha-and-load-balancing/206294/1 "2019-11-03T15:07:55Z")

</div>

Hi,  
Here's my setup:  
2 - coordinating nodes (esnode1,esnode2)  
3 - master/data node (esnode3,esnode4,esnode5)  
1 - data node (esnode6)

should i configure logstash to hosts=\> esnode1, esnode2 only ?  
or should i send logstash to hosts=\> esnode3,esnode4,esnode5 ?

will the load/traffic be spread/load balanced across the nodes and not only to the 1st node in the list?

if i have 10 servers, can i set all 8 of them as all master/data and 2 as coordinating nodes?

i'd appreciate any tip/advise.

thanks.  
sirjune

---

<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:** [December 1, 2019, 3:08pm UTC](https://discuss.elastic.co/t/es-ha-and-load-balancing/206294/2 "2019-12-01T15:08:00Z")

</div>

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