Oracle® Solaris Cluster Geographic Edition Installation and Configuration Guide

Exit Print View

Updated: July 2014, E39666-01
 
 

How to Uninstall Geographic Edition Software

Use this procedure to uninstall Geographic Edition software that was installed with the pkg add command. Remove Geographic Edition software from all nodes in the cluster, unless you are removing the software from node that you are also removing from the cluster. You can continue to run applications during the uninstallation of Geographic Edition software.

  1. Assume the root role on the node where you intend to uninstall Geographic Edition software.
  2. Unmanage data replication resource groups or remove the protection groups on the local cluster.

    Use one of the following methods, depending on whether you might want to reinstall Geographic Edition software at a future time.

    • If you want to remove Geographic Edition software from the cluster but retain the protection group configuration for possible future use, unmanage data replication resource groups for each protection group on the local cluster.

      Unmanaging these resource groups prevents them from attempting to interact with Geographic Edition software after the software is uninstalled.

      # clresourcegroup offline data-replication-resource-group
      # clresource disable -g data-replication-resource-group +
      # clresourcegroup unmanage data-replication-resource-group
      -g

      Specifies the data replication resource group to disable.

      +

      Performs the operation on all resources.

    • If you do not intend to reinstall Geographic Edition software on the cluster in the future, deactivate and remove each protection group from the local cluster.
      # geopg stop -e local protection-group
      # geopg delete protection-group
      -e local

      Performs the operation only on the local cluster.

  3. Stop the Geographic Edition infrastructure on the local cluster.
    # geoadm stop

    For more information about disabling the Geographic Edition software on a cluster, see Disabling the Geographic Edition Software in Oracle Solaris Cluster Geographic Edition System Administration Guide .

  4. Remove the ha-cluster-full group package from each node in the local cluster.

    You must remove the core Oracle Solaris Cluster group package before you can remove the Geographic Edition software. However, this does not remove the installed Oracle Solaris Cluster software.

    # pkg uninstall ha-cluster-full
  5. Uninstall all Geographic Edition software packages from each node in the local cluster.

    For a list of the Geographic Edition 4.2 packages, see How to Install Geographic Edition Software.

    # pkg uninstall ha-cluster/geo* ha-cluster/group-package/ha-cluster-geo*
  6. Verify that all Geographic Edition packages are removed.
    # pkg info | grep geo