Menu

Scenario 2.0 to 2.0.1 Single Server Upgrade Guide for Docker

Overview

In this article, we provide step-by-step instructions to upgrade qTest Scenario from 2.0 to 2.0.1 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 and reference the OnPremise Upgrades Guide.

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

Before You Begin

Read the following:

Note: if you want to upgrade to qTest Scenario 2.0.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 Scenario to 2.0.1

Shutdown your Previous Deployment

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

docker-shutdown.png

$ ./backup

docker-backup.png

Download Deployment Package

1. Download docker-deployment-4.4.1 package.

$ wget <ENTER DOWNLOAD LINK HERE>

2.Extract the package

$ tar -zxf <DOWNLOADED PACKAGE FILE NAME>

3. Access the docker-deployment-4.4.1 directory.

$ cd docker-deployment-4.4.1

Configure qTest Scenario

Choose one of the below options to configure qTest Scenario:

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

$ cp -r /path/to/docker-deloyment-4.4/profiles/ .

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

version = "4.4.1"

docker-4.4.png

2. Another option is to use ./configure command and specify the Scenario application that you want to configure.

  • For HTTP:
    $ ./configure --scenario-url "http://<public IP address of current machine>:<qTest Scenario port>" --scenario-http "<qTest Scenario port>"

parameter-docker-http.png

  • For HTTPS:
    $ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --scenario-url "https://<public IP address of current machine>:<qTest Scenario https port>" --scenario-https "<qTest Scenario https port>"

Start Deployment Process

Next, start the deployment process by executing the startup script which will download application images and qTest Scenario components to the Docker container. It may take a while to complete depending on your network connection.

$ ./startup

parameter-docker-startup.png

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

Troubleshooting 

If the steps above are not successful, perform the following steps to rollback to qTest Scenario 2.0 (docker, images, scenario)

Restore backup data:

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

parameter-docker-restore.png

Start qTest Scenario 2.0.1

# ./startup

parameter-docker-startup-after-restore.png

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

Subscribe To Our Blog
Powered by Zendesk