Sun Cluster Geographic Edition Installation Guide

Chapter 4 Uninstalling the Sun Cluster Geographic Edition Software

The Sun Cluster Geographic Edition uninstallation utility is similar to the text-based interface of the installation utility.

This chapter contains the following sections:

Uninstallation Overview

The Sun Cluster Geographic Edition uninstaller might behave differently depending on which component products you installed and how they are interrelated. Remember the following when running the uninstaller:

You can remove the Sun Cluster Geographic Edition software without stopping applications or data replication. For more information how to keep applications and data replication online, see Deactivating a Hitachi TrueCopy Protection Group in Sun Cluster Geographic Edition System Administration Guide or How to Deactivate a Sun StorEdge Availability Suite 3.2.1 Protection Group in Sun Cluster Geographic Edition System Administration Guide

To use the geoadm command to disable the local cluster for partnership membership, you must have the Geo Management role-based access control (RBAC) rights profile.

For more information on RBAC rights profiles, see the rbac(5) man page and Sun Cluster Geographic Edition Software and RBAC in Sun Cluster Geographic Edition System Administration Guide.

For more information on disabling the local cluster for partnership membership, see Disabling the Sun Cluster Geographic Edition Software in Sun Cluster Geographic Edition System Administration Guide.

Uninstalling Sun Cluster Geographic Edition Software

When you uninstall the Sun Cluster Geographic Edition software, node or cluster is no longer a part of the geographically separated cluster.

ProcedureHow to Uninstall the Sun Cluster Geographic Edition Software by Using the GUI

Steps
  1. To use the uninstaller utility with a GUI, ensure that the display environment of the cluster node to uninstall is set to display the GUI.


    % xhost +
    % setenv DISPLAY nodename:0.0
    
  2. Become superuser on the node or cluster where you intend to uninstall the Sun Cluster Geographic Edition software.


    % su
  3. Disable the local cluster for partnership membership.


    # geoadm stop
    

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

  4. Change to the directory where the uninstall utility resides.


    # cd /opt/SUNWscgeo/install/uninstall
    
  5. Start the uninstaller utility.


    # ./uninstaller
    
  6. Follow the instructions on the screen to install Sun Cluster Geographic Edition framework software on the node or cluster.

    The uninstall utility starts and displays the Welcome page.

    To exit the uninstall utility at any time, click Cancel.

  7. Confirm that you are ready to uninstall the software, and click Next.

    After the software has been removed, the uninstaller displays the Uninstallation Complete page.

ProcedureHow to Uninstall the Sun Cluster Geographic Edition Software by Using the Text-Based Interface

Before You Begin

Follow these guidelines to use the interactive uninstaller utility in this procedure:

Steps
  1. To use the uninstaller utility with a text-based interface, become superuser on the node or cluster where you intend to uninstall the Sun Cluster Geographic Edition software.


    % su
  2. Disable the local cluster for partnership membership.


    # geoadm stop
    

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

  3. Insert the Sun Cluster Geographic Edition CD-ROM in the CD-ROM drive.

  4. Change to the directory where the uninstaller utility resides.


    # cd /opt/SUNWscgeo/install/uninstall
    
  5. Start the uninstaller utility using the -nodisplay option to indicate that you want to use the text-based interface.


    # ./uninstaller -nodisplay
    
  6. Follow the instructions on the uninstallation pages to uninstall Sun Cluster Geographic Edition framework software on the node or cluster.

    After uninstallation is finished, you can view any available uninstallation log.

    To exit the installer at any time, type the ! character.

  7. Confirm that you are ready to uninstall the software, and type 1 and press Enter to begin the uninstallation.

    The uninstaller begins removing software from your system. During uninstallation, the uninstaller displays a progress bar that displays the overall completion percentage.