Setting the Greenplum Command Center Environment

To enable the gpadmin user to execute Command Center utilities such as gpcc, follow these steps to set up the Greenplum Command Center environment on the Greenplum Command Center host.

  1. Add the GPPERFMONHOME environment variable to your startup shell profile (such as ~/.bashrc). Set the variable to the Greenplum Command Center installation directory.

    export GPPERFMONHOME=/usr/local/greenplum-cc-web
    source $GPPERFMONHOME/gpcc_path.sh 
    

    Ensure that the $GPPERFMONHOME/gpcc_path.sh file has entries for the greenplum_path.sh file and the MASTER_DATA_DIRECTORY environment variable. See the Greenplum Database Installation Guide for details.

  2. Save and source the .bashrc file:

    $ source ~/.bashrc