Oracle® Solaris Cluster Geographic Edition System Administration Guide

Exit Print View

Updated: July 2014, E39667-01
 
 

How to Remove a Cluster From a Site

Perform this procedure to make a cluster remove itself from a site. If the cluster you want to remove from a site is unreachable, instead follow "How to Remove From a Site a Cluster That Is Unreachable".

  1. From a node of the cluster that you want to remove from a site, 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. Detach the issuing cluster from the site.
    • If the cluster is not the last controller in the site, use the following command.
      node-of-cluster-to-remove# geosite leave site
      site

      The name of the site to remove the cluster from.

    • If the cluster is the last controller in the site, include the –f option in the command.
      node-of-cluster-to-remove# geosite leave -f site
      • If the site contains other member clusters, the site continues to exist without a site controller.

      • If the site has no other member clusters, removal of the last controller also deletes the site.


        Note -  If the last site member being removed is not a site controller, the remove command fails with an error.
  3. From a remaining site cluster, verify that the removed cluster is no longer listed as a site member.
    # geosite show -v site
    
             *** Site "site" is not configured ***