Thursday, 3 April 2014

IBM Installation Manager - More on iFixes via the Command Line

Following my previous posts: -



I wanted to further document the process of applying iFixes to a WAS-based product via IBM Installation Manager.

In this case, I am applying an iFix for the Business Space component to IBM Business Monitor 8.0.1.2.

Here's the iFix: -


and here's the process: -

(1) Unzip the iFix

mkdir /tmp/Repo/BAM/iFixes
unzip 8.0.1.0-WS-BSPACE-IFJR49061.zip -d /tmp/Repo/BAM/iFixes

(2)

Inspect the repository.xml file: -

view /tmp/Repo/BAM/iFixes/repository.xml 

<?xml version='1.0' encoding='UTF-8'?>
<?repositoryDigest version='0.0.1'?>
<repositoryDigest>
  <repository>
    <property name='LayoutPolicy' value='P1'/>
    <property name='LayoutPolicyVersion' value='0.0.0.1'/>
    <fix id='8.0.1.0-WS-BSPACE-IFJR49061' version='8.0.1000.20140122_1448' offeringId='EnhancedFix' offeringVersion='0.0.0.EnhancedFix'>
      <information name='8.0.1.0-WS-BSPACE-IFJR49061' version='8.0.1000.20140122_1448'>
        THIS FIX RESOLVES PROBLEM:INSTANCES WIDGET TEXT CANNOT BE SELECTED WHEN USING INTERNET EXPLORER
      </information>
      <property name='beta.compatible' value='true'/>
      <property name='offering.type' value=''/>
      <property name='default.profile' value=''/>
      <property name='default.user.profile' value=''/>
      <property name='vendor.name' value=''/>
      <property name='offering.service.repositories' value=''/>
      <file name='Fixes/8.0.1.0-WS-BSPACE-IFJR49061_8.0.1000.20140122_1448.fix'/>
    </fix>
  </repository>
</repositoryDigest>


(3)

Make a note of the version string ( highlighted above ) i.e.

8.0.1000.20140122_1448

(4)

It's now necessary to know the package ID of the product to which the iFix is being applied; in this case, it's IBM Business Monitor.

This can be deduced as follows: -

/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages

com.ibm.websphere.MON.V80_8.0.1002.20131028_1518
com.ibm.websphere.ND.v80_8.0.8.20131205_0207
com.ibm.ws.cognos.v1011.linuxia64_10.1.1.20121103_1244
com.ibm.cic.agent_1.6.0.20120831_1216


From this list, the package ID for IBM Business Monitor version 8.0 is: -

com.ibm.websphere.MON.V80

(5)

Concatenate the two together: -

com.ibm.websphere.MON.V80 + 8.0.1000.20140122_1448 = com.ibm.websphere.MON.V80_8.0.1000.20140122_1448

( note the underscore - _ - separator between package ID and version number )

(6)

Query the repository ( resulting from the unzip process in step 1 above ): -

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailableFixes com.ibm.websphere.MON.V80_8.0.1000.20140122_1448 -repositories /tmp/Repo/BAM/iFixes/

which gives us: -

8.0.1.0-WS-BSPACE-IFJR49061_8.0.1000.20140122_1448

We can now go ahead and install the iFix: -

/opt/IBM/InstallationManager/eclipse/tools/imcl install 8.0.1.0-WS-BSPACE-IFJR49061_8.0.1000.20140122_1448 -repositories /tmp/Repo/BAM/iFixes/ -installationDirectory /opt/IBM/WebSphere/AppServer/

which results in: -

CRIMA1154E ERROR: Error installing.

  CRIMA1086E ERROR:   Fix 8.0.1.0-WS-BSPACE-IFJR49061 is not applicable: at least one of the following applicable packages must be installed.

    ERROR:     Offering id com.ibm.bpm.ZOSPS.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.websphere.MON.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.bpm.BSPACE.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.bpm.ZOS.BSPACE.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.bpm.STD.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.websphere.ZOS.MON.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.bpm.PS.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.bpm.EXP.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.bpm.ADV.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.websphere.ESB.V80 with internal version range [8.0.1000,8.0.1001)

    ERROR:     Offering id com.ibm.websphere.ZOSESB.V80 with internal version range [8.0.1000,8.0.1001)


Yes, after all that work, I chose an iFix that was already included in BAM 8.0.1.2.

Never mind, the point remains the same :-)



No comments:

Reminder - installing podman and skopeo on Ubuntu 22.04

This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman  and skopeo  on an Ubuntu box: - lsb_rel...