Menu

Parameters 2.1.2 to 2.1.7 Single Server Upgrade Guide for Docker

Overview

In this article, we provide step-by-step instructions to upgrade qTest Parameters from 2.1.2 to 2.1.7 on a single CentOS/Ubuntu machine using Docker. Please read the instructions thoroughly before starting your installations.

To request assistance with upgrading or obtain the self-upgrade links, complete the Upgrade Request Form.

Note: If you are performing a fresh install, use the OnPremise New Install Form and reference the OnPremise Install Guide.

Before You Begin

  • qTest Parameters 2.1.7 only works with qTest Manager 9.3 or later.

Read the following:

Note: if you want to upgrade to qTest Parameters 2.1.7 on the same machine with other applications, e.g. qTest Manager, on Docker environment, follow this article Manager 9.1.5 to 9.3 Single Server Upgrade Guide for Docker

Shutdown your Previous Deployment

  1. Open Terminal.
  2. Access to the directory where you extracted the previous docker deployment package 4.5, shut it down and create a backup.
    $ ./shutdown

2018-06-06_1158.png

$ ./backup

2018-06-06_1203.png

Download Deployment Package

1. Download docker-deployment-4.6 package.

$ wget <ENTER DOWNLOAD LINK HERE>

2.Extract the package

$ tar -zxf <DOWNLOADED PACKAGE FILE NAME>

3. Access to docker-deployment-4.6 directory

$ cd docker-deployment-4.6

Configure qTest Parameters

Choose one of the below options to configure qTest Parameters:

  1. Copy configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.6 package.

$ cp -r /path/to/docker-deployment-4.5/profiles/ .

  • Above command will copy the old configuration file at /docker-deployment-4.5/profiles/default.in to /docker-deployment-4.6/profiles/default.in
  • Next, open the file at /path/to/docker-deployment-4.6/profiles/default.in, locate and change the version value to 4.6, as below:

version = "4.6"

2018-06-06_1212.png

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>"

2018-06-06_1215.png

  • 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:

$ ./upgrade

2018-06-06_1254.png

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.

$ ./startup

2018-06-06_1258.png

When it's done, you can access qTest Parameters and verify the new version.

Set up qTest Applications

Please follow this guide: Configure qTest Applications to complete the remaining steps to activate your account.

Troubleshooting 

If the steps above are not successful, perform the following steps to rollback to qTest Parameters 2.1.2 (docker, images, parameters, parameterslb)

Restore backup data

# cd /path/to/docker-deployment-4.5
# ./restore

2018-06-06_1311.png

Start qTest Parameters 2.1.2

# ./startup

2018-06-06_1314.png

When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Parameters.

Powered by Zendesk