# Elasticsearch ODBC - multiple hosts setup

**URL:** <https://discuss.elastic.co/t/elasticsearch-odbc-multiple-hosts-setup/232011>\
**Category:** Elasticsearch\
**Created:** [May 11, 2020, 12:45pm UTC](https://discuss.elastic.co/t/elasticsearch-odbc-multiple-hosts-setup/232011 "2020-05-11T12:45:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saif3r](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@saif3r](https://discuss.elastic.co/u/saif3r)\
**Post date:** [May 11, 2020, 12:45pm UTC](https://discuss.elastic.co/t/elasticsearch-odbc-multiple-hosts-setup/232011/1 "2020-05-11T12:45:38Z")

</div>

Hello,

I'm about to configure my connection to Elasticsearch using ODBC. One of the fields to fill is related to host address. My cluster currently consists of 3 hosts. Is there a way to setup all of them in the hosts list to make sure ODBC will be able to connect in case te one i points in the configuration will be down? i tried setting IP's and separating them using comma etc but no luck so far.  
Thanks.

---

<div class="post-metadata">

**Author:** ![bogdan.pintea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bogdan.pintea/32/45740_2.png) [@bogdan.pintea](https://discuss.elastic.co/u/bogdan.pintea)\
**Post date:** [May 14, 2020, 1:43pm UTC](https://discuss.elastic.co/t/elasticsearch-odbc-multiple-hosts-setup/232011/2 "2020-05-14T13:43:33Z")

</div>

Hello @saif3r,  
No, this functionality is not available, the driver expects and will connect to one host only. Feel free to [open an issue](https://github.com/elastic/elasticsearch-sql-odbc/issues) for it.  
You might be able use a front-end proxy to achieve this for now, though.

---

<div class="post-metadata">

**Author:** ![saif3r](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@saif3r](https://discuss.elastic.co/u/saif3r)\
**Post date:** [May 15, 2020, 6:10am UTC](https://discuss.elastic.co/t/elasticsearch-odbc-multiple-hosts-setup/232011/3 "2020-05-15T06:10:10Z")

</div>

Understood, thanks.

---

<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:** [June 12, 2020, 6:10am UTC](https://discuss.elastic.co/t/elasticsearch-odbc-multiple-hosts-setup/232011/4 "2020-06-12T06:10:11Z")

</div>

Closed on June 12, 2020, 6:10am UTC

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