Uninstalling Paragon Active Assurance
Installation of Paragon Active Assurance is covered in the Paragon Active Assurance Installation Guide.
To uninstall the Control Center software, run the following command:
sudo apt-get remove "netrounds-*"
Alternatively, in order to delete the Control Center packages from the instance, you can
add the --purge
flag:
sudo apt-get remove --purge "netrounds-*"
This will not remove the data or the configuration, however. To remove all data, do the following:
sudo rm -rf /var/lib/netrounds sudo -u postgres dropdb netrounds sudo -u postgres dropdb paa-plugins sudo -u postgres dropdb -h localhost -p 7432 paa-metrics
where the password for the last command (for TimescaleDB) is postgres
.
Optional Steps
If you are not using PostgreSQL for anything else, you may want to uninstall the PostgreSQL database:
sudo apt-get remove --purge postgresql
Further optional cleanup tasks are as follows:
- Remove the Test Agent applications remaining in the static folder:
sudo rm -rf /usr/lib/python3.6/dist-packages/netrounds
- Remove logs from apache2:
sudo rm -rf /var/log/apache2/netrounds*
- Remove the Paragon Active Assurance site from apache2:
sudo rm -rf /var/lib/apache2/site/disabled_by_admin/netrounds*
- Remove available sites for Paragon Active Assurance:
sudo rm -rf /etc/apache2/sites-available/netrounds*
- Remove the OpenVPN environment:
sudo rm -rf /var/lib/openvpn/netrounds.env
- Remove Kafka logs:
sudo rm -rf /var/log/kafka/netrounds*
- Finally, remove these directories if they are present:
sudo rm -rf /usr/share/netrounds sudo rm -rf /usr/share/mibs/netrounds sudo rm -rf /usr/lib/netrounds