![[OpenShift Container Platform]](ngocp.gif)
Upgrading an IBM MQ queue manager using the Red Hat OpenShift CLI
An IBM® MQ queue manager, deployed using the IBM MQ Operator, can be upgraded in Red Hat® OpenShift® using the command line.
Before you begin
Note: The latest CD version of the
IBM MQ queue manager is 9.3.5.1-r2. The latest LTS version of the IBM MQ queue manager is 9.3.0.25-r1. For the latest IBM MQ queue manager release notes, see Release history for Queue Manager Container images for use with IBM MQ Operator.
You need to be a cluster administrator to complete these steps.- Log in to the Red Hat OpenShift command line interface
(CLI) using
oc login. - Ensure that your IBM MQ Operator is using the desired Update Channel. See Upgrading the IBM MQ Operator and queue managers.
Before you can upgrade the queue manager in an air-gap environment, you must mirror the latest IBM Cloud Pak® for Integration images. For upgrading to IBM MQ Operator 3.0 or above, Migrating to the current CD channel of the IBM MQ Operator includes the air-gap specific steps. For upgrading to earlier IBM MQ operator versions, See
Preparing to upgrade to the latest IBM MQ 2.x Operator or queue manager in an air-gap environment.
Procedure
Edit the QueueManager resource to update the following fields, where
necessary, to match the desired IBM MQ queue manager
version upgrade.
- spec.version
- spec.license.licence
Use the following
command:
oc edit queuemanager my_qmgrwhere
my_qmgr is the name of the QueueManager resource that you want to
upgrade.