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
-
Stop the Operational Insights process if it’s running.
sudo systemctl stop operational-insightsFor more information, see Start and Stop Operational Insights.
-
Remove the application and packages.
If the node has the Python UDF add-on, remove it in the same command, as shown below. The add-on depends on Operational Insights, so the package manager refuses to remove Operational Insights on its own while the add-on is installed. If the node does not have the add-on, omit
operational-insights-udffrom the command.-
RHEL
-
Ubuntu and Debian
sudo rpm -e operational-insights-udf operational-insightssudo dpkg -r operational-insights-udf operational-insightsRemoving the add-on also removes its sandbox container and image, and the Docker configuration that it installed, including
/etc/docker/daemon.json. Docker itself remains installed. -
-
Remove the data and log directories.
sudo rm -rf /opt/couchbaseIf 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.