Sean's i/o Stream

Musings-as-a-Service

Silent installation/update of IBM Installation Manager

  • March 29, 2012
  •   category: ibm
  • tags: automated-installation, ibm, installation-manager, linux, silent-install

The old chicken and egg problem, when you are in a Unix/Linux environment and do not have access to X how can we get our software installed that is bundled with a graphical installer?

So you first need to find the latest and greatest download of IM from the IBM site, they tell you to go here: IM Support Portal

But that seems to be a redirect to nowhere useful, at the time of this writing the latest version is 1.5.3 so I would recommend you search for what version you need directly in google.

Based on the error I am seeing from my 4.x JTS install tells me I need at least 1.5.2.

CRIMA1099E ERROR: The "Jazz Team Server 4.0" installation package requires Installation Manager version "1.5.2" or later (internal version tolerance "1.5.2000").  The running Installation Manager is version "1.5.0"   (internal version "1.5.0.20110909_1200").
CRIMA1002W WARNING: The following repositories are not connected:

Once you have the bits from IBM Fix Central on the machine, IM actually makes this pretty easy on you, you have a few options the first is very straight forward and comes with the installation files.

swilbur@kablamo:~/im-153> sudo ./install -acceptLicense --launcher.ini silent-install.ini
Updated to com.ibm.cic.agent_1.5.3000.20120531_1954 in the /opt/IBM/InstallationManager/eclipse directory.

Additionally you can use the console mode feature of installation Manager. http://publib.boulder.ibm.com/infocenter/install/v1r5/topic/com.ibm.cic.agent.console.doc/topics/t_console_install_im.html

[virtuser@dsl IM-1.5]$ sudo ./installc -c
ERROR: Installation Manager 1.5.0 (internal version: 1.5.0.20110909_1200) is already installed at location "/opt/IBM/InstallationManager/eclipse" and is using "/var/ibm/InstallationManager" for its data location.  Use the installed Installation Manager.
00:00.50 ERROR [main] com.ibm.cic.agent.internal.application.HeadlessApplication run
 Installation Manager 1.5.0 (internal version: 1.5.0.20110909_1200) is already installed at location "/opt/IBM/InstallationManager/eclipse" and is using "/var/ibm/InstallationManager" for its data location.  Use the installed Installation Manager.

Oh yeah I just installed it… I’ll have to revisit this when next time I do a fresh installation.

Update: Have had a chance to run the command line version here is the screen content.

    sh-4.1$ sudo ./installc -c
    Preprocessing the input.
    Loading repositories...
    Preparing and resolving the selected packages...
    
    =====> IBM Installation Manager> Install
    
    Select packages to install:
           1. [X] IBM® Installation Manager 1.5.3
           O. Check for Other Versions, Fixes, and Extensions
           N. Next,        C. Cancel
    -----> [N]
    
    =====> IBM Installation Manager> Install> Licenses
    
    Read the following license agreements carefully.
    View a license agreement by entering the number:
           1. IBM Installation Manager - License Agreement
           
    Options:
           A. [ ] I accept the terms in the license agreement
           D. [ ] I do not accept the terms in the license agreement
           B. Back,        C. Cancel
    -----> [C] A
    
    
    =====> IBM Installation Manager> Install> Licenses
    
    Read the following license agreements carefully.
    View a license agreement by entering the number:
           1. IBM Installation Manager - License Agreement
           
    Options:
           A. [X] I accept the terms in the license agreement
           D. [ ] I do not accept the terms in the license agreement
           B. Back,        N. Next,        C. Cancel
    -----> [N]
    
    =====> IBM Installation Manager> Install> Licenses> Location
    
    Installation Manager installation location:
              /opt/IBM/InstallationManager/eclipse
              
    Options:
           L. Change Installation Manager Installation Location
           B. Back,        N. Next,        C. Cancel
    -----> [N]
    
    
    =====> IBM Installation Manager> Install> Licenses> Location> Summary
    
    Target Location:
        Package Group Name         :  IBM Installation Manager
        Installation Directory     :  /opt/IBM/InstallationManager/eclipse
        
    Packages to be installed:
              IBM® Installation Manager 1.5.3
              
    Options:
           G. Generate an Installation Response File
           B. Back,        I. Install,        C. Cancel
    -----> [I]
                     25%                50%                75%                100%
    ------------------|------------------|------------------|------------------|
    ....................................
    
    ...
                     25%                50%                75%                100%
    ------------------|------------------|------------------|------------------|
    ............................................................................
    
    =====> IBM Installation Manager> Install> Licenses> Location> Summary>
        Completion
        
    The install completed successfully.
    
    Options:
           R. Restart Installation Manager
    -----> [R]
    
    Preprocessing the input.
    
    =====> IBM Installation Manager
    
    Select:
           1. Install - Install software packages
           2. Update - Find and install updates and fixes to installed software packages
           3. Modify - Change installed software packages
           4. Roll Back - Revert to an earlier version of installed software packages
           5. Uninstall - Remove installed software packages
           
    Other Options:
           L. View Logs
           S. View Installation History
           V. View Installed Packages
              ------------------------
           P. Preferences
              ------------------------
           E. Export Data for Problem Analysis
           A. About IBM Installation Manager
              ------------------------
           X. Exit Installation Manager
      
    ----->

Now you’re up and running and can use this IM for actually installing some software!

Reference:
Back to Top