# Elasticsearch multi node failover

**URL:** https://discuss.elastic.co/t/elasticsearch-multi-node-failover/98842
**Category:** Elasticsearch
**Created:** [August 30, 2017, 10:52am UTC](https://discuss.elastic.co/t/elasticsearch-multi-node-failover/98842 "2017-08-30T10:52:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)
#### Post date: [August 30, 2017, 10:52am UTC](https://discuss.elastic.co/t/elasticsearch-multi-node-failover/98842/1 "2017-08-30T10:52:55Z")

</div>

I have 2 nodes in a cluster. I tried to disconnect one node and the other node was also disconnected/cannot access.

I thought that one of the advantage of multiple nodes is that, I can use one node if the other node is down.

---

<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: [August 30, 2017, 10:58am UTC](https://discuss.elastic.co/t/elasticsearch-multi-node-failover/98842/2 "2017-08-30T10:58:29Z")

</div>

With 2 nodes in the cluster you should be able to continue reading/searching your data on the remaining node. In a correctly configured cluster you should however not be able to write or update data as this could lead to data loss. In order to have a fully functioning cluster in the case one node goes down, you need a minimum of 3 master eligible nodes as this allows a majority to be formed even with one node missing, allowing a master to be elected.

---

<div class="post-metadata">

### Author: ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)
#### Post date: [August 30, 2017, 11:04am UTC](https://discuss.elastic.co/t/elasticsearch-multi-node-failover/98842/3 "2017-08-30T11:04:13Z")

</div>

Thank you for you reply @Christian_Dahlqvist! 😃

> [@Christian\_Dahlqvist](#):
>
> With 2 nodes in the cluster you should be able to continue reading/searching your data on the remaining node.

Right now I wasn't able to do searching. All i did is I indexed data and upon checking in \_cat/indices, both nodes doesn't respond.

> [@Christian\_Dahlqvist](#):
>
> In order to have a fully functioning cluster in the case one node goes down, you need a minimum of 3 master eligible nodes as this allows a majority to be formed even with one node missing, allowing a master to be elected.

Right now I have 2 nodes which is also eligible as master node. Do you think it is better to have another another one? Btw, both nodes are set to default which means it is master and data.

---

<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: [September 27, 2017, 11:04am UTC](https://discuss.elastic.co/t/elasticsearch-multi-node-failover/98842/4 "2017-09-27T11:04:16Z")

</div>

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