# What If my ES Client Node goes down

**URL:** https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058
**Category:** Elasticsearch
**Created:** [February 6, 2017, 1:37pm UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058 "2017-02-06T13:37:22Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)
#### Post date: [February 6, 2017, 1:37pm UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/1 "2017-02-06T13:37:22Z")

</div>

Hi Team ,

I am trying to setup Kibana over two node cluster of Elasticsearch as a part of ELK Stack and came across to the information that i simply can't do that (cause Kibana don't have such feature till yet ) ; Got a term Client Node as a solution for this but i have one architectural question related to that . Kindly suggest what if my client node only goes down , i'll loose the entire interface from my ES cluster ; Any high availability solution to that ?

Kind Regards,

---

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [February 6, 2017, 2:09pm UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/2 "2017-02-06T14:09:04Z")

</div>

The relevant issue on this topic: [https://github.com/elastic/kibana/issues/214](https://github.com/elastic/kibana/issues/214)

---

<div class="post-metadata">

### Author: ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)
#### Post date: [February 6, 2017, 2:32pm UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/3 "2017-02-06T14:32:34Z")

</div>

Hey Mark ,

Yeah , Saw it .. but seems like required feature is not there , request is still open since last two years , even contributors are suggesting to use non-data node (may be client node ) but no one is talking about availability there , what if that single node goes down with any circumstances ?

---

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [February 6, 2017, 2:40pm UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/4 "2017-02-06T14:40:31Z")

</div>

Yep - I guess that's why it is still an open issue with Kibana.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 6, 2017, 6:14pm UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/5 "2017-02-06T18:14:11Z")

</div>

Instead of a client node, you can use a load balancer between Kibana and Elasticsearch.

---

<div class="post-metadata">

### Author: ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)
#### Post date: [February 7, 2017, 5:20am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/6 "2017-02-07T05:20:47Z")

</div>

Hi Christian ,

Could you kindly explain what is wrong with client node ? I mean any advantage of using LB over client node ?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 7, 2017, 5:23am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/7 "2017-02-07T05:23:58Z")

</div>

There is nothing wrong with using a client node together with Kibana, but if you want to avoid it being a single point of failure, a load balancer might be an alternative. You can also set up two Kibana instances and load-balance in front of these.

---

<div class="post-metadata">

### Author: ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)
#### Post date: [February 7, 2017, 5:33am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/8 "2017-02-07T05:33:13Z")

</div>

Ok , Using LB on top of ES nodes sounds good but didn't get the concept of using two Kibana instaces ;  
one more thing , If i want to use LB say HA-Proxy so it should be on isolated machine i mean apart from the KIbana instances right ?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 7, 2017, 5:38am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/9 "2017-02-07T05:38:47Z")

</div>

Logstash, Beats and most clients libraries are able to connect to more than one Elasticsearch node, so do not require any load balancer ahead of Elasticsearch. Exactly how you set up your load balancer of choice in a HA fashion I am probably not the right person to answer.

As you asked about a HA solution, the Kibana process in itself is also a single point of failure if you only have one, which is why I mentioned the option of having 2 with a load balancer in front.

---

<div class="post-metadata">

### Author: ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)
#### Post date: [February 7, 2017, 5:46am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/10 "2017-02-07T05:46:32Z")

</div>

Ohh.. actually I have two node ES cluster and i want to use Kibana over them for visualization , since Kibana can link with single ES server only so i came across the solution as client node ..however you have raised a valid point to bring Kibana in HA mode too but my prior concern is to fetch data from ES cluster using KIbana any suggestion for that ?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 7, 2017, 5:58am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/11 "2017-02-07T05:58:32Z")

</div>

A 2-node Elasticsearch cluster can also never be fully HA as Elasticsearch requires a majority of modes to be present in order to elect a master. This is why I always recommend a minimum cluster size of 3 nodes. You don't however necessarily need three big data nodes, as two data nodes that are master eligible can be complemented by a third, smaller dedicated master node that can act as a tie-breaker.

---

<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: [March 7, 2017, 5:59am UTC](https://discuss.elastic.co/t/what-if-my-es-client-node-goes-down/74058/12 "2017-03-07T05:59:07Z")

</div>

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