Getting started with Trilio on RedHat OpenStack Platform (RHOSP)
1. Prepare for deployment
1.1] Select 'backup target' type
1.2] Clone triliovault-cfg-scripts repository
1.3] Set executable permissions for all shell scripts
1.4] If the backup target type is 'Ceph based S3' with SSL:
1.5] If the VM migration feature needs to be enabled:
1.5.1] Copy the VMware vSphere Virtual Disk Development Kit 7.0
1.5.2] For secure connection with the vCenter
2] Update the overcloud roles data file to include Trilio services
2.1] Add Trilio Datamover Api and Trilio Workload Manager services to role data file
2.2] Add Trilio Datamover Service to role data file
3] Prepare Trilio container images
3.1] Remote Registry
3.2] Local Registry
3.3] Red Hat Satellite Server
4] Provide environment details in trilio-env.yaml
Parameter
Description
4.1] For enabling the VM migration feature, populate the below mentioned parameters
Parameters
Description
5] Generate random passwords for TrilioVault OpenStack resources
5.1] Change the directory and run the script
5.2] Output will be written to the below file.
6] Fetch ids of required OpenStack resources
6.1] User needs to source 'overcloudrc' file of cloud admin user. This is needed to run OpenStack CLI.
6.2] User must have filled in the cloud admin user details of overcloud in 'trilio_env.yaml' file in the 'Provide environment details in trilio-env.yaml' section. If not please do so.
6.3] Cloud admin user should have admin role on cloud admin domain
6.4] After this, user can run the following script.
7] Load necessary Linux drivers on all Controller and Compute nodes
7.1] Install nbd module
7.2] Install fuse module
8] Upload Trilio puppet module
8.1] Source the stackrc
8.2] The following commands upload the Trilio puppet module to the overcloud registry. The actual upload happens upon the next deployment.
9] Deploy overcloud with Trilio environment
9.1] Include the environment file defaults.yaml in overcloud deploy command with `-e` option as shown below.
defaults.yaml in overcloud deploy command with `-e` option as shown below.9.2] Additionally include the following heat environment files and roles data file we mentioned in the above sections in an overcloud deploy command:
10] Verify deployment
11] Troubleshooting for overcloud deployment failures
12] Advanced Settings/Configuration
12.1] Configure Multi-IP NFS
i] On Undercloud node, change the directory
ii] Edit file triliovault_nfs_map_input.yml in the current directory and provide compute host and NFS share/IP map.
triliovault_nfs_map_input.yml in the current directory and provide compute host and NFS share/IP map.iii] Update pyyaml on the undercloud node only
iv] Validate output map file
v] Append this output map file to triliovault-cfg-scripts/redhat-director-scripts/<RHOSP_RELEASE_DIRECTORY>/environments/trilio_nfs_map.yaml
triliovault-cfg-scripts/redhat-director-scripts/<RHOSP_RELEASE_DIRECTORY>/environments/trilio_nfs_map.yamlvi] Include the environment file (trilio_nfs_map.yaml) in overcloud deploy command with '-e' option as shown below.
trilio_nfs_map.yaml) in overcloud deploy command with '-e' option as shown below.vii] Ensure that MultiIPNfsEnabled is set to true in the trilio_env.yaml file and that NFS is used as a backup target.
MultiIPNfsEnabled is set to true in the trilio_env.yaml file and that NFS is used as a backup target.viii] After this you need to run the overcloud deployment.
12.2] Haproxy customized configuration for Trilio dmapi service
12.3] Configure Custom Volume/Directory Mounts for the Trilio Datamover Service
12.4] Advanced Ceph Configration (Optional)
Last updated
Was this helpful?
