Zoomdata Version

Uninstall Zoomdata

To remove the Zoomdata Server and associated services from your network environment, you need to do the following:

  • Remove the Zoomdata Server and associated services
  • Remove Zoomdata-related folders and files
  • (For those using v2.3 or later) Remove the PostgreSQL metadata store used by Zoomdata*
  • (For those using or that upgraded from Zoomdata version v2.2 or earlier) Remove the MongoDB datastore
*If you connected Zoomdata to an existing PostgreSQL (and/or MongoDB) in your network, then simply skip these steps.

Uninstall Zoomdata Server and All Associated Components

Select your server's operating system and follow those steps to completely remove all Zoomdata-related components:

CentOS v6

  1. Stop all Zoomdata services:
    service zoomdata\* stop
  2. Remove Zoomdata and associated components:
    yum remove 'zoomdata\* '
    During this process, you are asked to verify the removal of the Zoomdata components. Enter 'y' to confirm the removal.
  3. Verify the removal of Zoomdata components by running the following command. If all components have been successfully erased, the command returns no results.
    yum list installed | grep zoomdata\*
  4. Remove all the Zoomdata-specific folders:
    rm -rf /etc/zoomdata
    rm -rf /opt/zoomdata
    The next steps are to remove the PostgreSQL metadata store and related files. However, skip these steps if you used your existing PostgreSQL as Zoomdata's metadata store. In this case, you have completed the removal of all Zoomdata-related components from your server.
  5. Remove the PostgreSQL metadata store:
    systemctl stop postgresql-9.5
    yum remove postgresql*
    During this step, you are asked to confirm the deletion of all the postgreSQL files.
  6. Remove the following PostgreSQL-related file:
    yum remove pgdg*
  7. Remove the directories related to PostgreSQL:
    rm -rf /var/lib/pgsql
    rm -rf /usr/pgsql-9.5

CentOS v7

  1. Stop all Zoomdata services:
    systemctl stop zoomdata\*
  2. Remove Zoomdata and associated components:
    yum remove zoomdata\*
    During this process, you are asked to verify the removal of the Zoomdata components. Enter 'y' to confirm the removal.
  3. Verify the removal of Zoomdata components by running the following command. If all components have been successfully erased, the command returns no results.
    yum list installed | grep zoomdata\*
  4. Remove all the Zoomdata-specific folders:
    rm -rf /etc/zoomdata
    rm -rf /opt/zoomdata
    The next steps are to remove the PostgreSQL metadata store and related files. However, skip these steps if you used your existing PostgreSQL as Zoomdata's metadata store. In this case, you have completed the removal of all Zoomdata-related components from your server.
  5. Remove the PostgreSQL metadata store:
    systemctl stop postgresql-9.5
    yum remove postgresql*
    During this step, you are asked to confirm the deletion of all the postgreSQL files.
  6. Remove the following PostgreSQL-related file:
    yum remove pgdg*
  7. Remove the directories related to PostgreSQL:
    rm -rf /var/lib/pgsql
    rm -rf /usr/pgsql-9.5

Ubuntu v14

  1. Stop all Zoomdata services:
    service zoomdata\* stop
  2. Remove Zoomdata and associated components:
    sudo apt-get remove zoomdata*
    During this process, you are asked to verify the removal of the Zoomdata components. Enter 'y' to confirm the removal.
  3. Verify the removal of Zoomdata components by running the following command. If all components have been successfully erased, the command returns no results.
    service --status-all | grep zoomdata*
  4. Remove all the Zoomdata-specific folders:
    rm -rf /etc/zoomdata
    rm -rf /opt/zoomdata
    The next steps are to remove the PostgreSQL metadata store and related files. However, skip these steps if you used your existing PostgreSQL as Zoomdata's metadata store. In this case, you have completed the removal of all Zoomdata-related components from your server.
  5. Remove the PostgreSQL metadata store:
    service postgresql-9.5 stop
    sudo apt-get remove postgresql*
    During this step, you are asked to confirm the deletion of all the postgreSQL files.
  6. Remove the following PostgreSQL-related file:
    sudo apt-get remove pgdg*
  7. Remove the directories related to PostgreSQL:
    rm -rf /var/lib/pgsql
    rm -rf /usr/pgsql-9.5

Ubuntu v16

  1. Stop all Zoomdata services:
    systemctl stop zoomdata\*
  2. Remove Zoomdata and associated components:
    sudo apt-get remove zoomdata*
    During this process, you are asked to verify the removal of the Zoomdata components. Enter 'y' to confirm the removal.
  3. Verify the removal of Zoomdata components by running the following command. If all components have been successfully erased, the command returns no results.
    service --status-all | grep zoomdata*
  4. Remove all the Zoomdata-specific folders:
    rm -rf /etc/zoomdata
    rm -rf /opt/zoomdata
    The next steps are to remove the PostgreSQL metadata store and related files. However, skip these steps if you used your existing PostgreSQL as Zoomdata's metadata store. In this case, you have completed the removal of all Zoomdata-related components from your server.
  5. Remove the PostgreSQL metadata store:
    systemctl stop postgresql-9.5
    yum remove postgresql*
    During this step, you are asked to confirm the deletion of all the postgreSQL files.
  6. Remove the following PostgreSQL-related file:
    sudo apt-get remove pgdg*
  7. Remove the directories related to PostgreSQL:
    rm -rf /var/lib/pgsql
    rm -rf /usr/pgsql-9.5

You have completed the removal of all Zoomdata-related components from your server.

Completing the Uninstall Process for Zoomdata v2.2 and Earlier

If you were running an earlier version of ZD (v2.2 or earlier), you can also remove the MongoDB datastore and corresponding files:

For CentOS v6:

service mongod stop
yum remove mongo*
rm -r /var/log/mongodb
rm -r /var/lib/mongodb

For CentOS v7:

systemctl stop mongod
yum remove mongo*
rm -r /var/log/mongodb
rm -r /var/lib/mongodb

For Ubuntu v14:

service mongod stop
sudo apt-get remove mongo*
rm -r /var/log/mongodb
rm -r /var/lib/mongodb

For Ubuntu v16:

systemctl stop mongod
sudo apt-get remove mongo*
rm -r /var/log/mongodb
rm -r /var/lib/mongodb

This completes the removal of all Zoomdata-related components for versions 2.2 or earlier from your server.