Applying maintenance level updates on Linux Ubuntu using Debian packages
Follow these instructions to apply a fix pack, for example IBM MQ Version 9.1.0, Fix Pack 1, to IBM MQ on Linux using Debian packages.
Before starting
Important: We 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 associated with the installation we are modifying, if you have not already done so.
- Log in as root.
- Go to the local directory where the file with the IBM MQ Version 9.1.0, Fix Pack 1is located.
- Unpack the file:
# tar -zxvf 9.2.0-IBM-MQ-UbuntuLinuxX64-FP0001.tar.gzUsing the ls command results in the following list of extracted files:# ls 9.2.0-IBM-MQ-UbuntuLinuxX64-FP0001.tar.gz ibmmq-amqp-u9201_9.2.0.1_amd64.deb ibmmq-ams-u9201_9.2.0.1_amd64.deb ibmmq-bcbridge-u9201_9.2.0.1_amd64.deb ibmmq-client-u9201_9.2.0.1_amd64.deb ibmmq-explorer-u9201_9.2.0.1_amd64.deb ibmmq-ftagent-u9201_9.2.0.1_amd64.deb ibmmq-ftbase-u9201_9.2.0.1_amd64.deb ibmmq-ftlogger-u9201_9.2.0.1_amd64.deb ibmmq-ftservice-u9201_9.2.0.1_amd64.deb ibmmq-fttools-u9201_9.2.0.1_amd64.deb ibmmq-gskit-u9201_9.2.0.1_amd64.deb ibmmq-java-u9201_9.2.0.1_amd64.deb ibmmq-jre-u9201_9.2.0.1_amd64.deb ibmmq-man-u9201_9.2.0.1_amd64.deb ibmmq-msg-cs-u9201_9.2.0.1_amd64.deb ibmmq-msg-de-u9201_9.2.0.1_amd64.deb ibmmq-msg-es-u9201_9.2.0.1_amd64.deb ibmmq-msg-fr-u9201_9.2.0.1_amd64.deb ibmmq-msg-hu-u9201_9.2.0.1_amd64.deb ibmmq-msg-it-u9201_9.2.0.1_amd64.deb ibmmq-msg-ja-u9201_9.2.0.1_amd64.deb ibmmq-msg-ko-u9201_9.2.0.1_amd64.deb ibmmq-msg-pl-u9201_9.2.0.1_amd64.deb ibmmq-msg-pt-u9201_9.2.0.1_amd64.deb ibmmq-msg-ru-u9201_9.2.0.1_amd64.deb ibmmq-msg-zh-cn-u9201_9.2.0.1_amd64.deb ibmmq-msg-zh-tw-u9201_9.2.0.1_amd64.deb ibmmq-runtime-u9201_9.2.0.1_amd64.deb ibmmq-samples-u9201_9.2.0.1_amd64.deb ibmmq-sdk-u9201_9.2.0.1_amd64.deb ibmmq-server-u9201_9.2.0.1_amd64.deb ibmmq-sfbridge-u9201_9.2.0.1_amd64.deb ibmmq-web-u9201_9.2.0.1_amd64.deb ibmmq-xrservice-u9201_9.2.0.1_amd64.deb Packages.gz- Use the apt management tool to install the IBM MQ packages that we want, along with their dependency packages:
- Use the cd command and go to the directory:
# cd /etc/apt/sources.list.d- use the vi command to update the file:
# vi IBM_MQ.listThis file should contain the deb entry for the location of the directory that contains the IBM MQ packages for the Fix Pack.- Add the following lines to the end of the file:
+ begin (ignore this line) deb [trusted=yes] file:/downloads/mq9201 ./ + end (ignore this line)
- Use the apt command to install IBM MQ Version 9.2.0, Fix Pack 1.
# apt install "ibmmq-*-u9201*"- Issue the following command to show the installed file sets for IBM MQ in the Debian database:
# apt list 'ibmmq-*' Listing... Done ibmmq-amqp/unknown,now 9.2.0.0 amd64 [installed] ibmmq-amqp-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-ams/unknown,now 9.2.0.0 amd64 [installed] ibmmq-ams-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-bcbridge/unknown,now 9.2.0.0 amd64 [installed] ibmmq-bcbridge-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-client/unknown,now 9.2.0.0 amd64 [installed] ibmmq-client-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-explorer/unknown,now 9.2.0.0 amd64 [installed] ibmmq-explorer-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-ftagent/unknown,now 9.2.0.0 amd64 [installed] ibmmq-ftagent-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-ftbase/unknown,now 9.2.0.0 amd64 [installed] ibmmq-ftbase-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-ftlogger/unknown,now 9.2.0.0 amd64 [installed] ibmmq-ftlogger-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-ftservice/unknown,now 9.2.0.0 amd64 [installed] ibmmq-ftservice-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-fttools/unknown,now 9.2.0.0 amd64 [installed] ibmmq-fttools-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-gskit/unknown,now 9.2.0.0 amd64 [installed] ibmmq-gskit-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-java/unknown,now 9.2.0.0 amd64 [installed] ibmmq-java-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-jre/unknown,now 9.2.0.0 amd64 [installed] ibmmq-jre-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-man/unknown,now 9.2.0.0 amd64 [installed] ibmmq-man-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-cs/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-cs-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-de/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-de-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-es/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-es-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-fr/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-fr-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-hu/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-hu-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-it/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-it-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-ja/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-ja-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-ko/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-ko-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-pl/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-pl-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-pt/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-pt-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-ru/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-ru-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-zh-cn/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-zh-cn-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-msg-zh-tw/unknown,now 9.2.0.0 amd64 [installed] ibmmq-msg-zh-tw-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-runtime/unknown,now 9.2.0.0 amd64 [installed] ibmmq-runtime-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-samples/unknown,now 9.2.0.0 amd64 [installed] ibmmq-samples-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-sdk/unknown,now 9.2.0.0 amd64 [installed] ibmmq-sdk-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-server/unknown,now 9.2.0.0 amd64 [installed] ibmmq-server-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-sfbridge/unknown,now 9.2.0.0 amd64 [installed] ibmmq-sfbridge-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-web/unknown,now 9.2.0.0 amd64 [installed] ibmmq-web-u9101/unknown,now 9.2.0.1 amd64 [installed] ibmmq-xrservice/unknown,now 9.2.0.0 amd64 [installed] ibmmq-xrservice-u9101/unknown,now 9.2.0.1 amd64 [installed]- Use the dspmqver command to verify that the version is as expected.
# dspmqver Name: IBM MQ Version: 9.2.0.1 Level: p920-001-181108 BuildType: IKAP - (Production) Platform: IBM MQ for Linux (x86-64 platform) Mode: 64-bit O/S: Linux 4.15.0-39-generic InstName: Installation1 InstDesc: Primary: Yes InstPath: /opt/mqm DataPath: /var/mqm MaxCmdLevel: 920 LicenseType: Production
Results
We have updated your system to IBM MQ Version 9.1.0, Fix Pack 1.
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.
Parent topic: Applying and removing maintenance on UNIX and Linux