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

Home > Search > How-to
  by

When installing a Fix Pack, always installed 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.

Download the fix pack you want to install from https://www-01.ibm.com/support/docview.wss?uid=swg27009661. This will download a zipped file, such as 9.0.0-WS-WAS-FP006.zip. In this example, fix pack 9.0.0.6 will be downloaded. Create a directory for the Fix Packs.

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

 

Unzip the downloaded Fix Pack.

~]# unzip 9.0.0-WS-WAS-FP006.zip -d /opt/IBM/FixPacks/fixpack9006

 

List the components that can be installed in the Fix Pack. In this example, version 9.0.0.6 of the BASE, ILAN, ND (Network Deployment), and NDDMZ (Network Deployment DMZ) components can be installed. Replace "/opt/IBM/FixPacks" with the directory that the Fix Pack was extracted to.

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

 

Create a response file.

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

 

Add the following markup to the response file.

  • Replace "repository location" with the location of the new repository.config file.
  • Replace "9.0.6.20171215_1311" with the version that was produced by the listAvailablePackages command.
<?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.6.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, the will need to stop all of the components being managed by the dmgr, such as the JVMs and nodes, and then stop the Dmgr. Create the secure storage file (note: there may aleady be a secure storage file at /var/lib/InstallationManager/secure_storage)

~]# /opt/IBM/InstallationManager/eclipse/tools/imutilsc 
  saveCredential 
  -secureStorageFile /path/to/your_storage_file
  -userName 'your_IBM_user_ID' 
  -userPassword 'your_IBM_password'
  -url http://www.ibm.com/software/repositorymanager/entitled/repository.xml

 

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