Uninstalling Control Hub

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.

  1. 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 - 8.x, or Red Hat Enterprise Linux 7.x - 8.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>
  2. Remove the Control Hub home directory, $DPM_HOME.
  3. If no additional Control Hub instances are using the same relational and time series databases, then remove those databases.
    1. To remove databases from the relational database instance, 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 connection;
      DROP DATABASE dynamic_preview;
      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;
    2. To remove databases from the time series database instance, 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
  4. 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.