Online upgrading

As IBM Process Mining presents new versions such as a patch version, you can upgrade the operator and the IBM Process Mining installation to a newer version.

Before you begin

Removing IBM Automation Foundation core operator

Before you install the stand-alone IBM Process Mining 1.14.2, you must remove the IBM Automation Foundation core operator.

Upgrading IBM Foundational Services

Before you upgrade to IBM Process Mining version 1.14.2, you must install or upgrade to IBM Foundational Services version 4.0.0. You can use the procedure that is included in Migrating foundational services to upgrade to the IBM Foundational Services version 4.0.0.

Upgrading the Operator version

The IBM Process Mining Operator is installed with the Operator Lifecycle management (OLM) by following the steps in Installing Process Mining Operator. So you can upgrade the OLM operator by following the standard OLM upgrade procedure as described in Upgrading installed Operators.

Note: For operator dependencies, see Version dependencies.

Changing the CRD

You must change the spec.version field to match the new version of the operand in the IBM Process Mining Custom Resource Definition (CRD), and add the mandatory attributes of the new version in the custom resource definition.

  1. Log in to the target cluster by running the following commands:

    oc login https://<CLUSTERIP>:<port> -u <ADMINISTRATOR>
    
    oc project <project_name>
    

    Optionally, you can use the following command to open a terminal window and log in to your cluster:

    oc login --token=<LOGIN TOKEN> --server=https://<SERVER URL> 
    

    Note: Do the following steps to get the login command:

    1. Log in to the Red Hat OpenShift Web Console.
    2. Under the profile of the admin user (for example, kubeadmin), click Copy login command > Display Token, copy the command, and paste it in the terminal.
  2. Edit the CRD by using the following command, and then add 1.14.2 to version.enum:

    oc edit crd
    processminings.processmining.ibm.com
    
  3. Change the IBM Process Mining custom resource by running the following command:

    oc edit processmining <processmining_instance_name>
    

    Where <processmining_instance_name> is the IBM Process Mining instance name.

  4. Check the spec.version field, and modify it to match the new version.

  5. Check the status.versions.versions field, and update the new version.

Verifying the upgrade

To verify that IBM Process Mining is correctly upgraded, refer to the steps in Validating installation.

Recovering to last stable running state

To recover to the last stable running state, you must roll back the version as described in the previous step.

Upgrading to an interim fix

When an interim fix is available, you can upgrade IBM Process Mining to a newer interim fix release. For more information, see interim fix readme files.

An interim fix is a code update to resolve security vulnerabilities and on some occasions includes defect fixes. The readme file documents the defects that are resolved along with instructions on how to install it.