You can use dpkg to upgrade an IBM® MQ
installation on Linux®
Ubuntu systems.
Before you begin
The version that you are upgrading from must be IBM MQ 9.2.0, or later.
If your current version is at IBM MQ 9.4.0 or higher, you can upgrade your installation with fix packs installed. That is, the fix pack
number in the version.release.modification.fixpack (V.R.M.F
) release identifier
does not need to be 0.
If your current version is earlier than IBM MQ 9.4.0, you
can upgrade only if no fix packs are installed. That is, the fix pack number in the
version.release.modification.fixpack (V.R.M.F
) release identifier must be 0.
Important:
- The IBM MQ Bridge to Salesforce is deprecated across all releases from November 22 2022 (see US Announcement letter 222-341).
-
The IBM MQ Bridge to Salesforce is removed from the product at IBM MQ 9.4.0. Salesforce connectivity can be achieved with IBM App Connect Enterprise. Salesforce Input and Salesforce Request nodes can be used to interact with Salesforce applications. For more information, see Using Salesforce with IBM App Connect Enterprise.
On Linux for x86-64 only, if you are migrating from an installation where the IBM MQ Bridge to Salesforce is present, you must remove it before you upgrade to IBM MQ 9.4.0 or later.
- For Continuous Delivery, the IBM MQ Bridge to blockchain is removed from the product at IBM MQ 9.3.2.
For Long Term Support, IBM MQ Bridge to blockchain is removed at IBM MQ 9.3.0 Fix Pack 15.
Blockchain connectivity can be achieved with IBM App Connect or through App Connect capabilities available with IBM Cloud Pak® for Integration.
On Linux for x86-64 only, if you are migrating from an installation where the IBM MQ Bridge to blockchain is present, you must remove it before you upgrade to IBM MQ 9.4.0 or later.
- From IBM MQ 9.3.0, IBM MQ Explorer has been removed from the IBM MQ install package. On Linux for x86-64 only, if you are migrating on an installation where
the IBM MQ Explorer is present as part of the IBM MQ installation, you must remove it before you upgrade to
IBM MQ 9.3.0 or later.
For more information about modifying an
IBM MQ
installation on
Ubuntu, see
Uninstalling or modifying IBM MQ on Linux Ubuntu using Debian packages.
Procedure
- Complete the following tasks:
- Stop all your IBM MQ applications.
If you use the Managed File Transfer (MFT) component, ensure that
any file transfers that MFT agents are engaged in are completed. The SYSTEM.FTE.STATE queues must
contain no messages.
- Stopped the mqweb server by using the endmqweb command.
- Stopped your listeners by using the endmqlsr command.
- Stopped all your queue managers by using the endmqm command.
- Backed up your data.
- Log in as root, or with sufficient authority to run the following commands.
- Optional: If your installation media is a downloadable installation image, obtained from Passport Advantage, you must decompress the
tar.gz file and extract the installation files from the file:
- Decompress the file by using the following command:
gunzip partName.tar.gz
where
partName is
the name of the installation image file.
- Extract the installation files from the file by using the following command:
tar -xvf partName.tar
where
partName is
the name of the installation image file.
Important: You must use GNU tar (also known as
gtar
) to unpack any tar images.
-
Set your current directory to the location of the installation files.
- From IBM MQ 9.2.0, you have the
option of accepting the license before or after you install the product. To accept the license
before installing, run the mqlicense.sh script. The license agreement is
displayed in a language appropriate to your environment and you are prompted to accept or decline
the terms of the license:
- Upgrade each IBM MQ package by using the
following command for each package:
dpkg -i packageName
where
packageName specifies the name of the package to upgrade.
Important: Although
dpkg permits multiple package files in the same
command, this does not work for
IBM MQ because of
inter-package dependencies. You must upgrade the packages individually in the order shown. If you
use apt to upgrade, the inter-package dependencies are handled for you. For more information, see
Upgrading an IBM MQ installation on Linux Ubuntu using apt.
- ibmmq-runtime
- ibmmq-jre
- ibmmq-java
- ibmmq-gskit
- ibmmq-server
- ibmmq-web
- ibmmq-ftbase
- ibmmq-ftagent
- ibmmq-ftservice
- ibmmq-ftlogger
- ibmmq-fttools
- ibmmq-amqp
- ibmmq-ams
- ibmmq-xrservice
- ibmmq-explorer
- ibmmq-client
- ibmmq-man
- ibmmq-msg_language
- ibmmq-samples
- ibmmq-sdk
-
Use the dspmqver command to verify that the version is as expected: