Uninstall and cleanup an old HP Vertica installation

Sometimes you want to start from zero in your HP Vertica cluster, so you need to uninstall/remove all old Vertica rpm's and config files. To uninstall HP Vertica follow the steps below: Search for installed Vertica components:

[dbadmin@primary ~]$ rpm -qa | grep vertica
vertica-7.1.1-0.x86_64
Stop all Vertica processes running on the host:
ps -ef | grep vertica| grep -v 'grep vertica'|awk {'print "kill -9" $2'}| bash
  • this command will forcefully kill all Vertica processes running on the host.
Remove Vertica package
[dbadmin@primary ~]$rpm -e vertica-7.1.1-0.x86_64
Cleanup the datadir's, tempdir's, old admin.config files
[root@primary /]# rm -rf /opt/vertica/
Now you hosts are ready for a new Vertica Install.