# Elasticsearch cluster across different Geo Datacenters

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-across-different-geo-datacenters/255639>\
**Category:** Elasticsearch\
**Created:** [November 17, 2020, 8:34am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-across-different-geo-datacenters/255639 "2020-11-17T08:34:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavank](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pavank](https://discuss.elastic.co/u/pavank)\
**Post date:** [November 17, 2020, 8:34am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-across-different-geo-datacenters/255639/1 "2020-11-17T08:34:06Z")

</div>

We are in the process of setting up Elasticsearch as a Search Engine to consume customer data. The Elasticsearch nodes are across 5 VMs in 2 different Datacenters (3:2), and all of them are Master-Data and active nodes. The index creation, data ingestion, data retrieval will be via Elastic APIs. No other Elasticstack components will be used.  
Our problem is deciding on how to set this up when there is a complete Data center failure. We need clarity on how to avoid split brain condition, and ensure the cluster availability in such situations like complete Data center goes down.  
We are providing the solution as open-source and cannot use the Cross Cluster Replication [as mentioned in this blog.](https://www.elastic.co/blog/clustering_across_multiple_data_centers)  
How can we set this cluster up without any of the above mentioned scenarios?

Regards,  
Pavan

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 17, 2020, 8:44am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-across-different-geo-datacenters/255639/2 "2020-11-17T08:44:40Z")

</div>

This is covered in the manual under [_Set up a cluster for high availability_](https://www.elastic.co/guide/en/elasticsearch/reference/current/high-availability.html), especially [_Resilience in larger clusters_](https://www.elastic.co/guide/en/elasticsearch/reference/current/high-availability-cluster-design-large-clusters.html). Note in particular the following:

> You cannot configure a two-zone cluster so that it can tolerate the loss of _either_ zone because this is theoretically impossible.

---

<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:** [December 15, 2020, 8:44am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-across-different-geo-datacenters/255639/3 "2020-12-15T08:44:42Z")

</div>

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