Uninstalling the product
This task describes how to uninstall WAS Network Deployment.
Before you begin
The uninstall command calls the uninstaller program that is created during installation. The uninstaller program is customized for each product installation, with specific disk locations and routines for removing installed features.
The uninstaller program removes registry entries, uninstalls the product, and removes all related features. The uninstaller program does not remove log files in the installation root directory.
The uninstaller program removes all profiles, including all of the configuration data and applications in each profile. Before you start the uninstall procedure, back up the config folder, the installableApps folder, and the installedApps folder of each profile, if necessary. See Using command line tools for a description of managing configuration files. Back up all applications that are not stored in another location.
This procedure uninstalls the WAS product.See the following topics to uninstall other components on the product disc:
- Uninstalling the Web server plug-ins for WebSphere Application Server
- Uninstalling IBM HTTP Server
- Uninstalling Application Client for WebSphere Application Server
Estimating the time required to uninstall The time required to uninstall is dependent on the processing speed of your machine. As a rough guideline, uninstalling the core product files and one application server profile takes approximately 10 minutes when using the uninstall command.
- Log on as root on a Linux or UNIX system, or as a user who belongs to the administrator group on a Windows system.
- Run the uninstaller program for the Web server plug-ins for WebSphere Application Server.
If a Web server is configured to run with the Application Server, uninstall the plug-ins to remove the configuration from the Web server. See Uninstalling the Web server plug-ins for WebSphere Application Server.
- Stop each running Application Server with the stopServer command.
If security is disabled, the uninstaller program can stop all WAS processes automatically. If servers are running and security is enabled, the uninstaller program cannot shut down the servers and the uninstall procedure fails. Manually stop all servers before uninstalling.
Stop all server processes in all profiles on the machine. For example, issue the following command from the /opt/IBM/WebSphere/AppServer/profiles/app_server_profile/bin directory on a Linux machine to stop the server1 process in the profile./stopServer.sh server1
If servers are running and security is enabled, use the following commands./stopServer.sh server1 -user user_ID -password password
- Stop the nodeagent process with the stopNode command.
Stop the nodeagent process that might be running on the machine. For example, issue the following command from the /opt/IBM/WebSphere/AppServer/profiles/app_server_profile/bin directory of a federated node on a Linux machine to stop the nodeagent process./stopNode.sh
If servers are running and security is enabled, use the following command./stopNode.sh -user user_ID -password password
- Stop the deployment manager dmgr process with the stopManager command.
Stop all dmgr processes that are running on the machine. For example, issue this command on a Linux machine from the /opt/IBM/WebSphere/AppServer/profiles/dmgr_profile/bin directory./stopManager.sh -user user_ID -password password
- Optional: Back up configuration files and log files to refer to them later, if necessary.
The uninstaller program does not remove log files in the installation root directory. The uninstaller program removes all profiles and all of the data in all profiles.
Back up the config folder and the logs folder of each profile to refer to it later, if necessary. You cannot reuse profiles so there is no need to back up an entire profile.
- Uninstall the product.
- Review the install_root/logs/uninstlog.txt file.Uninstall, com.ibm.ws.install.ni.ismp.actions. ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
- Uninstall manually before reinstalling.
Manually uninstall the product to remove all artifacts of the product so that one can reinstall into the same installation root directory. If you do not plan to reinstall, you do not need to manually uninstall.
See Uninstalling manually for more information.
This procedure results in uninstalling the product.
What to do next
After uninstalling the product and cleaning the system with the manual uninstall procedure, one can reinstall.
See Task overview: Installing for an overview of installing the product and creating a functional e-business environment.
Uninstalling Network Deployment
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.