The IBM® MQ Operator can be upgraded from the
command line.
Procedure
-
Review Version support for the IBM MQ Operator to determine which operator
channel to upgrade to.
- Optional:
If you are upgrading from a version of IBM MQ Operator
that is older than 1.5 to IBM MQ Operator 1.5 or later, you
must first upgrade the version of IBM Cloud Pak foundational services.
-
Upgrade the IBM MQ Operator. New major/minor IBM MQ Operator versions are delivered through new Subscription
Channels. To upgrade your Operator to a new major/minor version, you will need to update the
selected channel in your IBM MQ Operator Subscription.
-
Ensure the required IBM MQ Operator Upgrade Channel is
available.
oc get packagemanifest ibm-mq -o=jsonpath='{.status.channels[*].name}'
-
Patch the
Subscription to move to the desired update channel (where
vX.Y is the desired update channel identified in the previous step.
oc patch subscription ibm-mq --patch '{"spec":{"channel":"vX.Y"}}' --type=merge
What to do next
If you upgraded to IBM Cloud Pak foundational services 3.7, any queue
managers which use a IBM Cloud Pak for Integration license will need to be
upgraded or restarted. For more information on how to do this, see Upgrading an IBM MQ queue manager using the Red Hat OpenShift CLI.