Upgrading the server software by using the in-place upgrade method
When you want to install the latest version of the server software in the same location that contained the 10.1.3 or later, then you can upgrade Rational® Test Automation Server by using the helm upgrade command.
Before you begin
-
You must have read and been familiar with additional Helm parameters. See Additional Helm parameters.
-
You must have completed the following tasks:
-
Informed users that Rational® Test Automation Server is offline temporarily during the upgrade process.
-
Installed Helm. For more information, refer to the Installing a Helm chart on an Red Hat OpenShift Container Platform cluster section in the Red Hat OpenShift documentation.
-
Completed all test executions that are running on the existing version of Rational® Test Automation Server.
-
Stopped all stub executions that are running on the existing version of Rational® Test Automation Server.
-
Canceled any scheduled test runs that have a future date or time.
-
Copied an Entitlement key from the Container software library to pull the images used by the server software. For more information, refer to Creating an API key.
-
Optional. You can back up the user data from the previous version of the product. If the upgrade fails, then you can use that backup file to restore it on latest version of the server software. See Backing up the server data on Red Hat OpenShift.
For more information about specific versions of software requirements, see System Requirements.
About this task
The following table lists the variables that you must replace with the actual value in the command.
Variables | Description |
---|---|
{your_entitlement_key} |
The key that you copied from the Container software library. |
{example@abc.com} |
The email address of the administrator if required. |
{my-rtas} |
The release name that you provided during the installation of the server software. |
{openshift-cluster-dns-name} |
The ingress DNS name that you selected for the server. You can run the following command to obtain the default value of
{openshift-cluster-dns-name}:
|
{password-seed} |
The password that you provided during the installation of the server software. |
helm get values {release_name} -n {namespace}
For example, if your name of the release is my-rtas and the name of the namespace is testsystem, then you must run the command as follows:
helm get values my-rtas -n testsystemProcedure
- Log in to your OCP cluster as a cluster administrator by running the oc login command.
-
Add the entitlement registry to Helm to
access the server install charts by running the following
command:
helm repo add ibm-helm https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm
-
Run the following command to get the latest updates from the repository:
helm repo update
-
Run the following command to retrieve the charts:
helm pull --untar ibm-helm/ibm-rtas-prod --version 8.1023.0
-
Create a Secret to pull images that are used by Rational® Test Automation
Server by running the
following commands:
oc create secret docker-registry cp.icr.io \ -n test-system \ --docker-server=cp.icr.io \ --docker-username=cp \ --docker-password={your_entitlement_key} \ --docker-email={example@abc.com}
-
Perform the following steps to upgrade the server
software:
-
Run the following command to verify and test the upgraded
server software:
ibm-rtas-prod/files/helm-test-diag.sh {my-rtas} -n test-system
Results
-
Keycloak URL to manage and authenticate users.
-
A URL to access the Rational® Test Automation Server UI.
What to do next
-
Configure licenses for team spaces. See Configuring licenses for team spaces.
-
Configure the server software. See Configuration of the server software.