Removing older Db2 Warehouse versions after upgrading

You can use OpenShift® commands to remove older versions of the Db2 Warehouse 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 Warehouse 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 db2wh-catalog -n ${PROJECT_CPD_INSTANCE}
oc delete job db2wh-catalog-uploadjob -n ${PROJECT_CPD_INSTANCE}
oc delete svc db2wh-catalog-system -n ${PROJECT_CPD_INSTANCE}

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

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