Installing Redis Caching Server (RHEL8 & Podman)

  • This documentation is for installation of Redis only on RHEL8 OS.

  • QMetry is supporting Redis from version 7.0.10 onwards. Currently, the podman will be installed with Redis version 7.0.10.

Before you proceed with the installation

In case of offline installation

Step 1. Install podman and podman-compose tools. You can follow the steps mentioned in the Podman and Podman-Compose Installation section to install the tools. However, it is not mandatory to follow these specific guidelines for the installation of the tools.

Step 2. Download podman images of QMetry products.

Refer to https://qmetrysupport.atlassian.net/wiki/spaces/QTMSv816/pages/3541047115Follow these steps on a machine where the internet is accessible so that the podman images can be downloaded on it.

Step 3. Restore the podman images of QMetry products on specific machine where the installation is to be carried out.

Refer to Restore the Container Images of QMetry Products

In case of rootless installation

Note: It is mandatory to follow the steps mentioned for Podman and  Podman-Compose Installation.

Pre-requisites

  • All the servers should have the support of these commands: unzip, yum and curl.

  • Internet access should be enabled on both servers to install using podman, in case of online installation.

  • Ensure Proxy Servers are not blocking downloads from the Internet.

  • Podman and podman-compose utilities should be installed using the root user.

  • One additional Linux server is required for Redis Caching Server. Refer QMetry Deployment Document for the requirements.

  • Get the QMetryRedis.zip file from QMetry Support.

  • The port 6379 should be free and should not be in use by other applications.

Steps

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

  • unzip QMetryRedis.zip

  • cd QMetryRedis

Step 2. Execute the following commands.

  • sudo su

  • chmod +x qmetry.sh

  • sh qmetry.sh

The next question during the installation process will be as follows.

Options

Allowed Values

Default Value

Recommended Value

Options

Allowed Values

Default Value

Recommended Value

Do you want to make an online installation (Y/N)?

Y, y, N, n

Y

Y

 You will be asked for credentials. Enter the podman credentials provided by the support team.

The installation may take a while. Once the installation is complete, execute the following command.

  • podman ps

The following message will be displayed.

Step 3. After the above steps are completed, log into the QMetry application.

  • Go to "Admin" Profile and Edit the Profile.

  • Update QMetry Redis URL

For more details on Redis, visit https://redis.io/

Configure the Redis with QMetry Application as mentioned in Step 3. If you are facing any issues from the QMetry Application side after Step 3, then you may be required to restart the QMetry Application docker container after Step 3.

If you are facing any issues during the installation process, kindly generate a support ticket on Support Portal for assistance.