Command Center Console Parameters

The Command Center Console configuration file is on the Command Center host at $GPCC_HOME/conf/app.conf. Some parameters in this file are set by the Command Center installer.

After editing this file, reload the configuration by restarting the Command Center Console.

$ gpcc --start

appname = gpccws
The web server binary file. Do not change.

httpport = <port>
The web server port when EnableHTTP is true. The default is 28080.

httpsport = <port>
The web server port when EnableHTTPS is true. The default is 28080.

rpcport = <port>
The port on which the Command Center backend receives data from metrics collector agents. The default is 8899.

listentcp4 = [true | false]
When true, the address type is tcp4. The default is true.

runmode = [prod | dev | test]
The application mode, which can be dev, prod or test. The default, prod, is the recommended setting. In dev and test modes Command Center prints more verbose log messages. These are different logs than the logs affected by the log_level parameter.

session = [true | false]
Use sessions to manage user experience. The default is true. Sessions are stored in memory.

enablexsrf = [true | false]
Enable CSRF protection.

xsrfkey = <token_string>
The CSRF token.

xsrfexpire = <seconds>
CSRF expire time. The default is 2592000 seconds.

rendertype = json
The render type of the web server. Do not change.

printallsqls = [true | false]
Print all backend gpperfmon SQL to the web server console. The default is false.

The level of messages to log: Debug, Info, or Error. Debug is the most verbose and Error is the least verbose. The default is Info.

master_host = <hostname>
The Greenplum Database host name. The default is localhost.

master_port = <port>
The Greenplum Database master port. The default is 5432.

path = /usr/local
Path to the directory where Greenplum Command Center is installed.

display_name = <display_name>
The display name for the console.

enable_kerberos = [true | false]
True if Kerberos authentication is enabled for Command Center. The default is false.

enable_history = [true | false]
True if history data collection is enabled for Command Center. The default is true. This parameter is managed in Command Center by setting Enable GPCC history data collection on or off on the Admin> Settings page.

HTTPSCertFile = </path/to/cert.pem>
HTTPSKeyFile = </path/to/cert.pem>
Set both of these properties to the full path to a .pem file containing the certificate and private key for the Command Center web server.

EnableHTTPS = [true | false]
Enable listening on the secure SSL port. The default is true. True if SSL is enabled. Only one of EnableHTTPS or EnableHTTP can be true. <

EnableHTTP = [true | false]
Enable listening on the HTTP port. True if SSL is not enabled. Only one of EnableHTTP or EnableHTTPS can be true.

stats_check_interval = <seconds>
How often the statistics in the Command Center Table Browser are refreshed. The default is 300. New tables and changed values such as file size and last access time may not be seen until stats_check_interval seconds have elapsed.

ws_perf_port = <port>
Port to access the Command Center web server Go profiling data. (See pprof for more information.) The default is 6162. Choose another port if there is a port conflict or if you are setting up another Command Center instance on the same host.

agent_perf_port = <port>
Port to use to access agent Go profiling data. The default is 6163. Choose another port if there is a port conflict on segment hosts, or if you are setting up another Command Center instance on the same cluster.