Clean Trilio Datamover API and Workloadmanager services
The following steps need to be run on all nodes, which have the Trilio Datamover API & Workloadmanager services running. Those nodes can be identified by checking the roles_data.yaml for the role that contains the below entries
Once the role that runs the Trilio Datamover API & Workloadmanager services has been identified will the following commands clean the nodes from the service.
Run all commands as root or user with sudo permissions.
Clean Trilio Workloadmanager API service conf directory.
Clean Trilio Workloadmanager API service log directory.
Remove triliovault_wlm_workloads container.
Clean Trilio Workloadmanager Workloads service conf directory.
Clean Trilio Workloadmanager Workloads service log directory.
Remove triliovault_wlm_scheduler container.
Clean Trilio Workloadmanager Scheduler service conf directory.
Clean Trilio Workloadmanager Scheduler service log directory.
Remove triliovault-wlm-cron-podman-0 container from controller.
Clean Trilio Workloadmanager Cron service conf directory.
Clean Trilio Workloadmanager Cron service log directory.
Clean Trilio Datamover Service
The following steps need to be run on all nodes, which have the Trilio Datamover service running. Those nodes can be identified by checking the roles_data.yaml for the role that contains the entry OS::TripleO::Services::TrilioDatamover.
Once the role that runs the Trilio Datamover service has been identified will the following commands clean the nodes from the service.
Run all commands as root or user with sudo permissions.
Remove triliovault_datamover container.
Unmount the Trilio Backup Target on the compute host.
Clean Trilio Datamover service conf directory.
Clean log directory of Trilio Datamover service.
Clean wlm-cron resource from pcs cluster
Remove wlm cron resource from pcs cluster on the controller node.
Clean Trilio HAproxy resources
The following steps need to be run on all nodes, which have the HAproxy service running. Those nodes can be identified by checking the roles_data.yaml for the role that contains the entry OS::TripleO::Services::HAproxy.
Once the role that runs the HAproxy service has been identified will the following commands clean the nodes from all the Trilio resources.
Run all commands as root or user with sudo permissions.
Edit the following file inside the HAproxy container and remove all Trilio entries.
## Following steps are applicable for all supported RHOSP releases.
# Check triliovault backup target mount point
mount | grep trilio
# Unmount it
-- If it's NFS (COPY UUID_DIR from your compute host using above command)
umount /var/lib/nova/triliovault-mounts/<UUID_DIR>
-- If it's S3
umount /var/lib/nova/triliovault-mounts
# Verify that it's unmounted
mount | grep trilio
df -h | grep trilio
# Remove mount point directory after verifying that backup target unmounted successfully.
# Otherwise actual data from backup target may get cleaned.
rm -rf /var/lib/nova/triliovault-mounts