# Client Node usless after data node fails . Any Solution?

**URL:** <https://discuss.elastic.co/t/client-node-usless-after-data-node-fails-any-solution/11947>\
**Category:** Elasticsearch\
**Created:** [May 14, 2013, 7:46am UTC](https://discuss.elastic.co/t/client-node-usless-after-data-node-fails-any-solution/11947 "2013-05-14T07:46:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarang\_dawer](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tarang\_dawer](https://discuss.elastic.co/u/tarang_dawer)\
**Post date:** [May 14, 2013, 7:46am UTC](https://discuss.elastic.co/t/client-node-usless-after-data-node-fails-any-solution/11947/1 "2013-05-14T07:46:13Z")

</div>

Hi  
I am trying to get around the issue of failover by running multiple  
instances over same data , by running two elasticsearch instances on a  
machine , both having the same data directory , with both nodes being  
masters , and 2nd node , not handling the data (node.data=false).

Even if one of the nodes is not a data node, elasticsearch still creates  
its directory ([0] , [1]) etc , in the common data directory , (what i  
expected was only one sub directory ([0] (only for the data node) ) in the  
common directory , with both the nodes being able to search the common  
source.

in current case , when both instances are running , the search is fine ,  
but when the data node fails , the search returns shards failure exception  
, as non-data node searches in it's sub directory([1]) , (which does not  
contains the data).

Could somebody please help me resolve the issue ?

Thanks  
Tarang Dawer

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [May 14, 2013, 8:02am UTC](https://discuss.elastic.co/t/client-node-usless-after-data-node-fails-any-solution/11947/2 "2013-05-14T08:02:14Z")

</div>

Use two data nodes, and to ensure replication, on two machines.

You can not search or index data on a non-data node. A non-data node  
just forwards the request to a data node.

Can you explain why you use two nodes on a single machine? This makes  
not much sense.

Jörg

Am 14.05.13 09:46, schrieb Tarang Dawer:

> Could somebody please help me resolve the issue ?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:36am UTC](https://discuss.elastic.co/t/client-node-usless-after-data-node-fails-any-solution/11947/3 "2017-07-06T02:36:49Z")

</div>

Closed on July 6, 2017, 2:36am UTC


