Sunday, 6 December 2015

Uninstall WebSphere Application Server from Command line

Hello All,

It is a very common request to uninstall the WebSphere products from machine if you are working as an administrator. If it's a windows environment and you have installation manager console available then it's a very easy task to do. But if it's a UNIX OS and you don't even have a Xmanager to open a graphical user interface the it's critical task to uninstall WebSphere Application server.

In my case I have a Solaris as an OS and didn't have Xmanager available for graphical user interface. Then I use the command line to uninstall WebSphere application Server .  You can do this task in two ways which are described as below.

Procedure:


Uninstall WebSphere Environment Using IBM Installation Manager Command line console.


1. Go to the below location
cd /opt/InstallationManager/eclipse/tools

2. Execute the below command and you will get the command line console
./imcl -c

=====> IBM Installation Manager

Select:
      1. Install - Install software packages
      2. Update - Find and install updates and fixes to installed software packages
      3. Modify - Change installed software packages
      4. Roll Back - Revert to an earlier version of installed software packages
      5. Uninstall - Remove installed software packages

Other Options:
      L. View Logs
      S. View Installation History
      V. View Installed Packages
         ------------------------
      P. Preferences
         ------------------------
      E. Export Data for Problem Analysis
      A. About IBM Installation Manager
         ------------------------
      X. Exit Installation Manager

3. Type 5 to uninstall the installed software packages and press Enter.

4. Similarly by following the instructions given on the command line console you can uninstall all installed packages and Installation Manager also.

Uninstall WebSphere Environment Using IBM Installation Manager's ./imcl uninstall utility.


1. Go to the below location
cd /opt/InstallationManager/eclipse/tools/

2. Execute the below command to list down all installed packages.

./imcl listInstalledPackages

com.ibm.cic.agent_1.5.2000.20120223_0907
com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539
com.ibm.websphere.ND.v85_8.5.2.20130327_1831
com.ibm.websphere.PLG.v85_8.5.1.20121017_1724

3. Execute the below commands to uninstall all installed packages including Installation manager if you want
[Note: Follow the below sequence for error free uninstall ]

bash-3.2$ ./imcl uninstall com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539
Uninstalled com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539 from the /opt/WebSphere85 directory.

bash-3.2$ ./imcl uninstall com.ibm.websphere.PLG.v85_8.5.1.20121017_1724
Uninstalled com.ibm.websphere.PLG.v85_8.5.1.20121017_1724 from the /opt/wasplugins directory.

bash-3.2$ ./imcl uninstall com.ibm.websphere.ND.v85_8.5.2.20130327_1831
Uninstalled com.ibm.websphere.PLG.v85_8.5.1.20121017_1724 from the /opt/WebSphere85 directory.

bash-3.2$ ./imcl uninstall com.ibm.cic.agent_1.5.2000.20120223_0907
Uninstalled com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539 from the
/opt/InstallationManager directory.


Hope this will help you. Kindly comment for your suggestion and quires.  

"Effort only fully releases its reward after a person refuses to quit.”

 Regards,
 Akhilesh B. Humbe

No comments:

Post a Comment

Popular Posts