Skip to main content
Version: 3.1

Clean up synchronous DR disaster recovery objects in OpenShift vSphere

If you no longer require a disaster recovery object, you can delete it.

Perform the following steps from a location where you have oc access to the source cluster:

  1. Delete the migration schedule:
    oc delete migrationschedules <migrationschedule-name> -n <migrationnamespace>

note

Once a migrationschedule object is deleted, delete all the associated migration objects that you retrieved in step 2 of the previous section.

  1. Delete the associated schedule policy :

    oc delete schedulepolicy <your-schedule-policy>
  2. Delete the cluster pair from the source cluster.

    oc delete clusterpair <migration-cluster-pair> -n <migrationnamespace>