Follow these instructions to apply a maintenance level update to IBM® MQ on Linux®
using Debian packages.
Before you begin
Important: You must stop all IBM MQ queue managers, other objects, and applications, before
you begin the process to modify IBM MQ.
Procedure
-
Stop all IBM MQ applications that are associated
with the installation you are modifying, if you have not already done so.
-
Log in as root.
-
Go to the local directory where the file for the maintenance level update is located.
-
Unpack the file using the following command:
tar -zxvf maintName.tar.gz
where
maintName is the name of the file you want to install.
-
Use the apt management tool to install the IBM MQ packages that you want, along with their dependency
packages:
-
Use the cd command and go to the
/etc/apt/sources.list.d directory:
cd /etc/apt/sources.list.d
-
Use the vi command to update the
IBM_MQ.list
file:
This file should contain the deb entry for the location of the directory
that contains the IBM MQ packages for the maintenance
level update.
-
Add the following line to the end of the file:
deb [trusted=yes] file:maintFileLocation ./
where
maintFileLocation is the directory where the unpacked files are located.
-
Use the apt command to install the update. For example, to install IBM MQ 9.3.0 Fix Pack 1, use the following command:
apt-get install "ibmmq-*-u9301*"
For other maintenance levels, change the
9301
VRMF to the appropriate VRMF number.
-
Issue the following command to show the installed file sets for IBM MQ in the Debian database:
-
Use the dspmqver command to verify that the version is as expected:
Results
You have installed a maintenance level update on your system.
What to do next
- Log in as user
mqm
and use the strmqm command to start the
queue manager.
- Issue the command DISPLAY QMGR VERSION to check that the queue manager is at
the correct level.
- Use the endmqm command to stop the queue manager.