Thursday, 15 August 2013

Using IBM Installation Manager to report on available iFixes for IBM BPM

Another post in the "If I don't write it down, I'll forget it" tradition of this blog: -


So I have a bunch of iFixes downloaded as .ZIP files: -

-rw-r--r--  1 wasadmin wasadmins   142K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45071.zip
-rw-r--r--  1 wasadmin wasadmins   1.8M Aug 12 13:15 7.5.1.1-WS-BPM-IFJR44032.zip
-rw-r--r--  1 wasadmin wasadmins   189K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45553.zip
-rw-r--r--  1 wasadmin wasadmins   144K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45523.zip
-rw-r--r--  1 wasadmin wasadmins    26M Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45124.zip
-rw-r--r--  1 wasadmin wasadmins   615K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR44463.zip
-rw-r--r--  1 wasadmin wasadmins    25M Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45344.zip
-rw-r--r--  1 wasadmin wasadmins   613K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR44086.zip
-rw-r--r--  1 wasadmin wasadmins    16M Aug 12 13:15 7.5.1.1-WS-BPM-IFJR44606.zip
-rw-r--r--  1 wasadmin wasadmins   173K Aug 12 13:15 7.5.1.1-WS-BPM-Unix-IFJR43774.zip
-rw-r--r--  1 wasadmin wasadmins    40M Aug 12 13:15 7.5.1.1-WS-BPM-IFJR44617.zip
-rw-r--r--  1 wasadmin wasadmins   261K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45755.zip
-rw-r--r--  1 wasadmin wasadmins   261K Aug 12 13:15 7.5.1.1-WS-BPM-IFJR45931.zip
-rw-r--r--  1 wasadmin wasadmins    54M Aug 12 13:15 7.5.1.1-WS-BPM-IFJR46350.zip
-rw-r--r--  1 wasadmin wasadmins   1.5M Aug 12 13:15 7.5.1.1-WS-BPM-IFIC86727.zip
-rw-r--r--  1 wasadmin wasadmins    25M Aug 12 13:31 7.5.1.1-WS-BPM-IFJR45222.zip
-rw-r--r--  1 wasadmin wasadmins    16M Aug 12 13:31 7.5.1.1-WS-BPM-IFJR45851.zip
-rw-r--r--  1 wasadmin wasadmins   145K Aug 12 13:31 7.5.1.1-WS-BPM-IFJR44474.zip
-rw-r--r--  1 wasadmin wasadmins   288K Aug 12 13:31 7.5.1.1-WS-BPM-IFJR44199.zip
-rw-r--r--  1 wasadmin wasadmins   329K Aug 12 13:38 7.5.1.1-WS-BPM-IFJR44357.zip
-rw-r--r--  1 wasadmin wasadmins   259K Aug 12 13:38 7.5.1.1-WS-BPM-IFJR44690.zip
-rw-r--r--  1 wasadmin wasadmins   439K Aug 12 13:41 7.5.1.1-WS-BPM-IFJR42774.zip
-rw-r--r--  1 wasadmin wasadmins   158K Aug 12 16:24 7.5.1.1-WS-BPM-IFJR44428.zip
-rw-r--r--  1 wasadmin wasadmins   185K Aug 12 16:24 7.5.1.1-WS-BPM-IFJR44397.zip
-rw-r--r--  1 wasadmin wasadmins   138K Aug 12 16:24 7.5.1.1-WS-BPM-IFJR44503.zip
-rw-r--r--  1 wasadmin wasadmins    25M Aug 12 16:24 7.5.1.1-WS-BPM-IFJR45532.zip
-rw-r--r--  1 wasadmin wasadmins   246K Aug 15 13:56 7.5.1.1-WS-BPM-IFJR45939.zip
-rw-r--r--  1 wasadmin wasadmins   156K Aug 15 13:56 7.5.1.1-WS-BPM-IFJR44729.zip


I've unzipped each of these into their own discrete directory: -

drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFIC86727
drwxr-xr-x  6 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR44032
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR44086
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR44463
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR44606
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR44617
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45071
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45124
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45344
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45523
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45553
drwxr-xr-x  6 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45755
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR45931
drwxr-xr-x  6 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-IFJR46350
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:22 7.5.1.1-WS-BPM-Unix-IFJR43774
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:34 7.5.1.1-WS-BPM-IFJR45222
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:34 7.5.1.1-WS-BPM-IFJR45851
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:35 7.5.1.1-WS-BPM-IFJR44474
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:35 7.5.1.1-WS-BPM-IFJR44199
drwxr-xr-x  6 wasadmin wasadmins 4.0K Aug 12 13:39 7.5.1.1-WS-BPM-IFJR44357
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 13:39 7.5.1.1-WS-BPM-IFJR44690
drwxr-xr-x  6 wasadmin wasadmins 4.0K Aug 12 13:41 7.5.1.1-WS-BPM-IFJR42774
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 16:25 7.5.1.1-WS-BPM-IFJR44428
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 16:25 7.5.1.1-WS-BPM-IFJR44397
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 16:26 7.5.1.1-WS-BPM-IFJR44503
drwxr-xr-x  3 wasadmin wasadmins 4.0K Aug 12 16:26 7.5.1.1-WS-BPM-IFJR45532
drwxr-xr-x  7 wasadmin wasadmins 4.0K Aug 15 09:57 7.5.1.1-WS-BPM-IFJR44729
drwxr-xr-x  6 wasadmin wasadmins 4.0K Aug 15 13:57 7.5.1.1-WS-BPM-IFJR45939


Want to know how I did it ?

Read this post: -


Having got my fixes in order, I can now use IBM Installation Manager to report on what's available: -

$ for i in `find ~/Fixes/Install/ | grep repository.xml`; do /opt/IBM/InstallationManager/eclipse/tools/imcl listAvailableFixes com.ibm.ws.WBPMSTD_7.5.1001.20120915_1227 -repositories $i; done

which returns: -

7.5.1.1-WS-BPM-IFJR45124_0.0.0.20130121_1508
7.5.1.1-WS-BPM-IFJR44474_0.0.0.20121203_2247
7.5.1.1-WS-BPM-IFJR43774_0.0.0.20121113_1959
7.5.1.1-WS-BPM-IFJR44357_0.0.0.20130104_1511
7.5.1.1-WS-BPMPC-IFPD44357_0.0.0.20130104_1533
7.5.1.1-WS-BPM-IFIC86727_0.0.0.20130329_1242
7.5.1.1-WS-BPM-IFJR44729_0.0.0.20121116_1736
7.5.1.1-WS-BPM-IFJR45939_0.0.0.20130710_0014
7.5.1.1-WS-BPMPC-IFPD45939_0.0.0.20130711_1121
7.5.1.1-WS-BPM-IFJR45523_0.0.0.20130128_1539
7.5.1.1-WS-BPM-IFJR45222_0.0.0.20130123_0131
7.5.1.1-WS-BPM-IFJR45532_0.0.0.20130126_0434
7.5.1.1-WS-BPM-IFJR45553_0.0.0.20130131_1507
7.5.1.1-WS-BPM-IFJR44463_0.0.0.20121221_1452
7.5.1.1-WS-BPM-IFJR44086_0.0.0.20121206_2324
7.5.1.1-WS-BPM-IFJR44032_0.0.0.20130308_1342
7.5.1.1-WS-BPMPC-IFPD44032_0.0.0.20130308_1349
7.5.1.1-WS-BPM-IFJR45344_0.0.0.20130116_2314
7.5.1.1-WS-BPM-IFJR44617_0.0.0.20121101_1346
7.5.1.1-WS-BPM-IFJR42774_0.0.0.20121016_1300
7.5.1.1-WS-BPMPC-IFPC42774_0.0.0.20121126_1259
7.5.1.1-WS-BPMPC-IFPD42774_0.0.0.20121126_1517
7.5.1.1-WS-BPM-IFJR44397_0.0.0.20121106_1740
7.5.1.1-WS-BPM-IFJR45755_0.0.0.20130304_1154
7.5.1.1-WS-BPMPC-IFPD45755_0.0.0.20130220_1405
7.5.1.1-WS-BPM-IFJR44606_0.0.0.20121108_1605
7.5.1.1-WS-BPM-IFJR44428_0.0.0.20121024_1447
7.5.1.1-WS-BPM-IFJR44199_0.0.0.20130104_2055
7.5.1.1-WS-BPM-IFJR45071_0.0.0.20121218_1416
7.5.1.1-WS-BPM-IFJR46350_0.0.0.20130430_1238
7.5.1.1-WS-BPMPC-IFPC46350_0.0.0.20130424_1355
7.5.1.1-WS-BPMPC-IFPD46350_0.0.0.20130429_1544
7.5.1.1-WS-BPM-IFJR44690_0.0.0.20121108_1616
7.5.1.1-WS-BPM-IFJR44503_0.0.0.20121026_1403
7.5.1.1-WS-BPM-IFJR45931_0.0.0.20130523_1037
7.5.1.1-WS-BPM-IFJR45851_0.0.0.20130423_2340




No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...