- Deploy cluster1 VRG with
Spec.ReplicationState: primaryin application's namespace - Wait for cluster1 VRG
Status.Conditions.ClusterDataProtected: trueindicating application's Kube objects have been protected
- Delete VRG with
Spec.ReplicationState: primaryto delete its Kube object replicas orSpec.ReplicationState: secondaryto preserve them
- Fence cluster1 and cluster2 VRGs from each other's Kube object
replicas
- This is typically accomplished by network fencing
- Fence cluster1 and cluster2 VRGs from each other's volume data
- For
Asyncmode, this is typically accomplished by setting cluster2 VRGSpec.ReplicationState: primary - For
Syncmode, this is typically accomplished by network fencing
- For
- Deploy cluster2 VRG with
Spec.ReplicationState: primaryin theNamespaceit was in and with theNameit had on cluster1- Kube objects are recovered from the first available replica store specified
in VRG's
Spec.S3Profilescontaining a replica for itsNamespaceandName
- Kube objects are recovered from the first available replica store specified
in VRG's
- Wait for cluster2 VRG
Status.Condtions:ClusterDataReady: trueindicating its Kube objects have been recoveredDataReady: trueindicating its volumes have been recovered
- cluster2 application protection resumes automatically
- Set cluster1 VRG
Spec.ReplicationState: secondary - Undeploy cluster1 application
- Its PVCs can finally be deleted once VRG is deleted in a subsequent step
- This allows its Kube objects to be recovered in a subsequent step
- Delete cluster1 VRG
- This allows its PVCs to finally be deleted
- Unfence cluster1 and cluster2 VRGs from each other's Kube object
replicas
- This is typically accomplished by network unfencing
- Unfence cluster1 and cluster2 VRGs from each other's volume data
- For
Asyncmode, this is typically accomplished by setting cluster1 VRGSpec.ReplicationState: secondary - For
Syncmode, this is typically accomplished by network unfencing
- For
- Wait for cluster2 VRG
Status.Conditions.ClusterDataProtected: true - Set cluster2 VRG
Spec.ReplicationState: secondary - Undeploy cluster2 application
- Its PVCs can finally be deleted once VRG is deleted in a subsequent step
- For
Asyncmode, synchronize volume data:- Deploy cluster1 VRG with
Spec.ReplicationState: secondary - Wait for cluster1 VRG
Status.Conditions.DataReady: trueindicating its volume data are in-sync with cluster2's
- Deploy cluster1 VRG with
- Delete cluster2 VRG
- This allows its PVCs to finally be deleted
- Set, for
Asyncmode, or deploy, forSyncmode, cluster1 VRGSpec.ReplicationState: primaryto recover its volumes and Kube objects - Wait for cluster1 VRG
Status.Condtions:ClusterDataReady: trueindicating its Kube objects have been recoveredDataReady: trueindicating its volumes have been recovered
- cluster1 application protection resumes automatically