Upgrading all API Connect cluster subsystems on amd64

Upgrade the API Connect cluster instance in IBM Cloud Pak for Integration.

Before you begin

This task applies only if all API Connect subsystems are deployed on amd64. If you installed the API Manager and API Portal subsystems on s390x, see Upgrading an API Connect cluster on s390x instead.

Troubleshooting: For a list of possible errors and solutions when upgrading API Connect, see Troubleshooting upgrade on OpenShift in the API Connect documentation.

Procedure

When you upgrade an API Connect cluster instance, complete the steps in the following sequence:

  1. Review the following topics in the API Connect documentation to ensure your environment meets the requirements for upgrading API Connect:
  2. Back up your API Connect cluster deployment.

    For instructions, see Backing up your Cloud Pak for Integration API Connect deployment in the API Connect documentation.

  3. On the Platform UI home page, verify that the status for your instance is Ready.
  4. Optionally configure API Connect to retain the existing Cloud Pak endpoints.

    Beginning with version 10.0.7.0, API Connect no longer uses the Cloud Pak cpd routes for endpoints when deployed as a component of Cloud Pak for Integration. Instead, the API Connect cluster instance uses the typical default API Connect routes (or the custom endpoints that are configured in the CR).

    Attention: If you choose to accept the new endpoints (without the Cloud Pak cpd routes), skip this step. However, if you previously configured your own OIDC user registry, be sure to update the redirect_uri to reflect the new API Connect endpoint.

    If you want to retain the existing Cloud Pak endpoints during the upgrade, complete the following steps:

    1. Log in to the Platform UI.
    2. Click the overflow menu (three dots) next to the API Connect cluster instance that you are upgrading, and select Edit.
    3. Click the YAML tab to manually edit the CR.
    4. Insert the deprecatedCloudPakRoute object into the spec.management section as shown in the following example:
      apiVersion: apiconnect.ibm.com/v1beta1
      kind: APIConnectCluster
      metadata:
        name: <name_of_your_instance> 
        namespace: <APIC-namespace> 
      spec:
        license:
          accept: true
          license: L-DZZQ-MGVN8V
          metric: PROCESSOR_VALUE_UNIT
          use: nonproduction
        profile: n1xc17.m48
        version: 10.0.8.5
        storageClassName: <default-storage-class>
        management:
          deprecatedCloudPakRoute:
            enabled: true
            cloudPakEndpoint:
              hosts:
              - name: cpd-apic.apps.admin-<domain>.com
    5. Optional: If you want to add a custom certificate for the Cloud Pak route, complete the following steps:
      1. Create a Cloud Pak certificate that was signed by a Cloud Pak CA as in the following example:
        ---
        apiVersion: cert-manager.io/v1
        kind: Issuer
        metadata:
         name: custom-cpd-ca
         namespace: apic
        spec:
         selfSigned: {}
        ---
        apiVersion: cert-manager.io/v1
        kind: Certificate
        metadata:
          name: custom-cpd
          namespace: apic
        spec:
          commonName: small-mgmt-cpd
          dnsNames:
          - cpd-apic.apps.admin-apickeycloak.cp.fyre.ibm.com
          duration: 17520h0m0s
          issuerRef:
            kind: Issuer
            name: custom-cpd-ca
          privateKey:
            algorithm: RSA
            rotationPolicy: Always
            size: 2048
          renewBefore: 720h0m0s
          secretName: custom-cpd
          usages:
          - key encipherment
          - digital signature
          - server auth
      2. In the CR, provide the secret name within the cloudPakEndpoint property of the new deprecatedCloudPakRoute object; for example:
        
        spec:
          deprecatedCloudPakRoute:
            enabled: true
            cloudPakEndpoint:
              hosts:
              - name: cpd-apic.apps.admin-<domain>.com
                secretName: custom-cpd
  5. Complete the upgrade for the API Connect cluster and Enterprise gateway instances by updating the channel and selecting a new license.
    1. In the Platform UI dashboard, click Integration instances.
    2. Click the overflow menu (three-dot icon) next to the API Connect cluster instance that you are upgrading, and select Change version.
    3. In the Select a new channel or version field, select the new version (do not confirm the change until you accept a new license in step 5.e).

      Upgrading the channel (instead of the version) ensures that both the Enterprise gateway and API Connect cluster instances are upgraded.

    4. In the list of licenses, select the license that matches your entitlement.

      To review the available License IDs for API Connect, see API Connect licenses in the API Connect documentation.

    5. Click the License accept toggle to enable it and apply the new license.
    6. Click Change version to save your selections and start the upgrade.

      When the confirmation message displays, click to refresh the Integration instances page. The Status for the instance displays as "Pending" message during the upgrade. The upgrade is complete when the Status is "Ready" and the Version displays the new version number.

What to do next

Review the changes in this release, described in What's new in the latest release in the API Connect documentation.