The update command starts the Update Installer for WebSphere® Software.
The Update Installer installs and uninstalls interim fixes, fix packs, and refresh packs to update WebSphere software.
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, interim fixes, fix packs, and refresh packs and Uninstalling maintenance packages, interim fixes, fix packs, and refresh packs for information about using the command.
The following tables list commands for installing and uninstalling interim fixes.
Issue one of the following commands to use the graphical interface:
Command example | Type of installation | Description |
---|---|---|
update.bat ./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. |
update.bat -options "responsefiles\file_name" ./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. |
update.bat -W maintenance.package="e:\IBM\WebSphere \AppServer\updateinstaller\maintenance\PQ20029.pak" ./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. |
update.bat -W product.location="e:\IBM\WebSphere \AppServer" ./update.sh -W product.location="/opt/IBM/WebSphere /AppServer" |
Graphical interface mode | Overrides the location of the WebSphere software to update. |
update.bat -W product.location="e:\IBM\WebSphere \AppServer" -W maintenance.package="e:\IBM\WebSphere \AppServer\updateinstaller\maintenance\PQ20029.pak" ./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. |
update.bat -OPT disableDiskSpaceCheck=true ./update.sh -OPT disableDiskSpaceCheck=true |
Graphical interface mode | Overrides the prerequisite check for disk space. |
Command example | Type of installation | Description |
---|---|---|
update.bat -silent -options "responsefiles\file_name" ./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. |
Command example | Description |
---|---|
update.bat -W update.type="uninstall" ./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. |
update.bat -W product.location="e:\IBM\WebSphere\AppServer" -W update.type="uninstall" ./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. |
update.bat -W backup.package="PQ20029.pak" -W update.type="uninstall" ./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. |
update.bat -W product.location="e:\IBM\WebSphere\AppServer" -W backup.package="PQ20029.pak" -W update.type="uninstall" ./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. |
update.bat -options "responsefiles\file_name" ./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. |
Command example | Type of installation | Description |
---|---|---|
update.bat -silent -options "responsefiles\file_name" ./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. |
updi_root /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 updi_root/java directory if the SDK is present.
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 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.
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 uninstall procedure occurs.
Then the update installer program creates the app_server_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.