Uninstall

  • concept
The Operational Insights application and its associated data can be removed from supported systems.

Uninstalling Operational Insights from a system involves removing the Operational Insights application along with any directories containing Couchbase configuration files, data, and logs.

This page describes how to uninstall Operational Insights from Linux systems; and assumes that you have already performed a standard package-based install.

Before You Uninstall

If the system is a part of an active Operational Insights cluster, you must remove it and rebalance the cluster to take the node out of the configuration. You’ll also need to update Operational Insights clients to point to an available node within the active cluster.

The instructions on this page removes Operational Insights, and all configuration and database files. Make sure that you backup your configuration and data before proceeding, as this process cannot be undone.

Linux

  1. Stop the Operational Insights process if it’s running.

    sudo systemctl stop operational-insights

    For more information, see Start and Stop Operational Insights.

  2. Remove the application and packages.

    • RHEL

    • Ubuntu and Debian

    sudo rpm -e operational-insights
    sudo dpkg -r operational-insights
  3. Remove the data and log directories.

    sudo rm -rf /opt/couchbase

    If you specified non-default locations for Couchbase data, indexes and so on during initial setup of the node, you must delete them to complete the uninstall process.