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.

  1. Stop Command Center Console if it is currently running. For example:

    $ gpcc --stop
    
  2. Remove the Command Center installation directory from all hosts. For example:

    $ rm /usr/local/greenplum-cc  ## removes the symbolic link
    $ rm -rf /usr/local/greenplum-cc-version
    
  3. Disable the data collection agents.

    1. Log in to the coordinator host as the Greenplum administrative user (gpadmin):

      $ su - gpadmin
      
    2. 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
      
    3. Drop the Command Center superuser role from the database. For example:

      $ psql template1 -c 'DROP ROLE gpmon;'
      
    4. Restart VMware Greenplum:

      $ gpstop -r
      
    5. Clean up any uncommitted Command Center data and log files that reside on the coordinator file system:

      $ rm -rf $COORDINATOR_DATA_DIRECTORY/gpperfmon/data/* 
      $ rm -rf $COORDINATOR_DATA_DIRECTORY/gpperfmon/logs/*
      
    6. If you do not want to keep your historical Command Center data, drop the gpperfmon database:

      $ dropdb gpperfmon
      
check-circle-line exclamation-circle-line close-line
Scroll to top icon