Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
absoluteUrltrue

...

In this guide we'll run you through installing QMetry Test Management application and QMetry Reporting Tool in a production environment.

Pre-requisites

For additional information on verifying pre-requisites refer this article.

  1. QMetry Instalation is supported only on Linux  - Cent OS 7 and above, and RHEL 7 and above. No other OS is certified for QMetry Installation.
  2. Two Linux Servers are required: One for QMetry Application and the other or QMetry Reporting tool. Refer QMetry Deployment Document for the requirements.
  3. All the servers should have support of these commands: unzip and curl.
  4. Internet access should be enabled on both the servers to install using docker.
  5. Firewall and selinux must be disabled on the server while installing QMetry and Reports.
  6. Ensure Proxy Servers are not blocking downloads from the Internet.
  7. Application and Report servers should be in the same network. Report Server should be able to communicate with Application Server over 80/443 and Database Server 3306/DB Port.
  8. The ports 80/443 and 3306 should be free and should not be in use by other applications.
  9. Docker installation requires root user access. To install using a non-root user, follow the steps specified here before starting the install on both QMetry and Report servers.
  10. Docker is installed under /var/lib/ directory. We recommend allocating enough space here to ensure QMetry has enough space to save your data.
    • Data of QMetry database is saved under : /var/lib/docker/volumes/qmetry85_mysql_data/_data
    • Data of QMetry attachments added is saved under : /var/lib/docker/volumes/qmetry85_qmetry_attachment/_data
  11. Get the following files from QMetry Support : QMetryApp.zip, QMetryReport.zip & credentials required for installation.
  12. Post installation QMetry Application and Report tool both should be configured either on https or http.
  13. If you are planning Jira integration with QMetry and Jira is running on https, make sure your QMetry is also running over https protocol. QMetry and Jira should run on the same protocol.
  14. Following Ports should be open:
InstallationPorts that need to be enabled
QMetry Application80/443 & 3306
QMetry Reporting Tool80/443, 3000 & 56982


Installing QMetry Application

This is the most straightforward way to get your production site up and running on a Linux server.

...

Step 6. Additional Tomcat Configuration: QMetry is installed with a default configuration of minimum and maximum heap memory utilization. You can modify these settings depending on your hardware configuration. Refer Additional Configuration for more details.

Installing QMetry Reporting Tool

Step 1. Copy the QMetryReport.zip installation file received from QMetry Support to your server and unzip it. Navigate to the directory where these files are saved.

...

OptionsType Comments / example
Enter Mysql Database Host IP / DNS NameMandatoryQMetry DB Host Public IP/DNS, example: 10.10.11.100
Enter Mysql Database PortMandatoryQMetry DB Port, example: 3306
Enter Mysql Database SchemaMandatoryName of existing QMetry Application DB, example: qmetry
Enter Mysql Database UserNameMandatoryQMetry DB Username, example: root
Enter Mysql Database PasswordMandatoryQMetry DB Password
Enter SMTP HostNameOptionalSMTP Server Host IP/DNS, for sending report emails
Enter SMTP From EmailOptionalFrom email address that appears while emails are received
Enter SMTP Authentication PasswordOptionalSMTP Server Authentication Password (hit enter if no password is required)
Enter SMTP PortOptionalSMTP Server Port, example: 587
Enter Qmetry Application Service URL with Port No. (http://demo.qmetry.com)MandatoryComplete QMetry URL, example : http://demo.qmetry.com

Do you have configured Load Balancer for Report Server? Y/N

MandatoryY/N

Do you have https (SSL) configured for Report Server (Y/N) ?

In case of having Load Balancer, consider SSL of Load Balancer.

MandatoryY/N

Mention DNS/IP Address (accessible in network) of Report Server. In case of Load Balancer, specify DNS of Load Balancer.

MandatoryReport Server's DNS/IP Address, example:<ReportServerIP/DNS>

Enter IP Address of QMetry & Report Server (Add Multi IP Address separated by comma. If you have Load Balancer, then enter subnet IP range).

Mandatory

QMetry App and Report Server IP Addresses, comma separated without space.

If you have Load Balancer or range of IP, then you need to allow range. For example, to allow all addresses in the range of 172.16.*.*, specify:

172.16.0.0 0.0.255.255

...

  • Go to "Admin" Profile and Edit the Profile.
  • Update QMetry Base URL and Report Server URL
    • The ports must be mentioned in the URL if QMetry URL OR Report URLs are running on ports other than 80/443 (example 8080).




Installing Redis Caching Server

With the release of v8.5.2, QMetry is providing capability of installing Redis server. Overall performance and scalability can be improved using Redis caching. To install the Redis Server, refer to Installing Redis Caching Server.

...