Upgrading shared cluster components (Upgrading from Version 5.1 to Version 5.2)
Before you upgrade IBM® Software Hub, you must upgrade the License Service and scheduling service. If the IBM Certificate manager is installed on the cluster, you must also upgrade the Certificate manager.
- Upgrade phase
-
Updating your client workstation
Collecting required information
Preparing to run an upgrade in a restricted network
Preparing to run an upgrade from a private container registry
Upgrading prerequisite software
Upgrading shared cluster components
Preparing to upgrade an instance
Upgrading an instance
- Who needs to complete this task?
-
Cluster administrator A cluster administrator must complete this task.
Remember: If you gave another user the minimum role-based access control (RBAC) to install the scheduling service and you want that user to upgrade the scheduling service, you must complete Giving a user the minimum RBAC to install the scheduling service before you complete this task. - When do you need to complete this task?
-
One-time setup You must complete this task before you upgrade IBM Software Hub.
If you have multiple instances of IBM Software Hub on the cluster, it is strongly recommended that you upgrade the shared components to the same release as the latest version of IBM Software Hub that you plan to install on the cluster.
Before you begin
In addition, ensure that you source the environment variables before you run the commands in this task.
About this task
- IBM Cloud Pak foundational services Certificate manager (IBM Certificate manager)
- If you are using the Red Hat®
OpenShift®
cert-manager, the IBM Cloud Pak foundational services Certificate manager upgrade will be skipped.If you're not sure whether the IBM Certificate manager is installed on the cluster, run the following command:oc get csv | grep ibm-cert-manager- If the IBM Certificate manager is installed, the command returns information about the project where the Certificate manager is installed and the version that is installed.
- If the IBM Certificate manager is not installed, the command returns an empty response.
- License Service
- The location of the License Service
depends on whether you installed IBM Software Hub or whether you upgraded an instance of IBM Cloud Pak® for Data that you previously migrated to the
private topology.
- If you installed IBM Software Hub, the
License Service is in the project defined by
the
${PROJECT_LICENSE_SERVICE}environment variable. - If you upgraded from IBM Cloud Pak for Data,
the location of the License Service depends
on how you installed IBM Cloud Pak for Data:
- If you installed with the private topology, the License Service is in the project defined by the
${PROJECT_LICENSE_SERVICE}environment variable. - If you migrated to the private topology, the License Service is in the project defined by the
${PROJECT_CS_CONTROL}environment variable.
- If you installed with the private topology, the License Service is in the project defined by the
If you're not sure which project the License Service is in, run the following command:
oc get deployment -A | grep ibm-licensing-operatorCompare the project that is returned by the command to the projects that are in your installation environment variables script.
- If you installed IBM Software Hub, the
License Service is in the project defined by
the
- Scheduling service
- If you're not sure whether the scheduling service is installed on the cluster, run the following command: