Upgrading from 2022.4
Upgrade IBM Cloud Pak® for Integration from version 2022.4 to version 2023.2 .
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:
Generating an upgrade plan by using the CLI
Log in to the Red Hat OpenShift CLI.
oc loginSet the
CP4I_NAMESPACEvariable. For<namespace>, enter the namespace where the Platform UI is installed:export CP4I_NAMESPACE=<namespace>For example:
export CP4I_NAMESPACE=integrationStart a local image. The
dockercommand 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 \ --debugIf you have multiple instances of the Platform UI in the same cluster, go back to the previous step and set the
CP4I_NAMESPACEvariable to the namespace for another instance. Repeat the command as needed.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.
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.
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:
- 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
Readybefore upgrading any other capabilities. 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.
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 -AIf nothing returns, re-install the following the instructions in Deploying License Service.