Sun Cluster Geographic Edition System Administration Guide

Leaving or Deleting a Partnership

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.

ProcedureHow to Leave a Partnership

Before You Begin

Ensure that the following conditions are met:

  1. 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.

  2. 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:

  3. 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

    Note –

    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.

Example 5–6 Leaving a Partnership

In this example, the cluster-paris cluster leaves the paris-newyork-ps partnership.

phys-paris-1# geops leave-partnership paris-newyork-ps

Example 5–7 Deleting a Partnership

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

Next Steps

Repeat this procedure on the other cluster in the partnership.