How to download and install a Fix Pack in WebSphere (command line)

Home > Search > How-to
  by

Before installing a Fix Pack, it may be helpful to recongize the difference between an Interim Fix, a Fix Pack, and a Service Pack.

  • Interim Fix - Individual fixes for confirmed defect with a product. 
  • Fix Pack - A collection of new fixes since the last fix pack, released about once every 4 months. 
  • Service Pack - A significant release.

 

When installing a Fix Pack, always install the Fix Pack on the Dmgr before installing the Fix Pack for other components, such as the application server. The Dmgr must have a higher version that the components being managed by the Dmgr.

You will begin by downloading the fix pack you want to install from Fix Central. In this example, the fix pack is 9.0.0-WS-WAS-FP009, which will install version 9.0.0.9 of WebSphere. 

 

Create a directory for the Fix Packs.

~]# mkdir -p /opt/IBM/FixPacks/9.0.0.9

 

Unzip the downloaded Fix Pack into the directory.

~]# unzip 9.0.0-WS-WAS-FP009.zip -d /opt/IBM/FixPacks/9.0.0.9

 

You will need to collect some data that will be used in the installation of the Fix Pack. Use imcl to determne the version of the product in the Fix Pack. In this example, the version is 9.0.8.20171205_1311.

~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /opt/IBM/FixPacks/9.0.0.9
com.ibm.websphere.BASE.v90_9.0.9.20171205_1311
com.ibm.websphere.ILAN.v90_9.0.9.20171205_1311
com.ibm.websphere.ND.v90_9.0.9.20171205_1311
com.ibm.websphere.NDDMZ.v90_9.0.9.20171205_1311

 

Use the versionInfo.sh command to determine the offering profile and the installed features.

~]# was_home/bin/historyInfo.sh
Name                 IBM WebSphere Application Server Network Deployment
Installed Features   WebSphere Application Server traditional
                     EJBDeploy tool for pre-EJB 3.0 modules
                     Embeddable EJB container
                     Stand-alone thin clients and resource adapters

 

Use the historyInfo.sh command to determine the offering id.

~]# was_home/bin/historyInfo.sh
Install Manager Offering ID      com.ibm.websphere.ND.V90

 

Create a response file.

~]# touch /opt/IBM/FixPacks/9.0.0.9/response.xml

 

Below is an example of the full response file. In the <server> block, update the repository location with the path to your repository.config file.

<server>
  <repository location='/opt/IBM/FixPacks/9.0.0.9/repository.config'/>
</server>

 

In the <install> block, update the offering profile, id, version, and installed features using the data you collected above. "core.feature" includes thinclient, embeddablecontainer, and ejbdeploy.  Note that if you don't include one or more features that were installed in the prior version of the product, the features will be removed when the fix pack is installed.

<install modify='false'>
  <offering 
    profile='IBM WebSphere Application Server V9.0' 
    id='com.ibm.websphere.BASE.v90' 
    version='9.0.9.20171205_1311' 
    features='core.feature'/>
</install>

 

Following are the features that are available with each product.

  • com.ibm.websphere.BASE.v90 = core.feature, samples, thinclient, embeddablecontainer, ejbdeploy
  • com.ibm.websphere.APPCLIENT.v90 = samples, apter.runtime, pter.samples, embeddablecontainer
  • com.ibm.websphere.NDDMZ.v90 = core.feature, thinclient
  • com.ibm.websphere.WCT.v90 = zpmt, zmmt, pct

 

Following is an example response file. Update the offering version and id using the data you collected above, and also add the path to the repository.config file.

<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
  <repository location='/opt/IBM/FixPacks/fixpack9006/repository.config'/>
</server>
<profile id='IBM WebSphere Application Server V9.0' 
  installLocation='/opt/IBM/WebSphere/AppServer'>
  <data key='eclipseLocation' value='/opt/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 WebSphere Application Server V9.0' id='com.ibm.websphere.BASE.v90' 
    version='9.0.9.20171205_1311' features='core.feature'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/opt/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.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>

 

Before installing a fix pack, you will need to stop all of the components being managed by the dmgr, such as the JVMs and nodes, and then stop the Dmgr.

Install the Fix Pack.

~]# /opt/IBM/InstallationManager/eclipse/tools/imcl 
  input /opt/IBM/FixPacks/fixpack9006/response.xml 
  -secureStorageFile /path/to/your/storage_file 
  -log /opt/IBM/FixPacks/fixpack9006/log.xml
  -acceptLicense

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments