Skip to main content
A newer release of this product is available.

cluster peer delete

Contributors
Suggest changes

Delete a cluster peer relationship

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster peer delete command removes a peering relationship. It removes the relationship records, state data, and all associated jobs.

Before removing the relationship, the command verifies that no resources depend on the relationship. For example, if any SnapMirror relationships exist, the command denies the request to delete the peering relationship. You must remove all dependencies for the deletion to succeed. The cluster peer delete command removes only the local instance of the peer relationship. An administrator in the peer cluster must use the cluster peer delete command there as well to completely remove the relationship.

Parameters

-cluster <text> - Peer Cluster Name

Use this parameter to specify the peering relationship to delete by specifying the name of the peered cluster.

Examples

This example shows a failed deletion due to a SnapMirror dependency.

cluster2::> cluster peer delete -cluster cluster1
Error: command failed: Unable to delete peer relationship.  Reason: A
        SnapMirror source exists in this cluster