Trilio for Red Hat Virtualization
3.7
3.7
  • About TrilioVault for RHV
  • TrilioVault for RHV Architecture
  • TrilioVault 3.7 Release Notes
  • TrilioVault 3.7 Support Matrix
  • Deployment Guide
    • Requirements
    • Preparing the Installation
    • Spinning up the TrilioVault VM
    • Configure TrilioVault VM
    • Installation of ovirt-imageio extensions
    • Post Installation Health-Check
    • Uninstall TrilioVault
    • Upgrade TrilioVault
  • User Guide
    • Workloads
    • Snapshots
    • Restores
    • File Search
    • Snapshot mount
    • Global Job Scheduler
  • Troubleshooting
    • Important TVM Logs
    • Important RHV-Manager Logs
    • Important RHV-Host Logs
Powered by GitBook
On this page
  • Preparing the inventory files
  • Using password authentication
  • Using passwordless authentication (SSH keys)
  • Starting the installation
  • Using password authentication
  • Using passwordless authentication (SSH keys)

Was this helpful?

Export as PDF
  1. Deployment Guide

Installation of ovirt-imageio extensions

TrilioVault extends the ovirt-imageio services running on the RHV-Manager and the RHV hosts, to provide the parallel download of disks from multiple RHV hosts.

The imageio extensions are getting installed automatically using Ansible playbooks provided on the TrilioVault Appliance.

Every time the RHV environment gets updated or a new RHV host is getting added to the RHV Cluster it is necessary to rerun the installation of the ovirt-imageio extensions.

Preparing the inventory files

Ansible playbooks are working with inventory files. These inventory files contain the list of RHV-Hosts and RHV-Managers and how to access them.

To edit the inventory files, open the following files for the server type to add.

For the RHV hosts open: /opt/stack/imageio-ansible/inventories/production/daemon For the RHV Manager open: /opt/stack/imageio-ansible/inventories/production/proxy

Using password authentication

The first supported method to allow Ansible to access the RHV hosts and the RHV Manager is the classic user password authentication.

To use password authentication edit the files using the following format:

<Server_IP> ansible_user=root password=xxxxx

One entry per RHV Host in daemon file and one entry per RHV Manager in the proxy file are required.

Using passwordless authentication (SSH keys)

The second supported method to Allow Ansible to access the RHV hosts and the RHV Manager is utilizing SSH keys to provide passwordless authentication.

For this method, it is necessary to prepare the TrilioVault Appliance and the RHV Cluster Nodes as well as the RHV Manager.

The recommended method from Trilio is:

  1. Use ssh-keygen to generate a key pair

  2. Add the private key to /root/.ssh/ on the TrilioVault Appliance

  3. Add the public key to /root/.ssh/authorized_keys file on each RHV host and the RHV Manager

Once the TrilioVault Appliance can access the nodes without password, edit the inventory files using the following format:

<Server_IP> ansible_user=root

One entry per RHV Host in the daemon file and one entry per RHV Manager in the proxy file are required.

Starting the installation

To install the ovirt-imageio extensions go to:

/opt/stack/imageio-ansible

Depending on the method of authentication prepared in the inventory files, different commands need to be used to start the Ansible playbooks.

Using password authentication

To call the Ansible playbooks when the inventory files use password authentication run.

For RHV Hosts: ansible-playbook site.yml -i inventories/production/daemon --tags daemon For RHV Manager: ansible-playbook site.yml -i inventories/production/proxy --tags proxy

Using passwordless authentication (SSH keys)

To call the Ansible playbooks when the inventory files use passwordless authentication run.

For RHV Hosts: ansible-playbook site.yml -i inventories/production/daemon --private-key ~/.ssh/id_rsa --tags daemonFor RHV Manager:ansible-playbook site.yml -i inventories/production/proxy --private-key ~/.ssh/id_rsa --tags proxy

Ansible shows the output of the running playbook. Do not intervene until the playbook has finished.

PreviousConfigure TrilioVault VMNextPost Installation Health-Check

Last updated 4 years ago

Was this helpful?