+

Search Tips   |   Advanced Search

Install multiple maintenance packs silently


This page describes how to use the Update Installer for WebSphere Software to install multiple maintenance packages using the silent install option. This feature can install maintenance for WAS and all stack products installed in the same WAS home directory.

Verify the most recent version of the Update Installer is installed on a target system locally.

Use the Update Installer program from the same user ID that installed WAS that we are updating. Otherwise, the file ownership mismatches might require correction by the root user. See Use root or non-root when installing with the Update Installer for more information.

The Update Installer is capable of automatically selecting the recommended maintenance for a product stack and determining the appropriate installation sort order of the maintenance packages. For example, if multiple feature packs are both installed and there is a recommended fix pack and interim fix for each product, the Update Installer can determine if this maintenance is applicable and install them in the correct order.

The following steps lead you through the process of installing multiple maintenance packages using the silent mode.

 

  1. Verify the most recent version of the Update Installer is installed on a target system locally.

  2. Download all the required maintenance packages from the official IBM support Web site into the updi_root/maintenance directory.

  3. Ensure that all running processes have been stopped.

  4. Edit the response file. An example of a response file is located at the bottom of this pane.

    1. The location of WAS needs to be added to the response file.

    2. Specify the choice of Install maintenance in the response file.

    3. Add the maintenance location where packages can be found to the response file. There are two options for installing the fix pack:

      1. In the response file, point to the directory containing the fix packages and allow the Update Installer to determine which maintenance packages to install.

      2. In the response file, provide a list of all the maintenance packages you want installed, with their complete file path.

  5. Run the Update Installer.

    For example:

    (Windows)

    update.bat -silent -options "responsefiles\file_name"
    

    update.exe -silent -options "responsefiles\file_name"
    

    [AIX] [HP-UX] [Linux] [Solaris]

    ./update.sh -silent -options "responsefiles/file_name"
    

  6. Review the log to ensure maintenance was applied successfully. The log can be found at APP_ROOT/logs/update/maintenance_package.install.

 

Results

One of the following results will appear in the log.

INSTCONFSUCCESS

The operation was a success.

INSTCONFPARTIALSUCCESS

The operation was partially successful, refer to the log for more details.

INSTCONFFAILED

The operation failed, refer to the log for more details.

 

Example

The following is a sample response file used by the Update Installer to install multiple maintenance packages using the silent installer.

################################################################################
#
# This is the silent install response file for installing maintenance packages
# using the update installer.
# 
# A common use of an options file is to run the wizard in silent mode. This lets
# the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode
# execution, *uncomment* and modify the parameters defined within.
#
# Use the following command line when running the wizard from the update 
# installer directory:
# 
#    update -options responsefiles/install.txt -silent
#
# Please enclose all values within a single pair of double quotes.
#
################################################################################


################################################################################
#
# This section describes how to apply a maintenance package using the full 
# filename specifications to be installed. 
# There are three ways we can specify installing a maintenance package.  
# They are the following:
# (Use the examples below and edit where appropriate.)
#
# 1. Specify a single maintenance package full filename to be installed.
# 
#    For example:
#    -W maintenance.package="C:\Program Files\IBM\WebSphere\AppServer\UpdateInstaller\maintenance\PQ20029.pak"
#
# 2. Specify a multiple maintenance package full filename to be installed. 
#    -  Use a semicolon to separate the full filename specifications.
#    -  Update Installer will install the latest applicable maintenance in the order listed. 
#
#    For example:  
#    -W maintenance.package="C:\maintenance\PQ20029.pak;C:\maintenance\PK31008.pak;D:\6.1.0-WS-WAS-WinX32-FP0000001.pak" 
#
# 3. Specify a full folder name that contains the maintenance packages.
#    Update Installer will install the latest applicable maintenance in the order listed in the folder.
#
#    For example:
#    -W maintenance.package="D:\UpdateInstaller\maintenance"
#
# Notes: If no package is specified, maintenance packages from the default folder 
#        (such as, UpdateInstaller_HOME/maintenance )
#        will be installed.
#
-W maintenance.package="D:\UpdateInstaller\maintenance\6.1.0-WS-WAS-WinX32-FP0000001.pak"


################################################################################
# 
# Prerequisite Checking
# 
# The update installer checks the system for prerequisites by default.
# 
# Uncomment the following option to notify the installer to continue with
# the update and log the warnings even though prerequisite checking
# failed.
# 
#-OPT disableNonBlockingPrereqChecking="true"

################################################################################
#
# Used to input WAS install location that will be updated.
#
# ie. -W product.location="C:\Program Files\IBM\WebSphere\AppServer"
#
# 

WAS ND v7.0 install location should always been specified, and it should # always be the full path. # -W product.location="D:\Program Files\IBM\WebSphere\AppServer" ################################################################################ # # Do not edit these values. # # -W update.type="install"





 

Related tasks


Install maintenance packages, interim fixes, fix packs, and refresh packs

 

Related


install.txt