1. Home
  2. Docs
  3. ClusterControl
  4. Administration
  5. Uninstall

Uninstall

If ClusterControl is installed on a dedicated host (i.e., not co-located with your application), uninstalling ClusterControl is pretty straightforward. It is enough to bring down the ClusterControl node and revoke the cmon user privileges from the managed database nodes:

mysql> DELETE FROM mysql.user WHERE user = 'cmon';
mysql> FLUSH PRIVILEGES;

Before removing the package, stop all cmon related services:

On systemd:

$ systemctl stop cmon cmon-ssh cmon-events cmon-cloud

On SysVinit:

$ service cmon stop
$ service cmon-ssh stop
$ service cmon-events stop
$ service cmon-cloud stop

If ClusterControl is installed through Severalnines repository, use the following command to uninstall via respective package manager:

RedHat/CentOSDebian/Ubuntu
$ yum remove -y clustercontrol*
$ sudo apt-get remove -y clustercontrol*

For CMON and ClusterControl UI databases and privileges:

mysql> DROP SCHEMA cmon;
mysql> DROP SCHEMA dcps;
mysql> DELETE FROM mysql.user WHERE user = 'cmon';
mysql> FLUSH PRIVILEGES;
Was this article helpful to you? Yes 1 No