Sun Cluster Geographic Edition Installation Guide

Chapter 5 Uninstalling the 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.

This chapter contains the following sections:

Uninstallation Overview

Use the following table to determine the required method of uninstalling the Sun Cluster Geographic Edition software.

Table 5–1 Uninstallation Methods

Version of Sun Cluster Geographic Edition Software 

Version of Solaris OS 

Method of Uninstallation 

3.1 8/05 

8 or 9 

The uninstaller provided with Sun Cluster Geographic Edition 3.1 8/05.

For more information, see Chapter 5, Uninstalling the Sun Cluster Geographic Edition Software.

3.1 8/05 

10 

The pkgrm command.

3.1 2006Q4 

The pkgrm command.

For more information, see Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 8.

3.1 2006Q4 

9 or 10 

The Java ES uninstaller.  

For more information, see Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 9 and 10

You can remove the Sun Cluster Geographic Edition software without stopping applications or data replication. For more information about how to keep applications and data replication online, see one of the following data replication guides:

To use the geoadm command to stop the Sun Cluster Geographic Edition infrastructure, you must have root access.

For more information about 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 on Solaris OS 9 and 10

Java ES provides an uninstallation program for removing components that were installed on your system using the Java ES installer. Like the Java ES installer, the uninstaller can be run in graphical or text-based mode. The Java ES uninstaller is located at /var/sadm/prod/SUNWentsys4.


Note –

You must uninstall the Sun Cluster Geographic Edition software before you uninstall the Sun Cluster software.


If you have installed Solaris OS 8, use the instruction in Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 8 to uninstall the Sun Cluster Geographic Edition software.

The Java ES uninstaller might behave differently depending on which component products you installed and how the products are interrelated. Remember the following when running the uninstaller:

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

  1. To use the uninstall 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. Stop the Sun Cluster Geographic Edition infrastructure on the local cluster.


    # 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 /var/sadm/prod/SUNWentsys5
    
  5. Start the uninstall utility.


    # ./uninstall
    

    The Welcome page is displayed.

  6. Click Next to proceed.

    The Select Components page is displayed.

  7. Select the components you want to uninstall, and click Next.

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

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

  8. Review the uninstallation selections you have made.

    • If changes are needed, click Back through successive pages until the Component Selection page is displayed.

    • Make changes as needed on the Component Selection page.

    • Click Next to proceed again through the uninstaller pages.

      The uninstaller remembers previously-specified values. You can modify any value you previously specified.

  9. Click Next when you are satisfied with your selections.

    The uninstaller begins removing software from your system and displays the following:

    • A progress bar that displays the overall completion percentage

    • The name of the package currently being removed

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

  10. Click View Summary or View Log for information about the uninstallation.

    • Uninstallation summary shows the components that were uninstalled and a list of configuration information for the components.

    • Uninstallation log shows all messages that were generated by the uninstaller during uninstallation.

    You can also review the uninstallation summary and log files in /var/sadm/install/logs.

  11. Click Close to exit the uninstaller.

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

  1. To use the uninstall 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. Stop the Sun Cluster Geographic Edition infrastructure on the local cluster.


    # 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. Change to the directory where the uninstall utility resides.


    # cd /var/sadm/prod/SUNWentsys4
    
  4. Start the uninstall utility using the -nodisplay option to indicate that you want to use the text-based interface.


    # ./uninstall -nodisplay
    

    The Welcome message is displayed followed by a list of all possible Java ES components on your system.

  5. The uninstaller selects for removal any Java ES components it finds on your system by listing the numbers corresponding to the installed components. Choose components by typing a comma-separated list of the numbers corresponding to the components you want to uninstall, and press Return.

  6. Review your selections.

    • If changes are needed, type the < character and press Return to go back through successive pages until the Component Selection list appears.

    • Make changes as needed on the Component Selection list.

    • Proceed again through the uninstaller screens.

  7. When you are satisfied with your selections, type the number 1 and press Return.

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

    After all component software has been removed, you can view the uninstallation summary and log.

  8. Type 1 or 2 and press Return to see information about the uninstallation.

    • Uninstallation summary shows the components that were uninstalled and a list of configuration information for the components.

    • Uninstallation log shows all messages that were generated by the uninstaller during uninstallation.

    You can also review the uninstallation summary and log files in /var/sadm/install/logs.

  9. Type the ! character to exit the uninstaller.

Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 8

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 pkgadd Command

  1. Become superuser on the node or cluster where you intend to uninstall the Sun Cluster Geographic Edition software.


    % su
    
  2. Stop the Sun Cluster Geographic Edition infrastructure on the local cluster.


    # 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. Uninstall Sun Cluster Geographic Edition software packages from the cluster using the pkgrm(1M) command.

    Ensure that you also uninstall any localization packages you have installed.


    Note –

    You must uninstall the packages in the reverse order of the installation.



    # pkgrm SUNWscgman
    # pkgrm SUNWscgspm
    # pkgrm SUNWscgreptcu
    # pkgrm SUNWscgreptc
    # pkgrm SUNWscgrepavsu
    # pkgrm SUNWscgrepavs
    # pkgrm SUNWscgctlr
    # pkgrm SUNWscgctl
    # pkgrm SUNWscghbr
    # pkgrm SUNWscghb
    # pkgrm SUNWscmautilr
    # pkgrm SUNWscmautil
    
  4. Verify that Sun Cluster Geographic Edition software has been removed.


    # pkginfo | grep -i geo