Please follow the below steps to add new backup target on RHOSO18.
1] Mount Backup target on Trilio Control Plane
Navigate to trilio ctlplane-scripts directory
cd /PATH/TO/triliovault-cfg-scripts/redhat-director-scripts/rhosp18/ctlplane-scripts
Plan which type of backup target you want to add. T4O supports two types of backup targets.
nfs
s3
If you want to add backup target of type 'nfs' then edit the following yaml file and create TVOBackupTarget resource.
vi tvo-backup-target-cr-nfs.yaml
oc apply -f tvo-backup-target-cr-nfs.yaml
If you want to add backup target of type 's3' then edit the following yaml file. If your S3 is amazon s3 then edit following file and create TVOBackupTarget resource
vi tvo-backup-target-cr-amazon-s3.yaml
oc apply -f tvo-backup-target-cr-amazon-s3.yaml
If your S3 is of any other type edit following file and create TVOBackupTarget resource
vi tvo-backup-target-cr-other-s3.yaml
oc apply -f tvo-backup-target-cr-other-s3.yaml
Check deployment progress
oc get pods -n trilio-openstack
oc get daemonsets -n trilio-openstack
2] Mount Backup target on Trilio Data Plane
Navigate to data plane scripts directory
cd /PATH/TO/triliovault-cfg-scripts/redhat-director-scripts/rhosp18/dataplane-scripts/
Create templates needed for adding backup targets. Please note that use unique backup target name for parameter <BACKUP_TARGET_NAME>. You should not have used this backup target name earlier for any other trilio backup target. For parameter <BACKUP_TARGET_TYPE>, valid choices are ‘s3' and 'nfs’
A new directory gets created with backup target name having necessary templates. You can list these templates.
cd <BACKUP_TARGET_NAME>/
ls -ll
Backup target name gets set in all the yaml files created in this directory. BACKUP_TARGET_NAME gets converted to all small case and if any underscore ‘_' character is there in it, it gets replaced by hyphen character '-'. Add backup target details to template
Change to <BACKUP_TARGET_NAME> if not done already
Set Trilio Ansible Runner container image url and tag in parameter 'openStackAnsibleEERunnerImage:' of trilio-add-backup-target-service.yaml You don’t need to change any other parameter.
vi trilio-add-backup-target-service.yaml
Create custom data plane service for this backup target
Edit trilio-add-backup-target-deployment.yaml file and set parameter ‘nodeSets' with correct value from your environment. You don’t need to change any other parameter.