Deleting a Secondary Cluster
Delete a secondary cluster from a cross-region replication relationship.
The primary cluster doesn't need to be in the Active state or available to delete the secondary cluster.
Delete the secondary cluster before you delete the associated primary cluster. You cannot delete a primary cluster while it has an associated secondary cluster.
Alternatively, convert the secondary cluster to standalone to remove the cross-region replication relationship. Then you can delete the clusters in any order.
Before you begin: - You must delete or convert the secondary cluster before you can delete the associated primary cluster.
- The primary cluster does not need to be available or in the Active state.
- To retain the secondary cluster and its replicated data, convert it to standalone instead of deleting it.
To delete a secondary cluster: - On the Clusters list page, select the secondary cluster that you want to delete. If you need help finding the list page or the cluster, see Listing OCI Cache Clusters.
- On the cluster details page, select Actions, and then select Delete.
- Confirm the deletion, and then select Delete cluster.
After the operation completes, the secondary cluster is deleted and the cross-region replication relationship is removed.
Verify the deletion by confirming that the secondary cluster no longer appears in the primary cluster's Secondary clusters tab. You can now delete the former primary cluster if needed.
Use the oci redis redis-cluster redis-cluster delete command and required parameters to delete a secondary cluster:
oci redis redis-cluster redis-cluster delete --redis-cluster-id <cluster_OCID> --forceFor information about using the CLI, see Command Line Interface (CLI). For a complete list of flags and options available for CLI commands, see the CLI Command Reference.Run the DeleteRedisCluster operation to delete a secondary cluster.