Upgrading the IBM Process Mining application
Prerequisites
You can upgrade the IBM Process Mining application from version 2.1.1 to version 2.2.0. The following instructions are applicable to both CP4BA and non-CP4BA environments. Do the following steps to update the namespace for IBM Process Mining:
- Set the
PM_PROJECTvariable to your namespace with the following command:export PM_PROJECT=<'YOUR-NAMESPACE'> - Verify the current IBM Process Mining version with the following
command:
oc get csv -n $PM_PROJECT | grep processmining - Delete the catalog source with the following
command:
oc delete catalogsource ibm-automation-processminings -n $PM_PROJECT - Upgrade the IBM Process Mining Operator catalog with the following command:
cat <<EOF | oc apply -f - apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: ibm-automation-processminings namespace: ${PM_PROJECT} spec: displayName: ibm-process-mining-4.2.0 publisher: IBM sourceType: grpc image: icr.io/cpopen/processmining-operator-catalog@sha256:cc2d6286fce49a84f9d9c24170d9a267158a91bfd104c8173de2f9efc8d94076 updateStrategy: registryPoll: interval: 45m EOF - Verify that the catalog source is ready with the following
command:
oc get catalogsource ibm-automation-processminings -n ${PM_PROJECT} -o jsonpath='{.status.connectionState.lastObservedState}'Wait until the output is
READYbefore proceeding to the next step. - Create the subscription with the following
command:
cat <<EOF | oc apply -f - apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: processmining-subscription namespace: processmining spec: channel: v4.0 installPlanApproval: Automatic name: ibm-automation-processmining source: ibm-automation-processminings sourceNamespace: processmining EOF - Check the status of the processmining operator with the following
command:
oc get csv -n $PM_PROJECT | grep processminingYou should see the following message:
You can now verify if Redis upgrade was successful. For more information, see Upgrading the dependencies.ibm-automation-processmining.v4.2.0 IBM Process Mining 4.2.0 ibm-automation-processmining.<previous_operator> Succeeded