# Cross data center replication setup

**URL:** <https://community.temporal.io/t/cross-data-center-replication-setup/475>\
**Category:** Community Support\
**Tags:** cadence, cross-dc\
**Created:** [August 17, 2020, 3:41pm UTC](https://community.temporal.io/t/cross-data-center-replication-setup/475 "2020-08-17T15:41:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep\_M](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/sandeep_m/32/183_2.png) [@sandeep\_M](https://community.temporal.io/u/sandeep_M)\
**Post date:** [August 17, 2020, 3:41pm UTC](https://community.temporal.io/t/cross-data-center-replication-setup/475/1 "2020-08-17T15:41:05Z")

</div>

Hi ,  
Can anyone share how to setup a cross data center replication in cadence ?

I am looking for configuration required to get this working ? i am currently using banzaicloud helm chart for deployment which create setup in one region.

Thank you  
sandeep

---

<div class="post-metadata">

**Author:** ![ryland](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/ryland/32/11_2.png) [@ryland](https://community.temporal.io/u/ryland)\
**Post date:** [August 17, 2020, 4:16pm UTC](https://community.temporal.io/t/cross-data-center-replication-setup/475/2 "2020-08-17T16:16:15Z")

</div>

So we do not have any docs about cross datacenter replication right now. While we do plan on eventually producing these it will take some time.

---

<div class="post-metadata">

**Author:** ![madhu](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@madhu](https://community.temporal.io/u/madhu)\
**Post date:** [August 17, 2020, 5:20pm UTC](https://community.temporal.io/t/cross-data-center-replication-setup/475/3 "2020-08-17T17:20:24Z")

</div>

Ok i had similar questions, and i am trying to consolidate bits and pieces of info lying else where to get this thread moving ( and possibly this can serve as unofficial document)

**Disclaimer :** i have not attempted to set this up yet/ or tried these out 😃😃

At high level cross dc/xdc architecture look something like [this post](https://community.temporal.io/t/temporal-with-aurora-db/357/5)

So In my opinion one need to

a) setup two independent temporal clusters using existing [helms](https://github.com/temporalio/helm-charts#default-installation-batteries-included)

b)Enable global namespace in cluster metadata section  
c) configure kafa for replication across the two clusters

Refer [global domain registration and kafka replication](https://community.temporal.io/t/global-domain-registration-in-java-sdk/282) for step B and C

d) of course needless to say all this got to be on TLS, some info on TLS setup is available [in docs](https://docs.temporal.io/docs/configure-temporal-server#tls)

e) the below tctl commands can come handy to viewing changing membership details

> [@Production HA setup](https://community.temporal.io/t/production-ha-setup/225/7):
>
> Make sure that the list of hosts from these two commands matches: tctl admin membership list\_gossip tctl admin membership list\_db

on a side note : Please be aware kafka will bring zookeeper dependency too.

@maxim, @ryland, @samar do you have additional pointers here?

---

<div class="post-metadata">

**Author:** ![sandeep\_M](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/sandeep_m/32/183_2.png) [@sandeep\_M](https://community.temporal.io/u/sandeep_M)\
**Post date:** [August 17, 2020, 6:52pm UTC](https://community.temporal.io/t/cross-data-center-replication-setup/475/4 "2020-08-17T18:52:25Z")

</div>

Thank you so much the information @madhu @maxim @ryland

I will keep it noted for temporal deployment. Any pointers on setting up the same using cadence ?
