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* '
    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:
    sudo rm -rf /etc/zoomdata
    sudo rm -rf /opt/zoomdata
    sudo rm -rf /etc/yum.repos.d/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*
  6. Remove the following PostgreSQL-related file:
    yum remove pgdg*
  7. Remove the directories related to PostgreSQL:
    sudo rm -rf /var/lib/pgsql
    sudo rm -rf /usr/pgsql-9.5

CentOS v7

  1. Stop all Zoomdata services:
    systemctl stop $(systemctl list-unit-files | grep zoomdata | awk '{print $1}')
  2. Remove Zoomdata and associated components:
    yum remove 'zoomdata*'
    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:
    sudo rm -rf /etc/zoomdata
    sudo rm -rf /opt/zoomdata
    sudo rm -rf /etc/yum.repos.d/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 postgresql-9.5 stop
    sudo yum remove 'postgresql*'
  6. Remove the following PostgreSQL-related file:
    sudo yum remove 'pgdg*'
  7. Remove the directories related to PostgreSQL:
    sudo rm -rf /var/lib/pgsql
    sudo rm -rf /usr/pgsql-9.5

Ubuntu v14

  1. Stop all Zoomdata services:
    ls /etc/init.d/zoomdata* | xargs -n1 basename | xargs -I % sudo service % stop
  2. Remove Zoomdata and associated components:
    sudo apt-get remove zoomdata*
    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.
    sudo apt-get remove 'zoomdata*'
  4. Remove all the Zoomdata-specific folders:
    sudo rm -rf /etc/zoomdata
    sudo rm -rf /opt/zoomdata
    sudo rm -rf /etc/apt/sources.list.d/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:
    sudo service postgresql-9.5 stop
    sudo apt-get remove 'postgresql*'
  6. Remove the following PostgreSQL-related file:
    sudo apt-get remove 'pgdg*'
  7. Remove the directories related to PostgreSQL:
    sudo rm -rf /etc/apt/sources.list.d/pg*
    sudo rm -rf /var/lib/postgresql/
    sudo rm -rf /var/log/postgresql/
    sudo rm -rf /etc/postgresql
    sudo rm -rf /etc/postgresql-common/
    sudo rm -rf /var/run/postgresql

Ubuntu v16

  1. Stop all Zoomdata services:
    sudo systemctl stop $(systemctl list-unit-files | grep 'zoomdata' | awk '{print $1}')
  2. Remove Zoomdata and associated components:
    sudo apt-get remove 'zoomdata*'
    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.
    sudo apt list --installed | grep zoomdata
  4. Remove all the Zoomdata-specific folders:
    sudo rm -rf /etc/zoomdata
    sudo rm -rf /opt/zoomdata
    sudo rm -rf /etc/apt/sources.list.d/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:
    sudo systemctl stop postgresql-9.5
    sudo apt-get remove 'postgresql*'
  6. Remove the following PostgreSQL-related file:
    sudo apt-get remove 'pgdg*'
  7. Remove the directories related to PostgreSQL:
    sudo rm -rf /etc/apt/sources.list.d/pg*
    sudo rm -rf /var/lib/postgresql/
    sudo rm -rf /var/log/postgresql/
    sudo rm -rf /etc/postgresql
    sudo rm -rf /etc/postgresql-common/
    sudo rm -rf /var/run/postgresql

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 Zoomdata (v2.2 or earlier), you can also remove the MongoDB datastore and corresponding files:

For CentOS v6:

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

For CentOS v7:

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

For Ubuntu v14:

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

For Ubuntu v16:

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

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