This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Tutorial: Disaster recovery based on uni-directional cross-cluster replication
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Tutorial: Disaster recovery based on uni-directional cross-cluster replication
editLearn how to failover and failback between two clusters based on uni-directional cross-cluster replication. You can also visit Bi-directional disaster recovery to set up replicating data streams that automatically failover and failback without human intervention.
-
Setting up uni-directional cross-cluster replication replicated from
clusterA
toclusterB
. -
Failover - If
clusterA
goes offline,clusterB
needs to "promote" follower indices to regular indices to allow write operations. All ingestion will need to be redirected toclusterB
, this is controlled by the clients (Logstash, Beats, Elastic Agents, etc). -
Failback - When
clusterA
is back online, it assumes the role of a follower and replicates the leader indices fromclusterB
.

Cross-cluster replication provides functionality to replicate user-generated indices only. Cross-cluster replication isn’t designed for replicating system-generated indices or snapshot settings, and can’t replicate ILM or SLM policies across clusters. Learn more in cross-cluster replication limitations.