You can also use the geops command to remove a cluster from a partnership and release all the resources that are associated with the partnership.
Because this command destroys the local partnership configuration information, when the last member leaves a partnership, the partnership no longer exists.
Ensure that the following conditions are met:
The local cluster is a member of the partnership you want to leave.
This partnership does not contain any protection groups.
Log in to a cluster node.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.
Verify that the partnership does not have any protection groups.
# geopg list |
If you find that the partnership contains protection groups, you can delete them with the geopg delete command. For information about deleting protection groups, see one of the following data replication guides:
Remove the partnership on a node of the cluster that is a member of the partnership.
# geops leave-partnership partnershipname |
Specifies the name of the partnership
The geops leave-partnership command deletes the heartbeats configured for the partnership, including custom heartbeats.
For more information, refer to the geops(1M) man page.
In this example, the cluster-paris cluster leaves the paris-newyork-ps partnership.
phys-paris-1# geops leave-partnership paris-newyork-ps |
After the cluster-paris cluster leaves the paris-newyork-ps partnership, as described in the previous example, the only remaining member of the partnership is the cluster-newyork cluster. You can delete the paris-newyork-ps partnership by forcing the cluster-newyork cluster to leave the partnership.
phys-newyork-1# geops leave-partnership paris-newyork-ps |
Repeat this procedure on the other cluster in the partnership.