Versions Compared

Key

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

Table of Contents
maxLevel2
absoluteUrltrue

...

For additional information on verifying pre-requisites refer this articleThis installation installs QMetry over Apache Tomcat 9.x, MySQL v5.7.29 and Open JDK 11 in a docker container.

  1. QMetry Installation is supported only on Linux  - Cent OS 7 and 8, and RHEL 7 and 8. No other OS is certified for QMetry Installation.
  2. Three Linux Servers are required: QMetry Database, QMetry Application, and QMetry Reporting tool. These three servers should be on the same network and able to communicate with each other. Refer QMetry Deployment Document for the requirements. All the servers should have support of these commands: unzip, wget, curl and vim.
  3. Internet access should be enabled on all 3 servers to install using docker.
  4. Firewall and selinux must be disabled on the server while installing QMetry and Reports.
  5. Ensure Proxy Servers are not blocking downloads from the Internet.
  6. Application, DB and Report servers should be in the same network. QMetry and Report Servers should be able to communicate over 80/443 and Database Server 3306/DB Ports. Ports 8080 and 33061 should be enabled/open on Reports Server to allow connections from QMetry application server.
  7. The ports 80/443 and 3306 on the respective servers should be free and should not be in use by other applications. QMetry App server should be able to communicate with the reports server on port 33061.
  8. 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.
  9. 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/qmetry_mysql_data/_data
    • Data of QMetry attachments added is saved under : /var/lib/docker/volumes/qmetry_attachment/_data
  10. Get the following files from QMetry Support : QMetryApp.zip, QMetryRDS.zip, Spark_Report_Install.zip and docker credentials required for installation. Post installation, QMetry Application and Report tool both should be configured either on https or http.
  11. 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.
  12. Following Ports should be open:

...

Setting up QMetry DB Server

Step 1. Copy the QMetryRDS.zip file received from QMetry Support to your database server. Navigate to the directory where this file is kept and execute the following commands.

...

  1. For users evaluating QMetry
    • You should have received an evaluation license valid for 30 days along with the installation.
  2. For users requiring commercial license
    • Server's domain name and mac address are required to generate your QMetry License. Follow the below steps to get your server mac address and send this information along with the domain name to QMetry Support to get your QMetry License generated. Send an email to qtmprofessional@qmetrysupport.atlassian.net to reach QMetry Support.
      • Execute the below command to get your server mac address. Then send the MAC address to QMetry Support to receive license file.
        • ifconfig (MAC address of Ethernet card e.g. eth0/eth1 )
      • Once you receive license.key from QMetry Support, you can follow the Steps to Apply License file.

Step 6. Access QMetry application using the following address.

...

Once the script finishes executing it will prompt to enter the following parameters

OptionsDetailsExample
Enter Mysql Database Host IP / DNS Name (Qmetry)QMetry DB Host Public IP/DNS10.10.11.100
Enter Mysql Database Port (Qmetry)QMetry App MySQL DB Port. Enter 3306, unless QMetry DB port is different3306
Enter Mysql Database Schema (Qmetry)QMetry App DB schema name. Enter : qmetryqmetry
Enter Mysql Database Username (Qmetry)QMetry App DB username. Enter : rootroot
Enter Mysql Database Password (Qmetry)QMetry App DB password. If it is unchanged from default, enter : qmetryqmetry
Enter Mysql Database Host IP / DNS Name (Reports)Enter the static docker IP : 10.5.0.7 as the IP address of QMetry Reports server10.5.0.7
Enter Mysql Database Port (Reports)Enter the port where reports DB is running. Enter : 3306

3306

Enter Mysql Database Schema (Reports)Enter the database schema name of QMetry Reports DB - qtmanalytics
Enter Mysql Database Username (Reports)Enter username of QMetry Reports DBroot
Enter Mysql Database Password (Reports)Enter password of QMetry Reports DB - qmetryreports@!Nf0#qmetryreports@!Nf0#
Enter Port To Start SyncJob (Reports)Reports Sync Job runs from this port : 80808080
Do you want to Run Force Sync Now ? (y/n)Enter to sync all the QMetry data to Reports DB with the current script. Always enter y at the time of fresh reports installType : y
Enter Memory to allocate in GB(s) to SparkEntered memory would be used by the sync job while running a full sync of data. Enter 3/4th of total memory available on server. For example, if memory on server is 24 GB, enter 1818

...

After waiting for about a minute, command docker ps should return the following : 

Image Modified

Step 4 - Restart Reports Services

...