WAS v8.0 > Install the application serving environment > Distributed operating systems > Install the product > Install and uninstall the product > Install and uninstall interim fixes and fix packs
Install fix packs using response files
We can update this product to a later version using Installation Manager response files.
Tip: As an alterative 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 we 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 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
- For a list of interim fixes and fix packs that are available for WAS v8.x and specific information about each fix, perform the following actions.
- Go to Fix Central.
- Select WebSphere as the product group.
- Select WAS as the product.
- Select 8.x as the installed version.
- Select your operating system as the platform, and click Continue.
- Select Browse for fixes, and click Continue.
- Click More Information under each fix to view information about the fix.
- Recommendation: Make a note of the name of the fix pack that you would like to install.
- Update WAS v8.x with the fix pack using one of the following procedures.
- Access the live service repository that contains the fix pack, and use web-based updating.
Use Installation Manager on your local system to update WAS v8.x with the fix pack from the live web-based service repositories.
See Table 3 in WAS v8 product offerings for supported operating systems for a list of web-based service-repository URLs for WAS v8 product offerings.
Perform the following actions:
- Log on to the system.
- If you do not already have an Installation Manager credentials file containing your IBM software user ID and password, create one that will allow you to access the repository.
These are the credentials that you use to access protected IBM software websites. For information on creating a keyring file for Installation Manager, read the IBM Installation Manager v1.4 Information Center.
Tip: When creating a keyring file, append /repository.config at the end of the repository URL location if the imutilsc command is unable to find the URL specified.
- Stop all servers and applications on the WAS installation that is being updated.
- Change to the Installation_Manager_binaries/eclipse/tools directory, where Installation_Manager_binaries is the installation root directory for the Installation Manager.
- Install the fix pack using a response file.
For example:
- Administrator or non-administrator:
imcl.exe -acceptLicense input C:\temp\update_response_file.xml -log C:\temp\update_log.xml -keyring C:\IM\im.keyring- Administrator:
./imcl -acceptLicense input /var/temp/update_response_file.xml -log /var/temp/update_log.xml -keyring /var/IM/im.keyring- Non-administrator:
./imcl -acceptLicense input user_home/var/temp/update_response_file.xml -log user_home/var/temp/update_log.xml -keyring user_home/var/IM/im.keyring
- Download the file that contains the fix pack from Fix Central, and use local updating.
We can download a compressed file that contains the fix pack from Fix Central. Each compressed fix-pack file contains an Installation Manager repository for the fix pack and usually has a .zip extension. After downloading and extracting the fix-pack file, use Installation Manager to update WAS v8.x with the fix pack.
- To download the fix pack, perform the following actions:
- Go to Fix Central.
- Select WebSphere as the product group.
- Select WAS as the product.
- Select 8.x as the installed version.
- Select your operating system as the platform, and click Continue.
- Select Browse for fixes, and click Continue.
- Select the fix pack to download, and click Continue.
- Select your download options, and click Continue.
- Click I agree to agree to the terms and conditions.
- Click Download now to download the fix pack.
- Transfer the compressed file in binary format to the system on which it will be installed.
- Extract the compressed repository files to a directory on your system.
- Perform the following actions:
- Log on to the system.
- If the repository requires a username and password, create a keyring file to access this repository.
For more information on creating a keyring file for Installation Manager, read the IBM Installation Manager v1.4 Information Center.
Tip: When creating a keyring file, append /repository.config at the end of the repository URL location if the imutilsc command is unable to find the URL specified.
- Stop all servers and applications on the WAS installation that is being updated.
- Change to the Installation_Manager_binaries/eclipse/tools directory, where Installation_Manager_binaries is the installation root directory for the Installation Manager.
- Install the fix pack using a response file.
For example:
- Administrator or non-administrator:
imcl.exe -acceptLicense input C:\temp\update_response_file.xml -log C:\temp\update_log.xml -keyring C:\IM\im.keyring- Administrator:
./imcl -acceptLicense input /var/temp/update_response_file.xml -log /var/temp/update_log.xml -keyring /var/IM/im.keyring- Non-administrator:
./imcl -acceptLicense input user_home/var/temp/update_response_file.xml -log user_home/var/temp/update_log.xml -keyring user_home/var/IM/im.keyring
Example
The following is an example of a response file for updating the product 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.ND.v80'/> </server> <profile id='IBM WAS Network Deployment V8.0' installLocation='C:\IBM\WebSphere\AppServer'> <data key='eclipseLocation' value='C:\IBM\WebSphere\AppServer'/> <data key='user.import.profile' value='false'/> <data key='cic.selector.nl' value='en, fr, it, zh, ro, ru, zh_TW, de, ja, pl, es, cs, hu, ko, pt_BR'/> </profile> <install modify='false'> <offering profile='IBM WAS Network Deployment V8.0' id='com.ibm.websphere.ND.v80' version='8.0.0.20101025_2108' features='core.feature'/> </install> <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='C:\IBM\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.//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ .disablePreemptiveAuthentication' value='false'/> <preference name='//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ .ntlm.auth.kind' value='NTLM'/> <preference name='//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ .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>Tips:
- The profile ID ( <profile . . . id='profile_ID' . . . .> and <offering . . . profile='profile_ID' . . . .>) can be found when you run the imcl listInstallationDirectories -verbose command from the eclipse/tools subdirectory in the directory where you installed Installation Manager. It is the same as the package group’s name.
- The offering ID ( <offering . . . id='offering_ID' . . . .>) can be found in the Install Manager Offering ID section of the report that is generated when you run the historyInfo or genHistoryReport command from the WAS_HOME/bin directory.
- The version is a specific version of the offering to install (8.0.0.20101025_2108 for example). This specification is optional.
- If version is not specified, the latest version of the offering and all interim fixes for that version are installed.
- If version is specified, the specified version of the offering and no interim fixes for that version are installed.
The offering version can be found attached to the end of the offering ID with an underscore when you run the following command against the repository:
./imcl listAvailablePackages -repositories source_repository
- If you are using Installation Manager v1.4.4 or later, you can also specify none, recommended or all with the installFixes argument to indicate which interim fixes you want installed with the offering.
- If the offering version is not specified, the installFixes option defaults to all.
- If the offering version is specified, the installFixes option defaults to none.