Upgrading from 2022.4

Upgrade IBM Cloud Pak® for Integration from version 2022.4 to version 2023.2 .

Important: Upgrading to 2023.2 requires that your installation is at version 2022.2 or 2022.4. If upgrading from an earlier version, upgrade to 2022.2 or 2022.4 first. For instructions, go to the Upgrading page and select the procedure for the version from which you are upgrading.
Attention: Before upgrading, confirm that you are using automatic approvals for the operators, because any manual approvals can block the upgrade of Cloud Pak for Integration capabilities. For more information on approval strategies, see Installing the operators by using the Red Hat OpenShift console or Installing the operators by using the CLI. For more information on controlling operator upgrades, see Adding catalog sources to a cluster.

To perform the upgrade, you must be a cluster administrator. For more information, see Roles and permissions.

Generating an upgrade plan

An upgrade plan guides you through the upgrade of your Cloud Pak for Integration installation to a target version. Generate an upgrade plan by using the CLI or the Platform UI.

When the process is complete, you get a sequence of tasks (the upgrade plan) that are required for upgrading the Cloud Pak for Integration installation to 2023.2 . These tasks can include:

Important: To ensure a successful upgrade, complete all tasks in the generated order. After you complete each upgrade step, regenerate the upgrade plan to get updated guidance and validate you can proceed to the next step.

Generating an upgrade plan by using the CLI

  1. Log in to the Red Hat OpenShift CLI.

    oc login
  2. Set the CP4I_NAMESPACE variable. For <namespace>, enter the namespace where the Platform UI is installed:

    export CP4I_NAMESPACE=<namespace>

    For example:

    export CP4I_NAMESPACE=integration
  3. Start a local image. The docker command runs a check of the specific Cloud Pak for Integration installation and compares the current installed versions of components with those that are part of the target version:

    docker run --platform linux/amd64 --pull=always \
      -it -v ${KUBECONFIG:-~/.kube/config}:/kube/config \
      --env KUBECONFIG=/kube/config icr.io/cpopen/ibm-integration-upgrade-must-gather:v2 \
      --namespace ${CP4I_NAMESPACE} \
      --to 2023.2 \
      --debug
  4. If you have multiple instances of the Platform UI in the same cluster, go back to the previous step and set the CP4I_NAMESPACE variable to the namespace for another instance. Repeat the command as needed.

  5. After you complete each upgrade step, regenerate the upgrade plan to get updated guidance and validate you can proceed to the next step.

Generating an upgrade plan by using the Platform UI

Follow the steps in the "Generating an upgrade plan" section of Managing versions and upgrades by using the Platform UI to generate an upgrade plan.

Removing integration tracing

Effective with Cloud Pak for Integration 2023.2.1 , the integration tracing capability (Cloud Pak for Integration Operations Dashboard) is removed. No further updates will be provided. If you have integration tracing deployed, removing it is your first task in the upgrade process.

Remove integration tracing by removing:

  • the integration tracing configuration from any integration capability's custom resource.

  • the integration tracing instance.

  • the Cloud Pak for Integration Operations Dashboard operator.

Refer to the upgrade plan generated in the "Generating an upgrade plan" step for instructions on how to remove the three required components (configuration, instance, and operator). The upgrade plan confirms whether integration tracing is being used and then provides you with the correct sequence of CLI commands to remove it.

Patching catalog sources and images for the 2022.4 release

The first step for upgrade is to patch the 2022.4 catalog sources and images on the cluster:

  • If you have an online installation and are using the IBM Operator Catalog, no action is needed, because the IBM Operator Catalog polls every 45 minutes.

  • If you are not using the IBM Operator Catalog (some online installations and all air-gapped installations), follow the steps in Adding specific catalog sources for each operator.

After the catalog sources and images are updated with the latest 2022.4 patch, you can proceed to the next section.

Patching catalog sources and images for the 2023.2 release

  • If you have an online installation and are using the IBM Operator Catalog, you can skip this step, because the IBM Operator Catalog polls every 45 minutes.

    • If you are not using the IBM Operator Catalog (some online installations and all air-gapped installations), update the catalog sources and images for the 2023.2 release. Complete all steps in Applying fix packs between major releases that are applicable for your environment.

When the catalog sources and images are updated with the latest 2023.2 content, you can proceed with the upgrade.

Upgrading dependencies

The next step is to upgrade the Cloud Pak for Integration dependencies.

Operator for Redis

If using the IBM Cloud Databases Redis operator (used only for Aspera HSTS), upgrade the operator to version 1.5 or later. For the upgrade procedure, see Upgrading operators.

Troubleshooting: You may not find the latest versions of this operator in the Installed Operators panel. Solution: For Project, select the namespace where the Cloud Pak for Integration

Upgrading the operators

After the dependencies are upgraded, upgrade the operators to the channels that are part of the 2023.2 release, using the procedure in Upgrading operators. You can upgrade directly to the 2023.2 channels; you don't need to go through each intermediate channel.

Important: To ensure a successful upgrade, it is essential that you carefully follow the procedure in Upgrading operators and review all provided information.

Once all the operators you intend to use are upgraded to the 2023.2 channels, you can upgrade the capabilities.

Upgrading the capabilities

After all the operators are upgraded, upgrade your instances of capabilities (for example, API management or messaging) in this order:

  1. Upgrade the Platform UI instance to the 2023.2 version by following the steps for "Upgrading the Platform UI instance" in Upgrading the Platform UI.
    Important: Wait until the Platform UI instance is Ready before upgrading any other capabilities.
  2. Upgrade all instances of the API management capability (IBM API Connect operator), if used, to the 2023.2 version. Complete this before upgrading any instances of the gateway capability (DataPower Gateway). For more information, see Upgrading API management.

  3. Upgrade the other instances of capabilities to 2023.2 versions. For more information, see Upgrading capabilities.

When all capabilities are upgraded, you can upgrade Cloud Pak foundational services.

Upgrading IBM Cloud Pak foundational services beyond 3.19 (optional)

IBM Cloud Pak foundational services version 3.19.x is compatible with the 2023.2 release, so you can stay on that version. However, if you want to upgrade your Cloud Pak foundational services to version 3.23, follow the steps in Upgrading IBM Cloud Pak foundational services.

Upgrading OpenShift beyond 4.10

Although OpenShift Container Platform version 4.10 is compatible with the 2023.2 release, it is no longer in support. Upgrade to version 4.12 after the upgrade to Cloud Pak for Integration 2023.2 is complete.

To upgrade OpenShift, follow the instructions in Upgrading Red Hat OpenShift.

Validating that the License Service is still installed

Depending on how you previously installed the License Service, it might have been uninstalled during the upgrade.

Validate if the License Service is still installed with:

oc get IBMLicensing -A

If nothing returns, re-install the following the instructions in Deploying License Service.