Splitting a TrueCopy pair or Universal Replicator pair using the DR Operator

Replication Plug-in for Containers Installation and User Guide

Version
3.18.x
Audience
anonymous
Part Number
MK-92ADPTR155-10
ft:lastEdition
2026-07-07

Splitting a TrueCopy or Universal Replicator pair through the DR Operator temporarily stops data replication between primary and secondary volumes, allowing independent access to the secondary volume for backup, testing, or recovery purposes.

  1. Apply the DR policy with desiredState set to split. Enter:
    kubectl patch drpolicy <drpolicy-cr-name> --type=merge -p '{"spec":{"desiredState":"split"}}'
  2. Verify if the DR policy is applied on both the primary and secondary sites. Enter:
    kubectl get drpolicy

    Sample output:

    kubectl get drpolicy
    NAME                  SOURCE_CLUSTER   TARGET_CLUSTER   REPLICATION_TYPE   DESIRED_STATE   STATUS      CTG_ID   AGE
    sample-app-drpolicy   site-61          site-62          sync               split           Unhealthy   21       18m
  3. Verify the replication status of the PVCs. Enter:
    kubectl get replication -A

    Sample output:

    NAMESPACE   NAME                                               STATUS   DESIREDSTATE   OPERATION   AGE
    wp-app      replication--my-app-drpolicy--wp-content-pvc       Split    split          none        20m
    wp-db       replication--my-app-drpolicy--mysql-data-mysql-0   Split    split          none        20m
    wp-db       replication--my-app-drpolicy--mysql-logs-mysql-0   Split    split          none        20m