update command

The update command is the Update Installer for WebSphere Software program. The Update installer wizard is also known as the Update installation wizard, the update installer program, and the updateInstaller program.

The update installer program installs and uninstalls interim fixes, fix packs, and refresh packs to update WebSphere software.

Overview

The update command calls the update installer program to install and uninstall service to update WebSphere software. This topic describes the update installer command and its command-line parameters.

The following descriptions contain reference information about the command.

See Installing maintenance packages and Uninstalling maintenance packages for information about using the command.

Important: See Update command - known problems and workarounds for information about known problems and workarounds.

Command options

The following tables list commands for installing and uninstalling interim fixes.

Commands for installing interim fixes

Issue one of the following commands to use the graphical interface:
Table 1. Update installer commands for installing with the graphical interface
Command example Type of installation Description
[Windows]
update.bat
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh
Graphical interface mode Initializes the interim fix field with the name of the interim fix that has the most recent date stamp and time stamp.

Accept all of the default values to install the interim fix with the most recent time stamp.

[Windows]
update.bat -options "responsefiles\file_name"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -options "responsefiles/file_name"
Graphical interface mode with an options file Overrides all graphical interface values with values that you specified in the options response file.

If you omit either value, the default maintenance package is the one with the most recent date stamp and time stamp. The default software is the software installed in the parent directory.

[Windows]
update.bat -W maintenance.package="e:\IBM\WebSphere
\AppServer\updateinstaller\maintenance\PQ20029.pak" 
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W maintenance.package="/opt/IBM/WebSphere
/AppServer/updateinstaller/maintenance/PQ20029.pak" 
Graphical interface mode Overrides the name of the maintenance package to apply.
[Windows]
update.bat -W product.location="e:\IBM\WebSphere
\AppServer"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W product.location="/opt/IBM/WebSphere
/AppServer"
Graphical interface mode Overrides the location of the WebSphere software to update.
[Windows]
update.bat -W product.location="e:\IBM\WebSphere
\AppServer" -W maintenance.package="e:\IBM\WebSphere
\AppServer\updateinstaller\maintenance\PQ20029.pak"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W product.location="/opt/IBM/WebSphere" 
-W maintenance.package="/opt/IBM/WebSphere/AppServer
/updateinstaller/maintenance/PQ20029.pak"
Graphical interface mode Overrides the location of the WebSphere software to update and the name of the maintenance package to apply.
[Windows]
update.bat -OPT disableDiskSpaceCheck=true 
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -OPT disableDiskSpaceCheck=true 
Graphical interface mode Overrides the prerequisite check for disk space.
[This information only applies to Version 6.1.0.9 and later running on the Microsoft Windows Vista operating system.] [Fix Pack 9 or later] Note on running the update command on the Microsoft® Windows Vista™ and Windows 2008 operating systems: For these operating systems, use update.exe rather than update.bat.
Issue the following command to use the silent interface:
Table 2. Update installer command for installing in silent mode
Command example Type of installation Description
[Windows]
update.bat -silent -options "responsefiles\file_name"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -silent -options "responsefiles/file_name"
Silent mode with an options file Overrides all default values with values that you specified in the options response file.

Always use a response file that is based on the response file under updi_root/responsefiles.

Commands for uninstalling interim fixes

Issue one of the following commands to uninstall with the graphical interface:
Table 3. Update installer commands for uninstalling with the graphical interface
Command example Description
[Windows]
update.bat -W update.type="uninstall"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W update.type="uninstall"
Initializes the interim fix field with the name of the interim fix that was most recently installed.

Accept all of the default values to uninstall the interim fix with the most recent date stamp and time stamp.

[Windows]
update.bat -W product.location="e:\IBM\WebSphere\AppServer" 
-W update.type="uninstall"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W product.location="/opt/IBM/WebSphere/AppServer" 
-W update.type="uninstall"
Overrides the graphical interface with the location of the WebSphere software to update. The default interim fix to uninstall is the most recently installed interim fix for that software.
[Windows]
update.bat -W backup.package="PQ20029.pak" 
-W update.type="uninstall"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W backup.package="PQ20029.pak" 
-W update.type="uninstall"
Overrides the interim fix field with the name of the maintenance package to uninstall.
[Windows]
update.bat -W product.location="e:\IBM\WebSphere\AppServer" 
-W backup.package="PQ20029.pak" -W update.type="uninstall"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -W product.location="/opt/IBM/WebSphere/AppServer" 
-W backup.package="PQ20029.pak" -W update.type="uninstall"
Overrides the location of the WebSphere software to update and the name of the maintenance package to uninstall.
[Windows]
update.bat -options "responsefiles\file_name"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -options "responsefiles/file_name"
Overrides all default values with values that you specified in the options response file.

If you omit either value from the response file, the default maintenance package is the installed package with the most recent date stamp and time stamp. The default software is the software installed in the parent directory.

Issue the following command to use the silent interface:
Table 4. Update installer command for installing in silent mode
Command example Type of installation Description
[Windows]
update.bat -silent -options "responsefiles\file_name"
[AIX] [HP-UX] [Linux] [Solaris]
./update.sh -silent -options "responsefiles/file_name"
Silent mode with an options file Overrides all default values with values that you specified in the options response file.

Always use a response file that is based on the response file under updi_root/responsefiles.

Logging

The following sections describe logging that occurs when installing and uninstalling service.

Logs created when installing service

If no installation log file exists, refer to the temporary log file in the updi_root/logs/update/tmp directory. If all validations pass, the installation occurs.

Then the update installer program creates the app_server_root/logs/update/maintenance_package.install directory.

Within the directory are the updatelog.txt file, the compressed updatetrace.log.gz file, and the compressed updateconfig.log.gz file. The updateconfig.log.gz file exists only when the installation of service uses the internal configuration manager utility to run ANT scripts.

Logs created when uninstalling service

If no log file exists after uninstalling an interim fix, refer to the temporary log file in the updi_root/logs/update/tmp directory. If all validations pass, the uninstallation procedure occurs.

Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 4:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-dist&topic=rins_update
File name: rins_update.html