In this article, we provide step-by-step instructions to upgrade qTest Parameters from 1.1 to 2.1 on a single CentOS/Ubuntu machine using Docker. Please read the instructions thoroughly before starting your installations.
Before You Begin
- qTest Parameters 2.1 only works with qTest Manager 9.0 or later.
Read the following:
- Getting Started with qTest OnPremise Spring 2018
- Prerequisite Software for Manager 9.0 Installation Guide for Windows
- Recommended Hardware Requirements
Note: if you want to upgrade to qTest Parameters 2.1 on the same machine with other applications, e.g. qTest Manager, on Docker environment, follow this article Manager 8.7.3 to 9.0 Single Server Upgrade Guide for Docker.
Upgrade qTest Parameters to 2.1
Shutdown your previous deployment
- Open Terminal.
- Access to the directory where you extracted the previous docker deployment package 4.3, shut it down and create a backup.
Download Deployment Package
1. Download docker-deployment-4.4 package.
$ wget <ENTER DOWNLOAD LINK HERE>
2.Extract the package
$ tar -zxf <DOWNLOADED PACKAGE FILE NAME>
3. Access to docker-deployment-4.4?? directory
$ cd docker-deployment-4.4
Configure qTest Parameters
Choose one of the below options to configure qTest Parameters:
- Copy configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.4 package.
$ cp -r /path/to/docker-deloyment-4.3/profiles/ .
- Above command will copy the old configuration file at /docker-deployment-4.3/profiles/default.in to /docker-deployment-4.4/profiles/default.in
- Next, open the file at /path/to/docker-deployment-4.4/profiles/default.in, locate and change the version value to 4.4, as below:
version = "4.4"
2. Another option is to use ./configure command and specify parameters application that you want to configure.
- For HTTP:
$ ./configure --parameters-url "http://<public IP address of current machine>:<qTest Parameters port>" --parameters-http "<qTest Parameters port>"
- For HTTPS:
$ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --parameters-url "https://<public IP address of current machine>:<qTest Parameters https port>" --parameters-https "<qTest Parameters https port>"
Upgrade qTest Parameters
Execute the command below to upgrade qTest Parameters:
Start Deployment Process
Next, start deployment process by executing startup script which will download application images and qTest Parameters components to the Docker container. It may take a while to complete depending on your network connection.
When it's done, you can access qTest Parameters and verify the new version.
If the steps above are not successful, perform the following steps to rollback to qTest Parameters 1.1 (docker, images, parameters, parameterslb)
Restore backup data:
# cd /path/to/docker-deployment-4.3
Start qTest Parameters 1.1
When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Parameters.