Sunday, 24 August 2014

IBM Installation Manager - Installing BPM iFixes via a FOR loop

Following on from an earlier post: -


here's an updated script to install iFixes for IBM BPM Advanced 8.5.5: -

cd /tmp/Repository/BPM/Fixes
for i in *; do /opt/IBM/InstallationManager/eclipse/tools/imcl install $i -repositories ./$i -installationDirectory /opt/IBM/WebSphere/AppServer; done

Installed 8.5.5.0-WS-BPM-IFJR49684_8.5.5000.20140612_1045 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR49990_8.5.5000.20140707_1329 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR50028_8.5.5000.20140710_1331 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR50050_8.5.5000.20140725_1611 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR50353_8.5.5000.20140702_1334 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR50358_8.5.5000.20140722_1504 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR50405_8.5.5000.20140721_1502 to the /opt/IBM/WebSphere/AppServer directory.
Installed 8.5.5.0-WS-BPM-IFJR50414_8.5.5000.20140709_1353 to the /opt/IBM/WebSphere/AppServer directory.

which builds on the earlier unpacking script: -

cd /tmp/Repository/BPM/Fixes
for i in /root/SWGRepo/BPM/Fixes/*.zip; do unzip $i -d `echo $i | sed 's/\/root\/SWGRepo\/BPM\/Fixes\///g' | sed 's/.zip//g'`; done

I could, of course, have chosen to install the iFixes at the same time as the binaries, but there's always going to be a requirement to install iFixes AFTER the product is built.

No comments: