[id='xsite_configure']
:context: xsite
= Configuring {brandname} for Cross-Site Replication
Configuring {brandname} to replicate data across sites, you first set up cluster transport so {brandname} clusters can discover each other and site masters can communicate. You then add backup locations to cache definitions in your {brandname} configuration.

include::{topics}/proc_xsite_configuring_jgroups.adoc[leveloffset=+1]
include::{topics}/ref_xsite_jgroups_relay.adoc[leveloffset=+2]
include::{topics}/ref_xsite_jgroups_relay_custom.adoc[leveloffset=+2]
include::{topics}/proc_xsite_configuring_backups.adoc[leveloffset=+1]
include::{topics}/proc_xsite_configuring_backupfor.adoc[leveloffset=+1]
include::{topics}/proc_xsite_verifying.adoc[leveloffset=+1]
include::{topics}/proc_xsite_configuring_clients.adoc[leveloffset=+1]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
