Uninstalling Load Balancer from distributed operating systems using response files

Uninstall Load Balancer before upgrading to a newer version or if you think that the current installation is corrupted. You can use IBM Installation Manager to uninstall Load Balancer using response files.

Before you begin

Optional: Perform or record the installation of Installation Manager and installation of the product to a temporary installation registry on one of your systems so that you can use this temporary registry to record the uninstallation without using the standard registry where Installation Manager is installed.

About this task

Using Installation Manager, you can work with response files to uninstall the product in a variety of ways. You can use a response file by:
  • Writing a new response file by hand.
  • Modifying an existing response file or sample.
  • Recording a new response file using the GUI as described in this topic

Procedure

  1. Stop all the processes that are related to the Load Balancer product.
  2. Optional: Record a response file to uninstall the product.

    On one of your systems, perform the following actions to record a response file that will uninstall the product:

    1. From a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.
    2. Start Installation Manager from the command line using the -record option. For example, run the following as an administrator:
      [AIX][HP-UX][Linux][Solaris]
      ./IBMIM -skipInstall /var/temp/imRegistry -record /var/temp/uninstall_response_file.xml
      [Windows]
      IBMIM.exe -skipInstall "C:\temp\imRegistry" -record C:\temp\uninstall_response_file.xml
      Tip: If you choose to use the -skipInstall parameter with a temporary installation registry that you created, Installation Manager uses the temporary installation registry while recording the response file. When the -skipInstall parameter is specified, no product packages are installed or uninstalled. All of the actions that you perform in Installation Manager simply update the installation data that is stored in the specified temporary registry. Do not use the -skipInstall on the actual agent data location used by Installation Manager. Use a clean writable location, and reuse that location for future recording sessions.

      After the response file is generated, it can be used to uninstall the product, remove the product files, and update the standard installation registry.

      For more information, read the topic on recording a response file with Installation Manager in the Installation Manager information Center.
    3. Click Uninstall.
    4. In the Uninstall Packages window, select IBM Websphere Edge Components: Load Balancer for IPv4 and IPv6 and click Next.
    5. Review the summary information.
    6. Click Uninstall.
      • If the uninstallation is successful, the program displays a message that indicates success.
      • If the uninstallation is not successful, click View log to troubleshoot the problem.
    7. Click Finish.
    8. Click File > Exit to close Installation Manager.
  3. Use the response file to uninstall the product silently

    From a command line on each of the systems from which you want to uninstall the product, change to the eclipse subdirectory in the directory where you installed Installation Manager and use the response file that you created to silently uninstall the product.

    For example, run the following command as an administrator:
    [AIX][HP-UX][Linux][Solaris]
    ./IBMIM --launcher.ini silent-install.ini 
       -input /var/temp/uninstall_response_file.xml 
       -log /var/temp/uninstall_log.xml
    [Windows]
    IBMIMc.exe --launcher.ini silent-install.ini 
       -input C:\temp\uninstall_response_file.xml 
       -log C:\temp\uninstall_log.xml
    Refer to the Installation Manager Information Center for more information.
  4. Optional: Uninstall IBM Installation Manager.
    Important: Before you can uninstall IBM Installation Manager, you must uninstall all of the packages that were installed by Installation Manager.
    Read the topic on silently uninstalling Installation Manager in the Installation Manager Information Center for information about using the uninstall script to perform this procedure.
[Windows]

Example

Here is an example of a response file for silently uninstalling the product.
<?xml version="1.0" encoding="UTF-8" ?> 
<agent-input>
<server>
  <repository location='C:\repositories\edge80\local-repositories'/>
</server>
<profile installLocation='C:\Program Files\IBM\WebSphere\edge\ulb'>
  <data key='eclipseLocation' value='C:\Program Files\IBM\WebSphere\edge\ulb'/>
  <data key='cic.selector.nl' 
      value='en, fr, it, zh, ru, zh_TW, de, ja, pl, es, cs, hu, ko, pt_BR'/>
</profile>
<uninstall modify='false'>
  <offering id='com.ibm.websphere.EDGELBIPV4IPV6.v85' 
      version='8.5.0.0' 
      profile='IBM WebSphere Edge Components: Load Balancer for IPV4 and IPV6 V8.5' 
      features='Dispatcher,Load Balancer,Metric Server,Content Based Routing,Site Selector'/>
</uninstall>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' 
   value='C:\Program Files\IBM\IMShared'/>
<preference value='30' name='com.ibm.cic.common.core.preferences.connectTimeout' /> 
<preference value='30' name='com.ibm.cic.common.core.preferences.readTimeout' /> 
<preference value='0' name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' /> 
<preference value='true' name='offering.service.repositories.areUsed' /> 
<preference value='false' name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' /> 
<preference value='false' 
   name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' /> 
<preference value='true' 
   name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' /> 
<preference value='false' name='PassportAdvantageIsEnabled' /> 
<preference value='false' 
   name='com.ibm.cic.common.core.preferences.searchForUpdates' /> 
</agent-input>
Note: In this example, the offering tag specifies the version attribute. When you include the version attribute, you can use the uninstallation response file only for the version of the offering that you specify. Go to the Installation Manager information center for more information.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 16, 2014 11:59 AM EDT
File name: tins_lbuninstallingsilent.html