- Deploy cluster1 VRG with
Spec.ReplicationState: primary
in application's namespace - Wait for cluster1 VRG
Status.Conditions.ClusterDataProtected: true
indicating application's Kube objects have been protected
- Delete VRG with
Spec.ReplicationState: primary
to delete its Kube object replicas orSpec.ReplicationState: secondary
to 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
Async
mode, this is typically accomplished by setting cluster2 VRGSpec.ReplicationState: primary
- For
Sync
mode, this is typically accomplished by network fencing
- For
- Deploy cluster2 VRG with
Spec.ReplicationState: primary
in theNamespace
it was in and with theName
it had on cluster1- Kube objects are recovered from the first available replica store specified
in VRG's
Spec.S3Profiles
containing a replica for itsNamespace
andName
- Kube objects are recovered from the first available replica store specified
in VRG's
- Wait for cluster2 VRG
Status.Condtions
:ClusterDataReady: true
indicating its Kube objects have been recoveredDataReady: true
indicating 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
Async
mode, this is typically accomplished by setting cluster1 VRGSpec.ReplicationState: secondary
- For
Sync
mode, 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
Async
mode, synchronize volume data:- Deploy cluster1 VRG with
Spec.ReplicationState: secondary
- Wait for cluster1 VRG
Status.Conditions.DataReady: true
indicating 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
Async
mode, or deploy, forSync
mode, cluster1 VRGSpec.ReplicationState: primary
to recover its volumes and Kube objects - Wait for cluster1 VRG
Status.Condtions
:ClusterDataReady: true
indicating its Kube objects have been recoveredDataReady: true
indicating its volumes have been recovered
- cluster1 application protection resumes automatically