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 Applying service and Uninstalling service for information about using the command.
The following table list commands for installing and uninstalling interim fixes.
Command example | Type of installation | Description |
---|---|---|
update | 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. |
update -W prereqsfailedpanelInstallWizardBean.active= "false" | Graphical interface mode that bypasses prerequisites checking | Initializes the interim fix field with the name of the interim fix that has the most recent date stamp and time stamp. Bypasses prerequisites checking. |
update -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. |
update -W maintenance.package="e: \IBM\WebSphere\AppServer \updateinstaller\maintenance \PQ20029.pak" | Graphical interface mode | Overrides the name of the maintenance package to apply. |
update -W product.location="e: \IBM\WebSphere\AppServer" | Graphical interface mode | Overrides the location of the WebSphere software to update. |
update -W product.location="e: \IBM\WebSphere\AppServer" -W maintenance.package="e: \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. |
Command example | Type of installation | Description |
---|---|---|
update -silent | Silent mode | Installs the interim fix with the most recent time stamp to update the software that is installed in the parent directory. |
update -silent -W prereqsfailedpanelInstallWizardBean.active= "false" | Silent mode that bypasses prerequisites checking | Installs the interim fix with the most recent time stamp to update the software that is installed in the parent directory. Bypasses prerequisites checking. |
update -W maintenance.package="e: \IBM\WebSphere\AppServer\updateinstaller \maintenance\PQ20029.pak" -silent | Silent mode | By default, the wizard installs the interim fix with
the most recent date stamp and time stamp. Use the package override to install another maintenance package. You do not need a response file. The default software is the software installed in the parent directory. |
update -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. If you omit either value from the response file, 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. |
update -W product.location="e: \IBM\WebSphere\AppServer" -silent | Silent mode | Updates the WebSphere software specified in the command with the maintenance package that has the most recent date stamp and time stamp. The silent installation does not refer to a response file. |
update -W product.location="e: \IBM\WebSphere\AppServer" -W maintenance.package="e: \IBM\WebSphere\AppServer\updateinstaller \maintenance\PQ20029.pak" -silent | Silent mode | Updates the WebSphere software specified in the command with the maintenance package specified in the command. The silent installation does not refer to a response file. |
Command example | Type of installation | Description |
---|---|---|
update -W update.type="uninstall" | Graphical interface mode | 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. |
update -W product.location="e: \IBM\WebSphere\AppServer" -W update.type="uninstall" | Graphical interface mode | 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. |
update -W backup.package="PQ20029.pak" -W update.type="uninstall" | Graphical interface mode | Overrides the interim fix field with the name of the maintenance package to uninstall. |
update -W product.location="e: \IBM\WebSphere\AppServer" -W backup.package="PQ20029.pak" -W update.type="uninstall" | Graphical interface mode | Overrides the location of the WebSphere software to update and the name of the maintenance package to uninstall. |
update -options "responsefiles/file_name" | Graphical interface mode with an options file | 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. |
Command example | Type of installation | Description |
---|---|---|
update -W update.type="uninstall" -silent | Silent mode | Uninstalls the interim fix with the most recent date stamp and time stamp to update the software that is installed in the parent directory. |
update -W product.location="e: \IBM\WebSphere\AppServer" -W update.type="uninstall" -silent | Silent mode | Overrides the default location of the WebSphere software to update. The default interim fix to uninstall is the most recently installed interim fix for that software. |
update -W backup.package="PQ20029.pak" -W update.type="uninstall" -silent | Silent mode | Overrides the interim fix field with the name of the maintenance package to uninstall. |
update -W product.location="e: \IBM\WebSphere\AppServer" -W backup.package="PQ20029.pak" -W update.type="uninstall" | Silent mode | Overrides the location of the WebSphere software to update and the name of the maintenance package to uninstall. |
update -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. 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. |
... update -W maintenance.package="e:\IBM\WebSphere\AppServer\updateinstaller\maintenance\PQ20028.pak" -silent update -W maintenance.package="e:\IBM\WebSphere\AppServer\updateinstaller\maintenance\PQ20029.pak" -silent
install_root /updateinstaller /java
To use a script to perform a silent maintenance installation, you must launch the update installer program twice. The first command clones the SDK only and does not automatically relaunch the update installer program. The second command uses the cloned SDK to update the product and the SDK in the product.
The Update Installer for WebSphere always uses the SDK in the install_root/updateinstaller directory if the SDK is present.
/opt/WebSphere/AppServer/updateinstaller/update \ -silent \ -W relaunchwizardexecInstallWizardBean.active=false \
Identify the interim fix in the first command if the interim fix is not the last maintenance package that you downloaded. {Omit the Linux and UNIX line-continuation characters (\) when issuing the command on one line.}
/opt/WebSphere/AppServer/updateinstaller/update \ -silent -W maintenance.package=\ "/opt/WebSphere/AppServer/updateinstaller/maintenance/\ 6.0.1.0-WS-WAS-LinuxIA32-RP0000001.pak" \ -W update.type="install" \ -W product.location="/opt/WebSphere/AppServer"{Omit the Linux and UNIX line-continuation characters (\) when issuing the command on one line.}
The following sections describe logging that occurs when installing and uninstalling service.
If no installation log file exists, refer to the temporary log file in the install_root/logs/update/tmp directory. If all validations pass, the installation occurs.
Then the update installer program creates the install_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.
If no log file exists after uninstalling an interim fix, refer to the temporary log file in the install_root/logs/update/tmp directory. If all validations pass, the uninstall procedure occurs.
Then the update installer program creates the install_root/logs/update/maintenance_package.uninstall 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 removal of service uses the internal configuration manager utility to run ANT scripts.