Cleaning your AIX system after uninstalling the product

Uninstall a WebSphere® Application Server product from an AIX® 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 your system.

Before you begin

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.

About this task

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 WebSphere Application Server product. A clean system lets you reinstall the product into the original directory without coexistence.

Table 1. Default directories.

Default directories are shown in the following planning table:

Identifier Default Directory
app_server_root /usr/IBM/WebSphere/AppServer
profile_root /usr/IBM/WebSphere/AppServer/profiles
plugins_root /usr/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 WebSphere Application Server products and it is not possible to stop them, stop all WebSphere Application Server product-related processes. Use the following command to determine all processes that are running:
    ps -ef | grep java
    Stop all WebSphere Application Server-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. Change directories to the /usr/IBM directory or the equivalent top directory of your installation.
  6. Type rm -rf app_server_root to remove WebSphere Application Server directories in the app_server_root directory. 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. You 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.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 6, 2014 11:19:27 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-dist&topic=tins_uninstallUnix
File name: tins_uninstallUnix.html