Uninstall Unravel
Caution
Ensure to backup data before deleting the Unravel installation directory. There can be a loss of data when you delete this directory.
Switch to Unravel user before uninstalling Unravel.
Stop Unravel
<Unravel installation directory>/unravel/manager stop
Run the following command and then follow the instructions.
<Unravel installation directory>/unravel/manager uninstall
Delete the following directories:
rm -rf /opt/unravel/share rm -rf /opt/unravel/data rm -rf /opt/unravel/run rm -rf /opt/unravel/tmp rm -rf /opt/unravel/services rm -rf /opt/unravel/logs rm -rf /opt/unravel/sensors rm -rf /opt/unravel/external
Switch to root user and delete the Unravel installation directory.
rm -rf
<path/to/unravel/installation/directory>
In case of an RPM installation, uninstall the Unravel RPM package on the Unravel server as root user:
rpm -e <unravel-package-name> ##For example: rpm -e unravel-abcd.956-2020:abcd.956-1.x86_64
Uninstalling Unravel bits from on-prem platforms
To uninstall Unravel from on-prem platforms, you must roll back the Unravel-specific changes made in your cluster manager. This requires a restart of the affected services. Hence, to avoid an impact on the user's application, it is recommended to do this during a maintenance window.
Rollback the changes made to Ambari/Cloudera. Refer to CDH additional instrumentation and CDP additional instrumentation to check the corresponding changes.
Restart the affected services.
For Ambari, remove Unravel's sensor jars from each node in the cluster.
rm -rf /usr/local/unravel-agent rm -rf /usr/local/unravel_client
Note
Ensure to remove the sensor jars only after rolling back changes in Ambari.