# How to call the elasticsearch two node cluster from .net application

**URL:** <https://discuss.elastic.co/t/how-to-call-the-elasticsearch-two-node-cluster-from-net-application/112593>\
**Category:** Elasticsearch\
**Created:** [December 20, 2017, 9:00am UTC](https://discuss.elastic.co/t/how-to-call-the-elasticsearch-two-node-cluster-from-net-application/112593 "2017-12-20T09:00:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sateesh.tv](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@sateesh.tv](https://discuss.elastic.co/u/sateesh.tv)\
**Post date:** [December 20, 2017, 9:00am UTC](https://discuss.elastic.co/t/how-to-call-the-elasticsearch-two-node-cluster-from-net-application/112593/1 "2017-12-20T09:00:31Z")

</div>

we have installed and configured two node master master cluster elasticsearch setup in our server, able to cache the data and replication between both nodes are fine.

issue :- we are calling one server Connectionstring from our application , in case of one server failing, we need to redirect the call to other server node automatically . please help us.

here we are using .NET Connectionstring objects(.NET core 2.0).  
Cluster is under Windows server version.  
i have attached images belongs to elastic search cluster setup ![node1-002](https://us1.discourse-cdn.com/elastic/original/3X/2/8/28b7f1859c3a605ca90b212fcd2d0bfe3c656392.png) ![node1-001](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67fbc9851754907715d0da24bb8109ace3fa8cfd.png) ![node2-002](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f0e17dcdfc1f60a2ad414ef1668d7a0883990183.png) ![node2-001](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f03c60fd6bd7fd9845c9ae4dc123264304122ecc.png)

 ![node21-003](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17e69b79ca1bad233c13f76f5a9a68eb76abccb8.png) ![node1-003](https://us1.discourse-cdn.com/elastic/original/3X/2/d/2d2d54b13f11d8ea31dc17f542d88e3bf1b6f9f4.png) ![replication](https://us1.discourse-cdn.com/elastic/original/3X/1/9/193bdb1a300ed2216d9504d2b70be97e1c4b1ef0.png)

---

<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:** [January 17, 2018, 9:00am UTC](https://discuss.elastic.co/t/how-to-call-the-elasticsearch-two-node-cluster-from-net-application/112593/2 "2018-01-17T09:00:51Z")

</div>

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