Uninstalling Greenplum Command Center
To uninstall Greenplum Command Center, you must stop both the Command Center Console and disable the data collection agents. Optionally, you may also remove any data associated with Greenplum Command Center by removing your Command Center Console installation and the gpperfmon database.
Stop Command Center Console if it is currently running. For example:
$ gpcc --stop
Remove the Command Center installation directory from all hosts. For example:
$ rm -rf /usr/local/greenplum-cc-web-version
Disable the data collection agents.
Log in to the master host as the Greenplum administrative user (gpadmin):
$ su - gpadmin
Disable the data colleciton agents by setting the
gp_enable_gpperfmonserver configuration parameter off:
$ gpconfig -c gp_enable_gpperfmon -v off
Remove or comment out the gpmon entries in
pg_hba.conf. For example:
#local gpperfmon gpmon md5 #host gpperfmon gpmon 0.0.0.0/0 md5
Drop the Command Center superuser role from the database. For example:
$ psql template1 -c 'DROP ROLE gpmon;'
Restart Greenplum Database:
$ gpstop -r
Clean up any uncommitted Command Center data and log files that reside on the master file system:
$ rm -rf $MASTER_DATA_DIRECTORY/gpperfmon/data/* $ rm -rf $MASTER_DATA_DIRECTORY/gpperfmon/logs/*
If you do not want to keep your historical Command Center data, drop the gpperfmon database:
$ dropdb gpperfmon