However, this action only affects the specified index. Any other indices will remain follower indices and must be stopped individually if you intend to fully promote the DR cluster.
Before declaring DR fully active, it is important to verify replication status across all wazuh-* indices using the replication plugin APIs.
The CCR as described in the opensearch documentation correctly handles replication mechanics, but cluster promotion remains an operational/manual responsibility.
That being said, DR is achieved by combining:
Routing / DNS strategy
Indexer data strategy
Clear promotion procedures
Regards,
When bringing the PR cluster back, you need to treat the DR cluster as the authoritative data source, which is exactly the inverse of the previous action leading here with PR as the authoritative source.
First, ensure the PR cluster is healthy, remove any stale Wazuh indices from the PR environment, reconfigure CCR with the DR cluster acting as the leader and the PR cluster as the follower, and then allow the indices to fully initialize and replicate.
Ref:
https://docs.opensearch.org/latest/tuning-your-cluster/replication-plugin/getting-started/