+

Search Tips   |   Advanced Search

Uninstall WAS ND v9 using response files

We can uninstall any product offering using Installation Manager response files. A response file is an XML file containing the data required to uninstall the product, such as the offering IDs and the installation directory.

(Dist) Optional: If we are recording a response file, perform or record the installation of Installation Manager and installation of the product to a temporary installation registry on one of our systems so we can use this temporary registry to record the uninstallation without using the standard registry where Installation Manager is installed.

(iSeries) Before uninstalling the product, ensure that your user profile has *ALLOBJ and *SECADM special authorities.

All product offerings can be uninstalled using Installation Manager response files, including the following offerings:

For a full list of product offerings, see WAS product offerings for supported operating systems.


Uninstall WAS ND v9 using response files

  1. Create a response file to uninstall the product.

    Important: Uninstall all packages that are extensions of the offering under the same package group. We can either list each individual offering package to uninstall, or uninstall all packages in the package group. For example, the WAS ND offering requires IBM SDK, Java Technology Edition. To uninstall these offerings, choose either of the following two options:

    • Add an <uninstall> element containing two <offering> elements in your response file:

      • WS ND v9 (com.ibm.websphere.ND.v90)
      • Java SDK (com.ibm.java.jdk.v8)

    • Add an <uninstallAll> element and specify the name of the package group on the profile attribute.

      The product offering, the Java SDK offering, and any other offerings in the package group are uninstalled.

    See the example below for more info.

    (Dist) Tip: Use the Installation Manager GUI to record the uninstallation response files. When recording a response file, the selections that we make in Installation Manager are stored in the response file. Specify the -skipInstall parameter to record the response file without uninstalling the product.

    1. From a command line, change to the eclipse subdirectory in the directory where we installed Installation Manager.

    2. Start Installation Manager from the command line with the -record option.

      For example:

      • (Windows) Administrator or non-administrator:

          IBMIM.exe -skipInstall "C:\temp\imRegistry" -record C:\temp\uninstall_response_file.xml

      • (UNIX) Administrator:

          ./IBMIM -skipInstall /var/temp/imRegistry -record /var/temp/uninstall_response_file.xml

      • (UNIX) Non-administrator:

          ./IBMIM -skipInstall user_home/var/temp/imRegistry -record user_home/var/temp/uninstall_response_file.xml

      If we use a temporary data location with the -skipInstall parameter, Installation Manager writes the installation registry to the specified temporary data location while recording. We can then use the generated response file to uninstall the product, removing the product files and updating the standard installation registry.

      Do not use the -skipInstall operation on the actual agent data location used by Installation Manager. This usage is unsupported. Use a clean writable location, and reuse that location for future recording sessions.

      See Installation Manager documentation.

    3. Follow the steps in Uninstall the product offerings from distributed operating systems using the GUI.

  2. Stop the product installation that we are uninstalling.

  3. Start the command line.

    (iSeries) On a CL command line, run the STRQSH command to start the Qshell command shell.

  4. Change to the eclipse/tools subdirectory in the directory where we installed Installation Manager.

  5. Run the imcl input command and specify the location of the response file.

    For example:

    • (Windows) Administrator or non-administrator:

        imcl.exe input C:\temp\uninstall_response_file.xml -log C:\temp\uninstall_log.xml

    • (UNIX) Administrator:

        ./imcl input /var/temp/uninstall_response_file.xml -log /var/temp/uninstall_log.xml

    • (UNIX) Non-administrator:

        ./imcl input user_home/var/temp/uninstall_response_file.xml -log user_home/var/temp/uninstall_log.xml

    • (iSeries)

        ./imcl input $HOME/WASFiles/temp/uninstall_response_file.xml -log $HOME/WASFiles/temp/uninstall_log.xml

  6. List all installed packages to verify the uninstallation.

      ./imcl listInstalledPackages

  7. Optional: Uninstall IBM Installation Manager.

    Important: Before uninstalling IBM Installation Manager, uninstall all of the packages that were installed by Installation Manager.


Example

The following sample response file uninstalls the WAS ND and IBM SDK, v8 offerings on Windows.

The following sample response file uninstalls all offerings in the IBM WAS V9.0 package group on Windows.


  • Install the product offerings
  • Install features on distributed operating systems
  • Update the product on distributed and IBM i operating systems
  • Uninstall the product offerings from distributed operating systems using the GUI
  • Uninstall the product offerings using the command line
  • IBM Installation Manager