WAS v8.0 > Install the application serving environment > Distributed operating systems > Install the product > Clean the system after uninstalling the product


Clean your Solaris system after uninstalling the product

Install a WAS product from a Solaris system by running Installation Manager and then performing manual steps to remove log files and registry entries that can prevent you from reinstalling the product into the original directory. If you are not planning to reinstall, you do not have to clean the system.
The uninstallation program removes all profiles by default, including all of the configuration data and applications in each profile. Before you start the uninstallation procedure, back up the config folder, the installableApps folder, and the installedApps folder of each profile if necessary.

Determine the installation root directory for the product so that you remove the correct product and produce a clean system.

Reinstalling the product into a new directory when files remain from a previous installation can create a coexistence scenario. However, you can delete all files and registry entries to completely remove a WAS product. A clean system lets you reinstall the product into the original directory without coexistence.

Default directories.

Default directories are shown in the following planning table:

Identifier Default Directory
WAS_HOME /opt/IBM/WebSphere/AppServer
PROFILE_ROOT /opt/IBM/WebSphere/AppServer/profiles
plugins_root /opt/IBM/WebSphere/Plugins

Installation Manager and the Profile Management Tool provide an override for your own locations for root directories.

Perform the following procedure to produce a clean system.


Procedure

  1. Log on with the same user ID that was used to install the product.

  2. Use Installation Manager to uninstall the Web Server Plug-ins.

    If a web server is configured to run with the application server, uninstall the plug-ins to remove the configuration from the web server.

  3. Use the kill command to stop all Java processes that are running.

    If running Java processes are not related to WAS products and it is not possible to stop them, stop all WAS product-related processes. Use the following command to determine all processes that are running:

    ps -ef | grep java
    
    Stop all WAS-related processes with the kill command.
    kill -9 java_pid_1 java_pid_2...java_pid_n
    

  4. Use Installation Manager to uninstall the product.

  5. Type rm -rf WAS_HOME to remove WAS directories in...

    WAS_HOME
    Do not remove installation root directories for products that you intend to keep. Remove all of the profile directories as well.


Results

This procedure results in having a clean system. We can reinstall into the same directories now. A clean system has no trace of a previously deleted installation.


What to do next

Go to Task overview: Installing to begin planning a new installation.
Clean the system after uninstalling the product

+

Search Tips   |   Advanced Search