Skip to content

Puppet profiles for installing IBM MQ and IBM IIB software and creating and managing queue managers, brokers etc.

Notifications You must be signed in to change notification settings

enterprisemodules/ibm_profile

Repository files navigation

Enterprise Modules

Table of Contents

  1. Overview
  2. Experience the Power of Puppet for IBM MQ
  3. License
  4. Description - What the module does and why it is useful
  5. Setup
  1. Usage - Configuration options and additional functionality
  2. Reference - An under-the-hood peek at what the module is doing and how
  3. Limitations - OS compatibility, etc.

Overview

The ibm_profile module allows an easy path from first simple installation to a fully customized Enterprise setup. It is part of our family of Puppet modules to install, manage IBM MQ and IBM IIB with Puppet. Besides the ibm_profile module, this family also contains:

  • mq_config For configuring IBM MQ.
  • mq_install For installing IBM MQ software on Linux systems
  • iib_config For configuring IBM Integration Bus on Linux systems
  • iib_install For installing IBM Integration Bus on Linux systems

Experience the Power of Puppet for IBM MQ

Installing IBM MQ software and managing your IBM MQ configuration can be hard. With Puppet at your side, you get super-powers when installing and managing IBM MQ. If you want to play and experiment with this please take a look at our playgrounds.

Experience the Power

License

Most of the Enterprise Modules modules are commercial modules. This one is NOT. It is an Open Source module. You are free to use it any way you like. It, however, is based on our commercial Puppet WebLogic modules.

Description

The ibm_profile::mq_machine class

The ibm_profile::mq_machine class allows you to get a full fledged MQ setup on your system in a minute. It contains all default settings needed, but you can also tweak it in a lot of ways. It contains the following stages (These are not puppet stages):

All these stages have a default implementation. This implementation is suitable to get started with. These classed all have parameters you can customize through hiera values. The defaults are specified in the module's data/default.yaml file.

But sometimes this is not enough and you would like to add some extra definitions, you can, for example, add a Puppet class to be executed after the systctl stage is done and before the limits is done. You can do this by adding the next line to your yaml data:

ibm_profile::mq_machine::before_sysctl:   my_profile::my_extra_class

or after:

ibm_profile::mq_machine::after_sysctl:   my_profile::my_extra_class

If you want to, you can also skip this provided class:

ibm_profile::mq_machine::sysctl:   skip

Or provide your own implementation:

ibm_profile::mq_machine::sysctl:   my_profile::my_own_implementation

This mechanism can be used for all named stages and makes it easy to move from an easy setup with a running standard database to a fully customized setup using a lot of your own classes plugged in.

The ibm_profile::iib_machine class

Besides setting up MQ, the ibm_profile module also has support for setting up IBM Integration Bus (IIB). The ibm_profile::iib_machine class allows you to get a full -fledged IIB setup on your system in a minute. It contains all default settings needed, but you can also tweak it in a lot of ways. It contains the following stages (These are not puppet stages):

All these stages have a default implementation. This implementation is suitable to get started with. These classed all have parameters you can customize through hiera values. The defaults are specified in the module's data/default.yaml file.

But sometimes this is not enough and you would like to add some extra definitions, you can, for example, add a Puppet class to be executed after the systctl stage is done and before the limits is done. You can do this by adding the next line to your yaml data:

ibm_profile::iib_machine::before_sysctl:   my_profile::my_extra_class

or after:

ibm_profile::iib_machine::after_sysctl:   my_profile::my_extra_class

If you want to, you can also skip this provided class:

ibm_profile::iib_machine::sysctl:   skip

Or provide your own implementation:

ibm_profile::iib_machine::sysctl:   my_profile::my_own_implementation

This mechanism can be used for all named stages and makes it easy to move from an easy setup with a running standard database to a fully customized setup using a lot of your own classes plugged in.

Setup

Requirements

The ibm_profile module requires:

This module uses some other public Puppet forge modules. Check the metadata to ensure you have all dependencies installed.

We support MQ and IIB versions:

  • MQ 8 all fixpacks
  • MQ 9 all fixpacks
  • IIB 10 fixpack 6 to 14

Installing the ibm_profile module

To install these modules, you can use a Puppetfile

mod 'enterprisemodules/ibm_profile'               ,'0.x.0'

Then use the librarian-puppet or r10K to install the software.

You can also install the software using the puppet module command:

puppet module install enterprisemodules-ibm_profile

Usage

ibm_profile::mq_machine

To get started, include the ibm_profile::mq_machine class in your role, make sure you have a module called software that has a folder files and that directory contains the next files:

  • IBM_MQ_9.0.0.0_LINUX_X86-64.tar.gz

Add the following line to the hiera data:

ibm_profile::mq_managers:
  MQ01:
    ensure: present

Run Puppet and you have a Server with MQ installed an MQ Queue Manager named MQ01 Check the documentation for all the settings you can manage.

ibm_profile::iib_machine

To get started, include the ibm_profile::iib_machine class in your role, make sure you have a module called software that has a folder files and that directory contains the next files:

  • 10.0.0-IIB-LINUXX64-FP0011.tar.gz

Add the following line to the hiera data:

ibm_profile::iib_brokers:
  '10.0.0.11/BROKER_01':
    ensure: present

ibm_profile::iib_machine::server_setup::list:
  '10.0.0.11/BROKER_01/SERVER_01':
    ensure: present

Run Puppet and you have a Server with IIB Broker BROKER_01 running and server SERVER_01 running on it. Check the documentation for all the settings you can manage.

Reference

Here you can find some more information regarding this puppet module:

Limitations

This module runs on most Linux versions, AIX and Solaris. It requires a puppet version higher than 4.10.8. The module does NOT run on windows systems.

About

Puppet profiles for installing IBM MQ and IBM IIB software and creating and managing queue managers, brokers etc.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published