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.
Log in as root on the machine where the Sun Management Center 2.x or 3.x server is installed.
Remove T3 device configuration information if T3 devices are present.
If you have not installed and set up the add-on Monitoring and Management of A5x00 and T3 Devices, skip this step. Go to Step 3.
If you monitor and manage T3 storage devices using the Monitoring and Management of A5x00 and T3 Devices add-on, remove T3 device configuration information before you uninstall Sun Management Center. The es-uninst command does not remove T3 device configuration information.
To remove T3 device configuration information:
Stop the Sun Management Center agent.
Type the command /opt/SUNWsymon/sbin/es-stop -a.
Run the pre-uninstall script to remove T3 device configuration information.
Type the command /opt/SUNWsymon/addons/storage/sbin/pre-uninst.sh.
You are asked whether you want to stop the T3 from sending syslog messages. Type y. You are then prompted for the root password for the T3 device. Type the password.
You are notified that the T3 device has been removed from the T3 module.
If you do not run the pre-uninst.sh script before you install Sun Management Center 3.6.1, you will have to manually remove T3 configuration information before you can set up the new Sun Management Center 3.6.1 installation.
If you run the pre-uninst.sh script but then decide to keep your Sun Management Center 2.x or 3.x installation, type the command /opt/SUNWsymon/es-setup -F to set up your T3 devices again.
You can now uninstall Sun Management Center.
To uninstall Sun Management Center 2.x or 3.x, type the command:
# /opt/SUNWsymon/sbin/es-uninst |
If you are uninstalling Sun Management Center 2.x or 3.x, you are asked whether you want to save your user and configuration data. Go to Step 7.
If you are uninstalling Sun Management Center 3.6.1, a list of products that are installed is displayed.
You are then asked whether you want to uninstall the Sun Management Center production environment or developer environment, depending on whether the production or developer environment is installed.
Select the Sun Management Center 3.6.1 products that you want to uninstall.
Type y to uninstall the production or developer environment 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 6.
Type n if you only want to uninstall one or more add-ons.
Select the Sun Management Center 3.6.1 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.
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.
Save the Sun Management Center user and configuration data if needed.
If you reply n, your current Sun Management Center user and configuration data, including the database, will be 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.
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.