Wednesday, 2 December 2015

Quick guide to Installation Manager

Overview

 IBM® Installation Manager is a single installation program that uses remote or local software repositories to install, modify, roll back, and uninstall packages or update certain IBM products.

 Before we install Installation Manager on your target machines, we must consider what mode we will use to deploy packages. The mode that we choose determines how we install the software. There are three modes: administrator, non-administrator, and group.

Administrator : This mode is required for packages that require administrator or root privileges to be deployed. It can only be installed once per machine.
Non-administrator : We use this mode when users have their own copy of an application. We cannot use this mode where packages require administrator access. It can be installed once per user.
Group : We use this mode when we use multiple user accounts to manage the installed applications.
 

Installing or updating Installation Manager

Learn how to install or update IBM® Installation Manager.

Installing Installation Manager

You can install Installation Manager in wizard mode, command-line mode, silent mode, or console mode.
For step-by-step installation instructions on installing Installation Manager, select the appropriate topic.

Updating Installation Manager

For step-by-step installation instructions on updating Installation Manager, select the appropriate topic.


Command-line arguments for the imcl command

You must run the imcl commands from the tools directory.  The directory is given below:
Operating System Administrator Nonadministrator Group
Windows XP Professional C:\Program Files\IBM\Installation Manager\eclipse\tools C:\Documents and Settings\user\IBM\
Installation Manager\eclipse\tools
Not available
Windows Vista, Windows 2008, Windows 7, Windows 8, and Windows 2012 C:\Program Files [(x86)]\IBM\Installation Manager\eclipse\tools C:\Users\user\IBM\Installation Manager\eclipse\tools Not available
Linux and UNIX /opt/IBM/InstallationManager/
eclipse/tools
/user_home_directory/IBM/
InstallationManager/eclipse/tools
/user_home_directory/IBM/
InstallationManager_Group/eclipse/tools

Use the below link to learn more about the commands and options for the Installation Manager command line, imcl :
http://www-01.ibm.com/support/knowledgecenter/SSDV2W_1.8.3/com.ibm.cic.commandline.doc/topics/r_tools_imcl.html


Commonly used imcl commands:

Command to list the available packages to install :
./imcl listAvailablePackages -repositories source_repository

Eg:
bash-3.2$ cd /opt/IBM/InstallationManager/eclipse/tools
bash-3.2$ ./imcl listAvailablePackages -repositories /var/WAS855FP6/WAS/
com.ibm.websphere.BASE.v85_8.5.5006.20150529_0536
com.ibm.websphere.BASETRIAL.v85_8.5.5006.20150529_0536
com.ibm.websphere.DEVELOPERS.v85_8.5.5006.20150529_0536
com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5006.20150529_0536
com.ibm.websphere.EXPRESS.v85_8.5.5006.20150529_0536
com.ibm.websphere.EXPRESSTRIAL.v85_8.5.5006.20150529_0536
com.ibm.websphere.ND.v85_8.5.5006.20150529_0536
com.ibm.websphere.NDDMZ.v85_8.5.5006.20150529_0536
com.ibm.websphere.NDDMZTRIAL.v85_8.5.5006.20150529_0536
com.ibm.websphere.NDTRIAL.v85_8.5.5006.20150529_0536
bash-3.2$
 

Command to install:
./imcl install package
  -repositories source_repository
  -installationDirectory installation_directory
  -sharedResourcesDirectory shared_directory
  -preferences preference_key=value
  -properties property_key=value
  -acceptLicense


Command to list available fixes:
./imcl listAvailableFixes com.ibm.product.package_1.0.0 -repositories "location or path of the Installation Files" -long


Command to list installed package:
imcl listInstalledPackages

Eg:
bash-3.2$ ./imcl listInstalledPackages
com.ibm.cic.agent_1.7.4003.20150630_1330
com.ibm.websphere.ND.v85_8.5.5006.20150529_0536
bash-3.2$