Installing fix packs silently

If you want to install maintenance without the graphical user interface, you can use the Update Installer for WebSphere® Software to install a fix pack in silent mode.

Before you begin

Ensure that 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 the product that you are updating. Otherwise, the file ownership mismatches might require correction by the root user. See Using root or non-root when installing with the Update Installer for more information.

About this task

Procedure

  1. Download the required fix pack from the official IBM® support Web site into the updi_root/maintenance directory.
  2. Ensure that all running processes have been stopped.
  3. Edit a response file. The one located at the bottom of this page can be used as an example. There are also sample response files found in the updi_root/responsefiles directory.
    1. Specify the location of the product to the response file.
    2. Specify the choice of install maintenance in the response file. For example: -W update.type="install"
    3. Add the maintenance location where packages can be found to the response file.
  4. Run the Update Installer.

    For example:

    [Windows]
    update.bat -silent -options "responsefiles\file_name"
    [Windows Vista] [Windows 2008 Server] [Windows 7]
    update.exe -silent -options "responsefiles\file_name"
    [AIX] [HP-UX] [Linux] [Solaris]
    ./update.sh -silent -options "responsefiles/file_name"
  5. Review the log file to verify that maintenance is installed successfully. You can find the log at app_server_root/logs/update/maintenance_package.install. If the maintenance package is not applicable to the installation, a log file found in updi_root/logs/tempX lists the reason for the failure. The most recent log file, tmpX, where X refers to the first available empty directory, is created to reflect the status for this attempted install. You might not receive an error message for a failed installation in some cases. If you silently install a maintenance package and you do not receive a response after a short period of time, view the logs. If logs are not generated, then an invalid or missing argument might be causing the installation to fail. Verify the Update Installer syntax for the command line with the response files install.txt and uninstall.txt, located under <Installed_UPDI_root>/responsefiles

Results

One of the following results appears 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. In some cases, you might not receive an error message for a failed installation. If you silently install a maintenance package and you do not receive a response after a short period of time, view the logs. If logs are not generated, then an invalid or missing argument might be causing the installation to fail. Verify the Update Installer syntax for the command line with the response files install.txt and uninstall.txt, located under <Installed_UPDI_root>/responsefiles

Example

The following example is a sample response file used in a silent installation:

################################################################################
#
# 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
#
# 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 you 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="/QIBM/ProdData/WebSphere/UpdateInstaller/V61/UPDI/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="/QIBM/ProdData/WebSphere/UpdateInstaller/V61/UPDI/maintenance/PQ20029.pak;
#		/QIBM/ProdData/WebSphere/UpdateInstaller/V61/UPDI/maintenance/PQ20030.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="/QIBM/ProdData/WebSphere/UpdateInstaller/V61/UPDI/maintenance"
#
# Notes: If no package is specified, maintenance packages from the default folder 
#				(such as, UpdateInstaller_HOME\maintenance )
#        will be installed.
#
#-W maintenance.package=


################################################################################
# 
# 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 the product install location that will be updated.
#
# ie. -W product.location="/QIBM/ProdData/WebSphere/AppServer/V61/Express"
#
# Note: The product install location should always been specified, and it should
# always be the full path.
#
-W product.location=""



################################################################################

################################################################################
# 
# File Permission Checking
# 
# The installer does not check that it has sufficient file permissions to 
# perform the installation by default.
# 
# Uncomment the following option to notify the installer that it should
# check that it has sufficient file permissions to perform the required 
# install operation on each file to be installed.
# 
# This option is not applicable for Windows.
# 
# -OPT checkFilePermissions="true"
# 
###############################################################################

################################################################################
#
# AIX Non-root User Limitation
#
# The AIX user account running the Update Installer program also must be able to 
# run the slibclean command; otherwise, a root user must run the slibclean command
# before the Update Installer program runs. 
#
# Uncomment the following option to notify the installer that a root user has run
# the slibclean command before the Update Installer program runs.
#
#-OPT rootUserHasRunSlibcleanCommandSuccessfully="true"


##################################################################################
# Do not edit these values.
#
-W update.type="install"



In this information ...


Related reference

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 12:11:18 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-dist&topic=tins_updi_silfixpk
File name: tins_updi_silfixpk.html