# Preparing the Installation

TrilioVault for RHV integrates tightly into the RHV environment itself.\
This integration requires preparation before the installation starts.

## Installing Redis

TrilioVault is capable of parallel disk transfer from multiple RHV-Hosts at the same time.

This capability is requiring a task queue system, [Python Celery](http://www.celeryproject.org/).

Python Celery requires a message broker system like RabbitMQ or Redis.\
TrilioVault uses the Redis message broker.

RHV does not include Redis, so installation is necessary.

{% hint style="info" %}
Redis is not available from a Red Hat repository yet. The Fedora EPEL repository provides the needed packages.
{% endhint %}

The following steps install Redis:

1. Add the Fedora EPEL Repository`# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm`&#x20;
2. Install Redis \
   `# yum install redis`
3. Start Redis \
   `# systemctl start redis.service`
4. Enable Redis to start on boot\
   &#x20;`# systemctl enable redis`
5. Check Redis status\
   &#x20;`# systemctl status redis.service`

## Creation of the base VMs

The TrilioVault for RHV software Controller Cluster is getting installed on top of the 3 VMs, that need to be provided. These VMs need to fulfill the following requirements.

| Ressource        | Value  |
| ---------------- | ------ |
| vCPU             | 6      |
| RAM              | 16 GB  |
| Disk             | 100 GB |
| Operating System | RHEL 8 |

These VMs can be created by any means.

## Required OS configuration

The RHEL8 provided requires the following configuration.

* Python3 installed
* firewalld disabled
* selinux disabled

Keeping the firewalld and selinux services enabled can lead to unstable Kubernetes cluster communication, which will then lead to failed TrilioVault services.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trilio.io/rhv/deployment-guide/preparing-the-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
