Go to main content

Administering the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: June 2019
 
 

Deleting a Site

This section contains procedures to delete a site. A site is automatically deleted when its last cluster is detached from the site. Each cluster must remove itself from the site. Because the last cluster to remove must be a site controller, first detach all clusters except one site controller. If the last cluster you remove is not a site controller, the command fails with an error.

When a site is deleted, all multigroups that the site references are automatically deleted on all clusters where the site was defined. The deletion of a multigroup has no effect on the protection groups that were configured in the deleted multigroup.

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.


Note -  You can also use the Oracle Solaris Cluster Manager browser interface to perform this task. Click Sites, click the site name to go to its page, in the Clusters section highlight and click Remove for each remote cluster, then highlight the local cluster and click Remove.

For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.


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 rights profile.

    For more information, see Disaster Recovery Framework Rights Profiles in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.


    Note -  If you use a role with Geo Management 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 rights profile and data replication software.


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

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

    site

    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 ***