Menu

Session 4.1 to 4.2 Single Server Upgrade Guide for Docker

Overview

In this article, we provide step-by-step instructions to upgrade qTest Sessions 4.1 to 4.2 on a separate 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

  • qTest Sessions 4.2 only works with qTest Manager 9.1.5 or later. 

Read the following:

Upgrade qTest Sessions to 4.2

Shutdown the Previous Deployment

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

Download the Deployment Package

  1. Download docker-deployment-4.5 package.
    $ wget <ENTER DOWNLOAD LINK HERE>
  2. Extract the package.
    $ tar -zxf <DOWNLOADED PACKAGE FILE NAME>
  3. Access the docker-deployment-4.5 directory.
    $ cd docker-deployment-4.5

Configure qTest Sessions

Choose one of the two options below to configure qTest Sessions:

  1. Copy configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.5 package.
    $ cp -r /path/to/docker-deloyment-4.4/profiles/ /path/to/docker-deployment-4.5/
    • Above command will copy the old configuration file at /docker-deployment-4.4/profiles/default.in to /docker-deployment-4.5/profiles/default.in
    • Next, open the file at /path/to/docker-deployment-4.5/profiles/default.in, locate and change the version value to 4.5, as below:
      version = "4.5"
  2. Another option is to use ./configure command and specify sessions application that you want to configure.
    • For HTTP:
      $ ./configure --sessions-url "http://<public IP address of current machine>:<qTest Sessions port>" --sessions-http "<qTest Sessions port>"
    • For HTTPS:
      $ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --sessions-url "https://<public IP address of current machine>:<qTest Sessions https port>" --sessions-https "<qTest Sessions https port>"

Upgrade qTest Sessions

Execute the command below to upgrade qTest Sessions:

$ ./upgrade

Start Deployment Process

  1. Start the deployment process by executing startup script which will download application images and qTest Sessions components to the Docker container.
    Note: It may take a while to complete depending on your network connection.
    $ ./startup
  2. When it's done, you can access qTest Sessions and verify the new version.

Troubleshooting 

If the installation was not successful, perform the following steps to rollback to qTest Sessions 4.0.2 (docker, images, sessions, sessionslb)

  1. Restore backup data:
    # cd /path/to/docker-deployment-4.4
    # ./restore
    # ./startup
  2. When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Sessions.

 

Powered by Zendesk