To remove the Zoomdata Server and associated services from your network environment, you will 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*
Uninstall Zoomdata Server and All Associated Components
Take the following steps to completely remove all Zoomdata components from your server:
Stop all Zoomdata services:
systemctl stop zoomdata\*
Remove Zoomdata and associated components::
yum remove zoomdata*During this process, you will be asked to verify the removal of the Zoomdata components. Enter 'y' to confirm the removal.
Verify the removal of Zoomdata components by running the following command. If all components have been successfully erased, the command will return no results.
Remove all the Zoomdata-specific folders:
rm -rf /etc/zoomdata
rm -rf /opt/zoomdata
Remove the PostgreSQL metadata store:
systemctl stop postgresql-9.5
yum remove postgresql*During this step, you will be asked to confirm the deletion of all the postgreSQL files.
Remove the following PostgreSQL-related file:
yum remove pgdg*
Remove the directories related to PostgreSQL:
rm -rf /var/lib/pgsql
rm -rf /usr/pgsql-9.5
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:
yum remove mongo*
sudo rm -r /var/log/mongodb
sudo rm -r /var/lib/mongodb
This completes the removal of all Zoomdata components from your server.
For Further Reading: