The next step in the installation process is to install the Trilio Nova API extension on each of the Nova API controller nodes. The purpose of the API extension is to route RESTful API calls to a Trilio Data Mover (which will be discussed next).
In case of multiple Controller nodes it is necessary to repeat these steps on all controller nodes running the Nova API service.
To install the Trilio Nova Extension on each Nova controller node, follow these steps after logging into a controller node.
Once the script has been started does it prompt for the following information:
Trilio IP This IP will be used to download the Trilio Nova API Extension pip packages.
Request whether the script is running on a Controller or Compute Node To install the Trilio Nova API Extension choose Controller
The Trilio Nova API extension is a download from Trilio appliance and installed on the controller node. After installation, the Nova-API service is restarted to load the Trilio Nova API extension into Nova-API process so Nova-API now can handle Data Mover requests from the Trilio appliance.
Now it is time to install the Trilio Data Mover service on the compute nodes where the Nova Compute service is running. The purpose of the Data Mover service is, as the name says, to move the actual disk data to and from the backup target.
The Trilio Data Mover needs to be installed on all Compute Nodes to guarantee the possible protection of all VMs running inside the Openstack Cluster.
To install the Trilio Data Mover on a Compute node, follow these steps after logging into a compute node.
At this point it is possible to run the installation either in an automated fashion or in an interactive mode.
The following command will start the interactive installation.
Once the script has been started does it prompt for the following information:
Trilio IP This IP will be used to download the Trilio Nova API Extension pip packages.
Request whether the script is running on a Controller or Compute Node To install the Trilio Data Mover service choose Compute Node.
Request of the path to the compute.filters file Choose matching your distribution or provide the exact path.
Acceptance of Trilio changing the sudoers file for nova
nova ALL = (root) NOPASSWD: /home/tvault/.virtenv/bin/privsep-helper *
Choose between NFS or S3 as backup target
In case of NFS
Provide the NFS Volume path
check and change the default NFS options if necessary
In case of S3
Choose the S3 profile to be used
provide access credentials according to the chosen profile
The Trilio Data Mover can be installed in an unattended way using a configuration file. The configuration file contains all the data that is required while the script is being executed.
The first step for the automated installation is to generate the answers file. A predefined file can be downloaded from any Trilio VM.
Edit tvault-contego-install.answers file as required for compute nodes. An example can be seen below:
Once the answersfile has been created can it be used to run the Data Mover installation unattended, which allows the automation of the installation process.
At the end of the installation is the Data Mover service deactivated.
To start the service using the installation script run:
Alternatively can the operating system service control commands be used to start the service tvault-contego.service
The last component to install is the Trilio Horizon Plugin on the Controllers where the Openstack Horizon service is running. The purpose of the Horizon Plugin is, to provide the native integration of TrlioVault into the GUI of Openstack.
To install the Trilio Horizon Plugin on each Openstack Horizon controller node, follow these steps after logging into a controller node.
The installation of the Trilio Horizon Plugin will restart the Openstack Horizon service.