To uninstall a
Control Hub instance, shut down Control Hub and then remove all Control Hub directories. If no additional Control Hub instances are using the same relational and time series databases, then remove
those databases also. If no additional Control Hub instances are using the same system Data Collectors,
then uninstall those Data Collectors
also.
-
Shut down Control Hub.
To shut down when
Control Hub is started as a
service, use the required command for your operating system:
- For CentOS 6.x, Oracle Linux 6.x, Red Hat Enterprise Linux 6.x, or
Ubuntu 14.04, use:
service dpm stop
- For CentOS 7.x, Oracle Linux 7.x, or Red Hat Enterprise Linux
7.x,
use:
systemctl stop dpm
To shut down when
Control Hub is started manually
from the tarball, use the
Control Hub process ID in the
following command:
kill <process ID>
-
Remove the Control Hub home directory,
$DPM_HOME.
-
If no additional Control Hub instances are using the same relational and time series databases, then
remove those databases.
-
To remove databases from the relational database, connect to MariaDB, MySQL, or PostgreSQL and then use the following command to drop the database for each
application:
DROP DATABASE <database name>;
For example, if you created databases with names that matched each
application, then use the following commands:
DROP DATABASE jobrunner;
DROP DATABASE messaging;
DROP DATABASE notification;
DROP DATABASE pipelinestore;
DROP DATABASE policy;
DROP DATABASE provisioning;
DROP DATABASE reporting;
DROP DATABASE scheduler;
DROP DATABASE sdp_classification;
DROP DATABASE security;
DROP DATABASE sla;
DROP DATABASE timeseries;
DROP DATABASE topology;
-
To remove databases from the time series database, connect to InfluxDB
and then use the following Influx Query Language (InfluxQL) statement to
remove each database:
DROP DATABASE <database name>
For example, if you named the Metrics database "sch" and named the
Application Metrics database "sch_app", run the following
statements:
DROP DATABASE sch
DROP DATABASE sch_app
-
If no additional Control Hub instances are using the same system Data Collectors, then remove those Data Collectors.
For instructions, see Uninstallation in the Data Collector documentation.