# 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:** 1\
**Showing post:** 3

<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?

---

_[View the full topic](https://community.temporal.io/t/cross-data-center-replication-setup/475)._
