Some shell scripts for provisioning WebSphere MQ. Works with Vagrant and Linux (Debian).
These provisioning scripts are going to:
- Setup the virtual machine using Vagrant.
- Install all required packages for Debian.
- Install WebSphere MQ product (if it is not already installed).
- Install a rc.d script to start MQ automatically during system boot.
- Setup all environment for MQ to run.
- Import all of the MQSC configuration files and run them, creating queue managers if necessary.
- Start queue managers and their objects, required to connect to the queue manager.
In order to install the WebSphere MQ, you need to have the installation files from IBM. They are either provided by IBM or can be downloaded from their website as trial (90 days) version.
After acquiring the installation package, extract the following files:
- MQSeriesRuntime
- MQSeriesServer
- MQSeriesSDK
- MQSeriesClient
- MQSeriesJava
- MQSeriesSamples
- MQSeriesMan
This script is a part of Support Pac MSL1 (copy the rpm file to /install/mq/autostart/
directory).
You need to provide the files:
- MQ setup packages go to
./install/mq/
- MQSC configuration scripts go to:
./mqsc/
- Each of the MQSC configuration files should contain a configuration of only one queue manager.
- A queue manager is going to be created for each MQSC file. The name of the queue manager is going to be taken from the MQSC filename, without the extension (ABC001.mqsc will create a queue manager named ABC001).
- In the
./configure.sh
file, remove the proxy variable init if you do not use one.
Go to the provisioning scripts directory and issue:
vagrant up