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.sh

1.1] Uninstall operator - tvo-operator

cd triliovault-cfg-scripts/redhat-director-scripts/rhosp18/ctlplane-scripts/
./uninstall_operator.sh <TVO_OPERATOR_CONTAINER_IMAGE_URL>

1.2] Delete old trilio-galera cluster pvcs and pv

Use the following command

oc -n trilio-openstack get pvc
oc -n trilio-openstack delete pvc <pvc0> <pvc1> <pvc2>

1.3] 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

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?