Removing older Db2 versions after upgrading

You can use OpenShift® commands to remove older versions of the Db2 service after you upgrade to Cloud Pak for Data 4.6.

About this task

Attention: This task is only applicable if you are upgrading from Cloud Pak for Data 3.5.

After you upgrade to 4.6, the web console shows older versions of the Db2 service as still available to use, but you cannot create new databases by using older version. You can use the new version to create new databases.

Important: Before you remove older versions of the service from the console, you must upgrade all service instances to the latest version.

Procedure

Use the following OpenShift commands to remove older versions of the service:
oc delete deploy db2oltp-catalog -n ${PROJECT_CPD_INSTANCE}=namespace
oc delete job db2oltp-catalog-uploadjob -n ${PROJECT_CPD_INSTANCE}=namespace
oc delete svc db2oltp-catalog-system -n ${PROJECT_CPD_INSTANCE}=namespace

Where system is the operating system, one of these values:

  • x86-64: amd64
  • Power®: ppc64le
  • Linux® on System z®: s390x