Forge Home

ibm_installation_manager

Manages IBM Installation Manager and IBM packages

60,608 downloads

3,316 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 3.0.1 (latest)
  • 3.0.0
  • 2.2.1
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.0.0
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.5
  • 0.2.4
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
released Jan 19th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppetlabs-ibm_installation_manager', '0.3.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-ibm_installation_manager
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-ibm_installation_manager --version 0.3.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: ibm, websphere, was, imcl, iim

Documentation

puppetlabs/ibm_installation_manager — version 0.3.0 Jan 19th 2018

ibm_installation_manager

Build Status

Table of Contents

  1. Module Description
  2. Setup - The basics of getting started with ibm_installation_manager
  3. Usage - Configuration options and additional functionality
  4. Reference - Classes and Parameters
  5. Limitations - OS compatibility, etc.
  6. Dependencies
  7. Development and Contributing
  8. Authors

Module Description

This module installs the IBM Installation Manager. Optionally, it can deploy the installation from a source such as HTTP or a local file path.

This module can also manage the installation of software from IBM packages (for example, WebSphere, IHS).

Usage

Installing Installation Manager

To install Installation Manager from an HTTP repository source archive:

class { 'ibm_installation_manager':
  deploy_source => true,
  source        => 'http://internal.lan/packages/IM.zip',
}

If you've already extracted the archive, install Installation Manager from the existing path:

class { 'ibm_installation_manager':
  source_dir => '/path/to/installation/IM'
}

To install Installation Manager to a custom location, specify the target location:

class { 'ibm_installation_manager':
  source => 'http://internal.lan/packages/IM.zip',
  target => '/opt/myorg/IBM',
}

To install the Installation Manager as a non-root user, specify that user's name and its home directory, and set the installation_mode to 'nonadministrator'

class { 'ibm_installation_manager':
  deploy_source     => true,
  source            => 'http://internal.lan/packages/IM.zip',
  user              => 'iim_user',
  user_home         => '/home/iim_user',
  installation_mode => 'nonadministrator',
}

Installing software packages

To install software with IBM Installation Manager, use the ibm_pkg type. This type includes the imcl provider, which uses the Installation Manager's imcl command-line tool to handle installation.

This provider installs the specified version or greater is installed. This is partly due to the nature of how IBM software is deployed (by a downloaded/extracted archive).

To install a package from an extracted source:

ibm_pkg { 'com.ibm.websphere.NDTRIAL.v85':
  ensure     => 'present',
  package    => 'com.ibm.websphere.NDTRIAL.v85',
  version    => '8.5.5000.20130514_1044',
  target     => '/opt/IBM/WebSphere85',
  repository => '/vagrant/ibm/websphere/repository.config',
}

The above code installs a WebSphere 8.5 package from an extracted source at /vagrant/ibm/websphere/ to /opt/IBM/WebSphere85

You can also provide the package source and other parameters in a custom response file:

ibm_pkg { 'com.ibm.websphere.NDTRIAL.v85':
  ensure   => 'present',
  response => '/mnt/resources/was_response_file.xml',
}

Reference

Class

Type

Class: ibm_installation_manager

Parameters

deploy_source

Specifies whether this module should be responsible for deploying the source package for Installation Manager. Valid values are true and false. Defaults to false

source

Required if deploy_source is true. Specifies the source. This can be either an absolute path to the source or an HTTP address. This expects a compressed archive from IBM (zip).

source_dir

Specifies the absolute path to the directory to deploy the installer from. (This is the directory containing the installc binary.) If you extracted the archive yourself, point this parameter to the extracted archive. Defaults to /opt/IBM/tmp.

target

Specifies the absolute path to the base location where you want to install IBM Installation Manager. Defaults to /opt/IBM/InstallationManager.

manage_user

Whether or not to manage the user that will be installing the IBM IM.

Default: false.

user

Specifies the user to run the installation as. Defaults to root. Note that installing as a different user might cause undefined behavior. Consult IBM's documentation for details.

Note that installing as a user other than root might result in undefined behavior. Consult IBM's documentation for details. Installations by a non-root user won't share installation data with the rest of the system.

user_home

Specifies the home directory for the specified user. Required if you're installing in a mode other than 'administrator'.

manage_group

When in 'group' mode, whether or not to manage the group that will be installing the IBM IM.

Default: false.

group

Specifies the group to run the installation as. Defaults to root.

Note that installing as a user other than root might result in undefined behavior. Consult IBM's documentation for details. Installations by a non-root user won't share installation data with the rest of the system.

options

Specifies options to pass to the installer.

Default:

  • administrator mode: -acceptLicense -s -log/tmp/IM_install.${timestamp}.log.xml -installationDirectory ${target}.
  • nonadministrator/group mode: -acceptLicense -accessRights nonAdmin -s -log /tmp/IM_install.${timestamp}.log.xml
timeout

Specifies the timeout for the installation, in seconds. Defaults to 900. Installation Manager can take a long time to install, so if you have issues with Puppet timing out before the installation is complete, you might need to increase this parameter.

installation_mode

Specifies which 'installation mode' you want to use to install the IBM Installation Manager.

Values: 'administrator', 'nonadministrator', 'group'

Default: 'administrator'

Type: ibm_pkg

This type installs software with IBM Installation Manager. The ibm_pkg type includes an imcl provider, which uses the Installation Manager's imcl command-line tool to handle installation.

This resource does not upgrade packages, but installs the specified version or greater.

Parameters

ensure

Valid values are present and absent. Defaults to present.

Specifies the presence of the specified package.

name

Defaults to the resource title. This parameter is used only for identifying the resource within Puppet; it is not the actual name of the IBM package.

imcl_path

Optional. Specifies the absolute path to the imcl command-line tool for IBM Installation Manager. By default, this tries to discover the correct location by parsing /var/ibm/InstallationManager/installed.xml on the system. IBM's default location is /opt/IBM/InstallationManager/eclipse/tools/imcl.

target

Required, or optional with a response file. Specifies the absolute path to the directory in which to install the specified package. This maps to the imcl argument -installationDirectory.

package

Required, or optional with a response file. Specifies the IBM package name, for example, com.ibm.websphere.IBMJAVA.v71. This is the first part of the traditional IBM full package name, before the first underscore.

version

Required, or optional with a response file. Specifies the IBM version of the package, for example, 7.1.2000.20141116_0823. This is the second part of the traditional IBM full package name, after the first underscore.

repository

Required, or optional with a response file. Specifies the full path to the repository.config file for installing this package. The repository.config file is provided when you download and extract a package from IBM.

options

Optional. Specifies any custom options to pass to the imcl tool for installing the package.

response

Specifies the absolute path to a response file for installing the package. If you're using a response file, you can include the package, version, target, and repository values either in the response file or as the parameters listed for this type. Valid value is an absolute path. Defaults to undef.

user

Specifies the user to run the imcl command as. This user must have the necessary permissions for reading/writing to the needed resources. If you installed the Installation Manager as a non-root user, pass the same user or user in a group to this paramter. Defaults to root.

Limitations

Tested with RHEL 5, 6, and 7 x86_64 and IBM Installation Manager 1.8.3 and 1.6.x

Known Issues

The installer exits 0 even if it failed.

ERROR: java.lang.IllegalStateException: No metadata found for installed package com.ibm.cic.agent 1.6.2000.20130301_2248.

Dependencies

Development and Contributing

Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad hardware, software, and deployment configurations that Puppet is intended to serve. We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. For more information, see our module contribution guide.

Contributors

This module was contributed to by Josh Beard and other contributors.