You can update WebSphere® Application
Server Liberty to
a later version using Installation Manager response files.
Before you begin
Tip: As an alternative to the procedure that is
described in this article, Installation Manager allows you to use
the updateAll command in a response file or on
the command line to search for and update all installed packages.
Use this command only if you have full control over which fixes are
contained in the targeted repositories. If you create and point to
a set of custom repositories that include only the specific fixes
that you want to install, you should be able to use this command confidently.
If you enable searching service repositories or install fixes directly
from other live web-based repositories, then you might not want to
select this option so that you can select only the fixes that you
want to install using the -installFixes option
with the install command on the command line or
the installFixes attribute in a response file.
Procedure
- Optional: If the repository requires a username
and password, create a credential-storage file to access this repository.
Tip: When creating a credential-storage file, append /repository.config at
the end of the repository URL location if the imutilsc command
is unable to find the URL that is specified.
Note: When you
use Installation Manager Version 1.6.2 and later, you should use the
-secureStorageFile and
-masterPasswordFile options
to store credentials in a credential-storage file. In versions of
Installation Manager earlier than Version 1.6.2, the
-keyring and
-password options
were used to access credentials in a keyring file. These options were
deprecated in Version 1.6.2. There is no migration path from keyring
files to storage files because of the differences in the file structures.
For more information on using the
-secureStorageFile and
-masterPasswordFile options
to store credentials in a credential-storage file, see the
Installation Manager Version 1.6 Information Center.
For more information on using the
-keyring and
-password options
to store credentials in a keyring file, see the
Installation Manager Version 1.5 Information Center.
- Sign on to the IBM® i
system with a user profile that has *ALLOBJ and *SECADM special authorities.
- On a CL command line, run the STRQSH command
to start the Qshell command shell.
- Use a response file to update the product.
Change
to the
eclipse/tools subdirectory in the directory
where you installed Installation Manager, and update the product.
For example:
./imcl -acceptLicense
input $HOME/WASFiles/temp/update_response_file.xml
-log $HOME/WASFiles/temp/update_log.xml
-secureStorageFile $HOME/WASFiles/temp/credential.store -masterPasswordFile $HOME/WASFiles/master_password_file.txt
Note: The
program might write important post-installation instructions to standard
output.
For more information on using Installation Manager,
read the IBM Installation
Manager Information Center.
Example
The following is an example of a response file for updating WebSphere Application Server
Liberty
to
a later version.
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
<repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.BASE.v85'/>
</server>
<profile id='WebSphere Liberty V8.5' installLocation='/QIBM/ProdData/WebSphere/AppServer/V85/Base'>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V85/Base'/>
</profile>
<install modify='false'>
<offering profile='WebSphere Liberty V8.5' id='com.ibm.websphere.liberty.BASE.v85'
version='8.5.5.20101025_2108'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>