Uninstalling the product silently

Uninstall Load Balancer before upgrading to a newer version, or if you think the current installation is corrupted. You can use IBM Installation Manager to uninstall this product silently.

Before you begin

Perform or record an installation of IBM® Installation Manager and the product to a temporary installation registry on one of your systems. You can use this temporary registry to record the uninstallation without having to use the standard registry in which Installation Manager is installed. Read the following for more information:

About this task

You can work with response files and Installation Manager to uninstall the product silently in a variety of ways. You can use a response file by:

Procedure

  1. Stop all the processes that are related to the Load Balancer product.
  2. Optional: Record a response file to uninstall the product.
    1. From a command line, change to the eclipse subdirectory in the directory in which 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 panel, select IBM Websphere Edge Components: Load Balancer for IPv4 and IPv6, and click Next.
    5. Review the summary information.
    6. Click Uninstall. Review the results:
      • 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. Close Installation Manager. Click File > Exit.
  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 in which 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.
    Avoid trouble Avoid trouble: Before you can uninstall IBM Installation Manager, you must uninstall all of the packages that were installed by Installation Manager.gotcha
    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.v80' 
      version='8.0.0.0' 
      profile='IBM WebSphere Edge Components: Load Balancer for IPV4 and IPV6 V8.0' 
      features='Dispatcher,Load Balancer,Metric Server'/>
</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: January 17, 2013 11:24 AM EST
File name: tins_lbuninstallingsilent.html