Friday, 8 February 2013

IBM Installation Manager tips


Update IM

=========
Example 1.5 to 1.5.2
The package com.ibm.cic.agent_1.5.0.20110909_1200 is IM itelf
Download from http://www-01.ibm.com/support/docview.wss?uid=swg24032358#downloads
The install instructions here didn't work at all for me, instead I just unpacked the downloaded ZIP into /opt/bpm/src8/im
Then ran /opt/bpm/src8/im/userinstc -acceptlicense -installationDirectory /opt/IBM/InstallationManager/eclipse
(I believe this worked out where the existing IM was installed by going
to the installing users home dir and looking in ~/.bim/.niff or ~/var/ibm/InstallationManager)

IM command line
===============
/opt/bpm/im/eclipse/tools/imcl

No args gives help page

IM persisted repositories and other prefs
==================================
/opt/bpm/var/ibm/InstallationManager/.settings/com.ibm.cic.agent.core.prefs - you can edit this file as a quick way of removing repositories that IM has "remembered" from past installations (which I find to be really annoying given that I'm specifying the repos I need in my response file and it's complaining about stuff I've long deleted to save disk space).
Alternatively you can run imcl -consoleMode and delete them from here if you want to be picky .... (It's all just files on disks though, no magic :-)



Uninstalling a package and specifying it's path
====================================

First list full details of everything that's installed:
/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -long


Then uninstall the relevant package 
/root/IBM/InstallationManager/eclipse/tools/imcl uninstall  com.ibm.websphere.ND.v70_7.0.19.20110814_1205 -installationDirectory /opt/ibm/BPM/v7.5

Finding out which repo was used to install a package
=========================================
/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -verbose



No comments:

Post a Comment