Uninstalling from RHOSO
1] Uninstall TVO Control Plane Services
Delete tvocontrolplane resource
cd triliovault-cfg-scripts/redhat-director-scripts/rhosp18/ctlplane-scripts/
./uninstall_tvo_control_plane.sh1.1] Unmount the backup targets
List openshift trilio control plane nodes
oc get nodes -l trilio-control-plane=enabled
Example:-
[openstackdev@localhost dataplane-scripts]$ oc get nodes -l trilio-control-plane=enabled
NAME STATUS ROLES AGE VERSION
master1 Ready control-plane,master,worker 90d v1.31.6
master2 Ready control-plane,master,worker 90d v1.31.6
master3 Ready control-plane,master,worker 90d v1.31.6
SSH Login to all these nodes and unmount the backup targets used by Trilio control plane services
oc debug node/master1
chroot /host
## List NFS backup target mounts
mount | grep nfs
## Unmount all shares listed in above command output
umount -l <NFS_Share>
## Verify that trilio nfs backup target is listed in command output
mount | grep nfs
## Unmount S3 backup target mounts
ls -ll /var/lib/trilio/triliovault-mounts/
## If there is any S3 backup target mounted inside above director, abobve command will
## fail and will provide mount point information.
## You need to copy those mount points and do unmount
umount /var/lib/trilio/triliovault-mounts/<mount_point>
## After unmounting all backup targets, you will be able to run following command successfully
ls -ll /var/lib/trilio/triliovault-mounts/
## Remove triliovault-mounts directory
rm -rf /var/lib/trilio/triliovault-mounts/2] Uninstall TVO Data Plane Services
Delete dataplane trilio resources from openshift
2.1] Log into each compute node, then stop and disable all Trilio services using the approach outlined below.
2.2] Clean Trilio Keystone resources
Trilio registers services and users in Keystone. Those need to be unregistered and deleted.
2.3] Clean Trilio database resources
Trilio creates databases for dmapi and workloadmgr services. These databases need to be cleaned.
Login into the database cluster
Run the following SQL statements to clean the database.
Last updated
Was this helpful?
