Skip to content

Latest commit

 

History

History
172 lines (148 loc) · 4.28 KB

tools.md

File metadata and controls

172 lines (148 loc) · 4.28 KB

Which MQ versions PyMQI has been tested with?

PyMQI 1.5

<tr>
    <th>System, architecture and MQ version</th>
    <th>dspmqver</th>
</tr>

<tr>
    <td>Linux x86, 64-bit, MQ 8.0</td>
    <td>

Name: WebSphere MQ
Version: 8.0.0.2
Level: p800-002-150519.TRIAL
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.10.0-229.el7.x86_64
InstName: Installation1
InstDesc:
Primary: No
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 801
LicenseType: Trial

<tr>
    <td>Linux x86, 64-bit, MQ 7.5</td>
    <td>

Name: WebSphere MQ
Version: 7.5.0.0
Level: p000-L120604
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.2.0-40-generic
InstName: Installation1
InstDesc:
InstPath: /opt/mqm
DataPath: /var/mqm
Primary: No
MaxCmdLevel: 750

<tr>
    <td>Linux x86, 64-bit, MQ 7.1</td>
    <td>

Name: WebSphere MQ
Version: 7.1.0.2
Level: p710-002-121029
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.2.0-40-generic
InstName: Installation1
InstDesc:
InstPath: /opt/mqm
DataPath: /var/mqm
Primary: No
MaxCmdLevel: 711

<tr>
    <td>Linux x86, 64-bit, MQ 7.0</td>
    <td>

Name: WebSphere MQ
Version: 7.0.1.3
CMVC level: p701-103-100813
BuildType: IKAP - (Production)

Installing and removing MQ on Ubuntu

Prerequisites

sudo apt-get install rpm sharutils

7.0 64-bit sudo mkdir -p /tmp/mq_license/license/ && \
sudo touch /tmp/mq_license/license/status.dat && \
sudo rpm -iavh --nodeps --force-debian \
./MQSeriesRuntime-7.0.1-3.x86_64.rpm \
./MQSeriesJava-7.0.1-3.x86_64.rpm \
./MQSeriesClient-7.0.1-3.x86_64.rpm \
./MQSeriesServer-7.0.1-3.x86_64.rpm \
./MQSeriesSDK-7.0.1-3.x86_64.rpm \
./MQSeriesSamples-7.0.1-3.x86_64.rpm \
./MQSeriesMan-7.0.1-3.x86_64.rpm \
&& sudo usermod -s /bin/bash mqm
7.1 64-bit

sudo ./mqlicense.sh -accept && sudo rpm -iavh --nodeps --force-debian \
./MQSeriesRuntime-7.1.0-2.x86_64.rpm \
./MQSeriesJava-7.1.0-2.x86_64.rpm \
./MQSeriesClient-7.1.0-2.x86_64.rpm \
./MQSeriesServer-7.1.0-2.x86_64.rpm \
./MQSeriesSDK-7.1.0-2.x86_64.rpm \
./MQSeriesSamples-7.1.0-2.x86_64.rpm \
./MQSeriesMan-7.1.0-2.x86_64.rpm \
&& sudo usermod -s /bin/bash mqm

7.5 64-bit

sudo ./mqlicense.sh -accept && sudo rpm -iavh --nodeps --force-debian \
./MQSeriesRuntime-7.5.0-0.x86_64.rpm \
./MQSeriesJava-7.5.0-0.x86_64.rpm \
./MQSeriesClient-7.5.0-0.x86_64.rpm \
./MQSeriesServer-7.5.0-0.x86_64.rpm \
./MQSeriesSDK-7.5.0-0.x86_64.rpm \
./MQSeriesSamples-7.5.0-0.x86_64.rpm \
./MQSeriesMan-7.5.0-0.x86_64.rpm \
&& sudo usermod -s /bin/bash mqm

Test environment

(As user mqm)

/opt/mqm/bin/crtmqm QM01
/opt/mqm/bin/strmqm QM01

echo "define qlocal(q1)" > commands.in
echo "define channel(svrconn.1) chltype(svrconn) mcauser('mqm')" >> commands.in # Note mcauser!
echo "alter qmgr chlauth(disabled)" >> commands.in # Dangerous!
/opt/mqm/bin/runmqsc QM01 < commands.in

/opt/mqm/bin/runmqlsr -m QM01 -t tcp -p 1434 &

Removing

(First stop the queue manager and runmqlsr listener)

sudo rpm -qa | grep "MQSeries" | xargs sudo rpm -e --force-debian --noscripts
sudo rm -rf /opt/mqm
sudo rm -rf /var/mqm
sudo userdel mqm