WebSphere Application Server Centralized Installation Manager – Part 5

Uninstalling the product

We already saw that Manage offerings is a generic Job. Uninstallation of WAS product also needs to be done through a Manage offerings job. The key point we understood is that the Manage Offerings Job provides information to the Installation Manager through a response file. Let us recollect the command that we used in Uninstalling-WAS-HowTo to silently uninstall WAS

./IBMIM –launcher.ini silent-install.ini -input <was_root>/uninstall/uninstall.xml -log /tmp/uninstall_log.xml

In this IBMIM takes the response file through the –input option. This command to uninstall the product is very similar to the silent installation command. So all we need to do to complete uninstallation of product through CIM is

  1. First collect the uninstall.xml file (to be used as response file) from the remote target through a Collect file job
  2. Submit the Manage offering Job with the uninstall.xml response file to uninstall the product in the target machine

Collect the response file from the target

In this step we are going to collect the response file called uninstall.xml that was created in the remote host during installation.

Expand Jobs in the left navigation pane of Job manager admin console

Click Submit link

Select Collect file from Job type drop-down

Optionally, provide a description in the Description field

Click Next button

Enter the hostname of the target in the field next to the Add button and click on the Add button

Provide username and password for authentication under Target Authentication section

Click Next button

The uninstall.xml response file was automatically created during the product installation under <WAS_ROOT>/uninstall directory.

Enter “<WAS_ROOT>/uninstall/uninstall.xml” in the Source text field

Leave the Destination field blank

The Job will let us know the path of the file in the Job Manager machine when it completes.

Click Next button

Click Next button in Schedule the job screen

Review the summary information and click Finish button to submit the job

Click the refresh icon present next to Status Summary column label

Click on the Job ID when the Job completes

The task has succeeded.

Click on the uninstall.xml file to see its contents

Note that the response file uninstall.xml has got the uninstall XML element which is going to tell the Installation manager to uninstall the product

Note down the path where uninstall.xml file is copied in Job Manager machine

We will be using this path when we submit the next job.

About Steve Robinson

Hi, I am Steve Robinson, a Middleware specialist. I provide consulting, mentoring & training. I also have extensive experience in helping organizations with problem solving, build-deploy automation and general Java application packing and system architecture.

I have worked in the Information Technology space for > 20 years across many industry verticals including Banking, Insurance, Retail and New Media.
My best qualities are communication written and oral and the ability to think on my feet. There is no such word as can’t.
There is always a solution to a problem; communication is the key to success. Project management is about the ability to inform the appropriate stakeholders using communication feed-back loops.

You can purchase the entire WebSphere Application 8 Network Deployment Essentials Course for $99.95 from The Middleware Shop.

Books Published

IBM WebSphere Application Server 8.0 Administration Guide WebSphere Application Server 7.0 Administration Guide

Linked In | Twitter | About Me | Contact Me


Leave a Reply