# Replication from Primary Xtradb 8 Cluster to DR Xtradb 8 Cluster

**URL:** <https://forums.percona.com/t/replication-from-primary-xtradb-8-cluster-to-dr-xtradb-8-cluster/17502>\
**Category:** Percona XtraDB Cluster\
**Tags:** percona\
**Created:** [September 16, 2022, 7:08am UTC](https://forums.percona.com/t/replication-from-primary-xtradb-8-cluster-to-dr-xtradb-8-cluster/17502 "2022-09-16T07:08:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adi](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@adi](https://forums.percona.com/u/adi)\
**Post date:** [September 16, 2022, 7:08am UTC](https://forums.percona.com/t/replication-from-primary-xtradb-8-cluster-to-dr-xtradb-8-cluster/17502/1 "2022-09-16T07:08:44Z")

</div>

Hi All,  
I am trying to find a way to perform replication from the Primary Xtradb 8 Cluster to DR(disaster recovery) Xtradb 8 Cluster.  
The Primary Xtradb 8 Cluster will write data from application output and on the DR site, I have a second Xtradb 8 Cluster which needs to replicate data coming from the Primary Xtradb 8 Cluster.

Can someone please suggest how to achieve it?

Thanks  
Adi

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [September 16, 2022, 11:30am UTC](https://forums.percona.com/t/replication-from-primary-xtradb-8-cluster-to-dr-xtradb-8-cluster/17502/2 "2022-09-16T11:30:34Z")

</div>

Hello @adi,  
You need to configure async replication between a node in primary PXC and 1 node in DR PXC. You can use [Async Failover](https://dev.mysql.com/doc/refman/8.0/en/replication-asynchronous-connection-failover-source.html) on DR node to switch sources if the source on the primary PXC goes down.

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [September 20, 2022, 8:05pm UTC](https://forums.percona.com/t/replication-from-primary-xtradb-8-cluster-to-dr-xtradb-8-cluster/17502/3 "2022-09-20T20:05:22Z")

</div>

Hi @adi , welcome to the Percona forums!  
You may want to review this blog post that discusses precisely how to replicate between PXC clusters:

> **[Replication Between Two Percona XtraDB Clusters, GTIDs and Schema Changes -...](https://www.percona.com/blog/2020/07/28/replication-between-two-percona-xtradb-clusters-gtids-and-schema-changes/)**
>
> Will RSU have an effect on GTID consistency when replicating between two Percona XtraDB Clusters?
