Friday, 6 August 2010

Installing Tivoli Directory Integrator 6.1.1 Fixpacks ...

This is purely an aide memoire, to save me having to look it up each time; in order to install a fix pack onto TDI 6.1.1 using the GUI, run the following command ( as root ): -

/usr/ibm/common/ci/gmi/bin/gmi

I've never been too sure why I see the exception: -

Error in copying /tmp/ismp001/8229657/data/a7390f9ecf6457bf3713f951c90b1bdb/1.0.0.0/resource.map  there may not be enough space on device

and: -

java.io.IOException: File does not exist: /usr/ibm/common/acsi/jre/lib/ext/svcdump.jar
        at com.installshield.boot.streamhandler.ISMPFileURLStreamHandler.openConnection(Unknown Source)
        at java.net.URL.openConnection(URL.java:925)
        at sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:91)
        at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:41)
        at java.net.URL.openConnection(URL.java:925)
        at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:644)
        at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:609)
        at sun.misc.URLClassPath$3.run(URLClassPath.java:387)
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java:351)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java(Inlined Compiled Code))
        at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
        at sun.misc.URLClassPath.getResource(URLClassPath.java(Compiled Code))
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
        at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
        at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
        at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
        at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1030)
        at java.util.ResourceBundle.findBundle(ResourceBundle.java:907)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:732)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:532)
        at com.installshield.util.LocalizedStringResolver.resolve(Unknown Source)
        at com.installshield.util.LocalizedStringResolver.resolve(Unknown Source)
        at com.ibm.ci.gmi.util.GmiConfig.setGmiDefaults(GmiConfig.java:147)
        at com.ibm.ci.gmi.util.GmiConfig.getConfig(GmiConfig.java:97)
        at com.ibm.ci.gmi.issi.commandline.InitializeGmi.initializeLogging(InitializeGmi.java:102)
        at com.ibm.ci.gmi.issi.commandline.InitializeGmi.execute(InitializeGmi.java:85)
        at com.installshield.wizard.Wizard.executeStartupBeans(Unknown Source)
        at com.installshield.wizard.Wizard.startup(Unknown Source)
        at com.installshield.boot.BootMain.bootstart(Unknown Source)
        at com.installshield.boot.BootMain.executeBoot(Unknown Source)
        at com.installshield.boot.si.SIBootMain.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:570)

but it appears to work.

It's also worth noting that I see a "Sign On to the Server" dialogue box three times; this is spookily reminiscent of the dialogue boxes that I used to see when installing WebSphere Application Server on OS/400 back in the day but .... clicking 'Cancel' gets rid of the box, and TDI seems none the worse.

Final point, running: -

/usr/ibm/common/ci/gmi/bin/gmi -help

returns: -

Update Installer Command Line Options:

-help
Displays a list of available command line options.

-version
Displays the Update Installer version.

-console
Runs Update Installer in console mode.  This option suppresses the graphical user
interface.

-record <response-file>
Creates a response file containing options for running Update Installer in silent mode.

-silent -options <response-file>
Runs Update Installer in silent mode.  A response file, previously created with the
-record option, can be used to specify the actions to be performed by Update Installer.

-uninstall
Runs Update Installer in uninstall mode.  Maintenance is removed by Update Installer.

-uuid <uuid>
Identifies the 32-character UUID of the offering that will be updated by Update Installer.
If more than one instance of the offering is installed, the -discriminant
option is required.

-discriminant <discriminant>
Identifies the discriminant that uniquely identifies an installed instance
of the offering to Solution Install.

-mdvFile <mdv-file-list>
Identifies one or more maintenance package, separated by
spaces, to be installed or uninstalled by Update Installer.
This option may only be used with the -silent option.

-fixName <IU-name-list>
Identifies one or more IU fix names, separated by spaces, to be uninstalled.
This option may only be used with the -silent option.

-updateVersion <update-version>
Identifies the version of an update to be uninstalled.
This option may only be used with the -silent option.

For more information, see the Update Installer User's Guide.

which is rather handy.

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="{...