Home

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.

  1. Switch to Unravel user before uninstalling Unravel.

  2. Stop Unravel

    <Unravel installation directory>/unravel/manager stop
  3. Run the following command and then follow the instructions.

    <Unravel installation directory>/unravel/manager uninstall
  4. 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
  5. 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.

  1. Rollback the changes made to Ambari/Cloudera. Refer to CDH additional instrumentation and CDP additional instrumentation to check the corresponding changes.

  2. Restart the affected services.

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