Oracle® Solaris Cluster Geographic Edition System Administration Guide

Exit Print View

Updated: July 2014, E39667-01

How to Delete a Site

This procedure deletes a site by removing all of its member clusters. Perform this procedure from one site controller cluster.

Before You Begin

Ensure that the site has at least one site controller cluster. If the site has no site controller cluster, change the role of a site member cluster to site controller before you perform this procedure. See How to Forcibly Change a Site Member to a Site Controller.

  1. From a node of a site controller cluster, assume the root role or assume a role that is assigned the Geo Management RBAC rights profile.

    For more information about RBAC, see Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .

    Note -  If you use a role with Geo Management RBAC rights, ensure that the /var/cluster/geo ACLs are correct on each node of both partner clusters. If necessary, assume the root role on the cluster node and set the correct ACLs.
    # chmod A+user:username:rwx:allow /var/cluster/geo

    The /var/cluster/geo directory must have the correct access control lists (ACL) applied for compatibility between the Geo Management RBAC rights profile and data replication software.

  2. Remove all other clusters from the site.
    # geosite remove-member list-of-members site

    A comma-separated list of each cluster in the site, excluding the local cluster.


    The name of the site to detach the specified clusters from.

  3. Verify that the local cluster is the only remaining member of the site.
    # geosite show -v site
    last-site-controller-cluster controller
  4. Forcibly detach the local cluster from the site.
    # geosite leave -f site

    The site is automatically deleted when the last site cluster is removed.

  5. Verify that the site no longer exists.
    # geosite show -v site
             *** Site "site" is not configured ***