Sun Management Center 4.0 Installation and Configuration Guide

Uninstalling Sun Management Center

This section provides a summary of the es-uninst options, and the procedure for using the es-uninst command-line script to uninstall Sun Management Center from Solaris systems.

es-uninst Options

The syntax for the es-uninst command is:

es-uninst [ -f | -F | -X | -h | -v ]

The following table describes the es-uninst command parameters.

Table B–1 es-uninst Options

Option 

Description 

-F

Uninstall the entire Sun Management Center installation without prompting for confirmation and without stopping any running Sun Management Center processes. 

This option should be used only in a situation when the executables that are called while stopping Sun Management Center processes are not present where expected.  

For example, if the operating environment has been upgraded after Sun Management Center was installed from the Solaris 8 release to the Solaris 9 release, then some dynamically generated path names will be incorrect. In this case, this option avoids errors being reported during the uninstall process. 

-f

Uninstall the entire Sun Management Center installation without prompting for confirmation. 

-h

List the es-uninst options.

-v

Perform the uninstall using verbose mode. 

-X

Complete Sun Management Center uninstall without interaction. All processes are stopped, then the entire Sun Management Center installation, including the database and all add-ons, is removed. You are not given the opportunity to save your configuration data. 

Uninstalling Sun Management Center Versions 3.6.x

The Sun Management Center 3.6.x es-uninst command is used to uninstall the entire of 3.6.x installation. The Sun Management Center 3.6.x es-uninst command also provides the option to back up the Sun Management Center configuration data. If you chose to back up the configuration data, the Sun Management Center 4.0 installation process detects the backup, and asks whether you want to apply the data to the new installation.

You can uninstall Sun Management Center 3.6.x by using the es-uninst command-line script, as described below.


Note –

The Sun Management Center 4.0 installation process automatically runs the es-uninst uninstall script of an existing Sun Management Center 3.6.x installation. The Sun Management Center 3.6.x es-uninst uninstall script gives you the opportunity to back up the configuration data from the previous version so that it can be applied to a new Sun Management Center 4.0 installation.



Caution – Caution –

(On Solaris 10) When you uninstall Sun Management Center 4.0 from the global zone, the agent data in the sparse root zone is not preserved.


ProcedureTo Uninstall Sun Management Center 3.6.x Using es-uninst

The following steps assume that you installed Sun Management Center in the default directory /opt. If you installed Sun Management Center in a different directory, replace /opt with the name of the directory you specified.

  1. Log in as root on the machine where the Sun Management Center 3.6.x server is installed.

  2. To uninstall Sun Management Center 3.6.x, type the command:


    # /opt/SUNWsymon/sbin/es-uninst
    
    • If you are uninstalling Sun Management Center 3.6.x, you are asked whether you want to save your user and configuration data. Go to Step 6.

    • If you are uninstalling Sun Management Center 4.0, a list of existing products is displayed.

  3. Select the Sun Management Center 4.0 products that you want to uninstall.

    • Type y to uninstall the product and all add-ons.

      You are notified that all Sun Management Center products will be uninstalled, and you are asked whether you want to change your selection. Go to Step 5.

    • Type n if you only want to uninstall one or more add-ons.

  4. Select the Sun Management Center 4.0 add-on products that you want to uninstall.

    The uninstall process steps through each add-on installed on your system. You are asked whether you want to uninstall the add-on.

    Type y to uninstall the add-on, or type n to keep the installed add-on.

    When you have completed your selections, a list of the products you selected for uninstall is displayed. You are asked whether you want to change your selections.

  5. Change selections if needed.

    • Type y to make different selections. The list of installed products is displayed again, and the uninstall selection process is repeated.

    • Type n to continue the uninstall process. You are asked whether you want to preserve the your user and configuration data.

  6. Save the Sun Management Center user and configuration data if needed.


    Caution – Caution –

    If you type n, your current Sun Management Center user and configuration data, including the database, is removed. In addition, your security keys will be overwritten, and you will also need to set up all agents for the agents to work properly.


    • Reply y if you want to retain your administrative domain configuration and custom alarm settings in /var/opt/SUNWsymon for subsequent installations or upgrades.

    • Type n to discard the existing database.

    You are asked whether you want to proceed with the uninstall.

  7. Complete the uninstall process.

    • Type y to uninstall the product or products that you have selected.

      Your selection or selections are uninstalled. When the process completes, the es-uninst script exits to the command prompt.

    • Type n if you do not want to uninstall the selected products.

      The es-uninst script exits to the command prompt.