WebSphere

This information applies to feature pack. To use what is described, you must have installed the optional feature pack Uninstalling feature pack maintenance packages silently from i5/OS, Linux, UNIX, and Windows

You can use the Update Installer for WebSphere® Software to uninstall interim fixes and fix packs, collectively known as maintenance packages. You can run it on all platforms in silent mode with a response file.

Before you begin
Procedure
  1. Log on to the operating system.

    For Linux operating systemFor UNIX operating system On Linux and UNIX platforms: In addition, verify that the umask setting is 0022.

    To verify the umask setting, type the following command: umask.

    To set the umask setting to 0022, type the following command: umask 0022

  2. Change directories to the Update Installer directory. The Update Installer directory is located in one of the following locations, depending on the operating system that you are using:
    • For AIX operating system On AIX® platforms: /usr/IBM/WebSphere/UpdateInstaller
    • For i5/OS operating system On i5/OS platforms: /QIBM/ProdData/WebSphere/UpdateInstaller/V7/UPDI
    • For HP-UX operating systemFor Linux operating systemFor Solaris operating system On HP-UX, Linux and Solaris platforms: /opt/IBM/WebSphere/UpdateInstaller
    • For Windows operating system On Windows platforms: C:\Program Files\IBM\WebSphere\UpdateInstaller

    Uninstall the interim fix on each server node in a cell before uninstalling the maintenance package from the deployment manager node.

  3. Create a response file by copying the default uninstall.txt file supplied with the Update Installer. The file is located by default in the following directory:
    • For AIX operating system /usr/IBM/WebSphere/UpdateInstaller/responsefiles
    • For i5/OS operating system /QIBM/ProdData/WebSphere/UpdateInstaller/V7/UPDI/responsefiles
    • For HP-UX operating systemFor Linux operating systemFor Solaris operating system /opt/IBM/WebSphere/UpdateInstaller/responsefiles
    • For Windows operating system C:\Program Files\IBM\WebSphere\UpdateInstaller\responsefiles
  4. Edit and save your copy of the response file. You can edit any portion of the response file, but be sure to specify the following options:
    • Uncomment the line -W backup.package= and set it to the location of the maintenance package to be uninstalled. For example,
      -W backup.package="C:\Program Files\IBM\WebSphere\UpdateInstaller\maintenance"
    • Uncomment the line -W product.location= and set it to indicate the location of the feature pack to receive the maintenance. For example,
      -W product.location="C:\Program Files\IBM\WebSphere\ProcServer"

    For more information about the uninstall.txt file, see the uninstall.txt topic in the WebSphere Application Server Network Deployment documentation.

  5. Type the update command for your platform, specifying the following attributes and the location of your response file:
    • For AIX operating systemFor HP-UX operating systemFor Linux operating systemFor Solaris operating system ./update.sh -silent -options "responsefiles/file_name"
    • For Windows operating system update.bat -silent -options "responsefiles/file_name"
    • Icon indicating Vista platformIcon indicating Windows 2008 platform update.exe -silent -options "responsefiles/file_name"
    • For i5/OS operating system update -options responsefiles/file_name
      Important: When using the update command on the i5/OS platform, do not include the -silent option in the command line. The option is included in the response file itself.
    Important: Do not start multiple copies of the Update Installer at one time. Running more than one instance of the Update Installer at a time is not supported and can produce unpredictable results, which might include a failed or faulty update.
    For more information about the update command, see the update command topic in the WebSphere Application Server Network Deployment documentation.
Results
The Update Installer uninstalls the maintenance package. Verify the success of the update by examining the updatelog.txt log file in the following directory:
  • For AIX operating systemFor HP-UX operating systemFor Linux operating systemFor Solaris operating system feature_pack_install_root/logs/update/interim_fix_name or fixpack_name.uninstall/updatelog.txt
  • For Windows operating system feature_pack_install_root\logs\update\interim_fix_name or fixpack_name.uninstall\updatelog.txt
  • For i5/OS operating system feature_pack_install_root/logs/update/interim_fix_name or fixpack_name.uninstall/updatelog.txt

If this log file contains the string INSTCONFSUCCESS on the last line, then the update was successful. Other terms such as INSTCONFPARTIALSUCCESS or INSTCONFFAILED can occur on other lines within the file, or even on the last line, but if INSTCONFSUCCESS is included in the last line, the update was successful. If the string INSTCONFPARTIALSUCCESS or INSTCONFFAILED appears in the last line of the file without INSTCONFSUCCESS, problems were detected during the update. INSTCONFPARTIALSUCCESS indicates that the update completed but errors were generated; INSTCONFFAILED, that the update failed completely. In either case, the log file provides information to troubleshoot the problems.

You can also verify that the maintenance is applied by running the command versionInfo -maintenancePackages from the following directory:
  • For AIX operating systemFor HP-UX operating systemFor Linux operating systemFor Solaris operating system feature_pack_install_root/bin
  • For Windows operating system feature_pack_install_root\bin
  • For i5/OS operating system feature_pack_install_root/bin
What to do next

If an interim fix involved one or more EAR files, the deployed EAR files will not be automatically downgraded. This is an extra manual step that is described in the interim fix readme file.

Any deployed feature pack enterprise applications (widget EARs) will not be uninstalled automatically. Each fix pack has documentation on how this should be handled.


task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 23 June 2009


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic/com.ibm.websphere.wbpm.fep.psesb.620.doc/doc/tins_wpswesb_fep_uninstall_maint_silent.html
Copyright IBM Corporation 2005, 2009. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).