Greenplum Command Center Parameters
Configuration parameters for Pivotal Greenplum Command Center are stored in the following files on the Greenplum Database Master host:
$GPCC_HOME/conf/app.conf
$MASTER_DATA_DIRECTORY/gpperfmon/conf/gpperfmon.conf
$MASTER_DATA_DIRECTORY/postgresql.conf
Any system user with write permissions to these directories can edit these configuration files. After editing any of these files, apply the configuration changes by restarting Command Center.
$ gpcc --start
Command Center Parameters (app.conf)
The app.conf
file includes the following web application parameters:
allow_trust_logon
pg_hba.conf
file using the trust authentication method. When set to yes, trusted database users are allowed to login to Command Center without a password. By default, this parameter is commented out. See the Greenplum Database Administrator Guide for more information about the pg_hba.conf
file.server_name
master_port
wlm_query_cooldown_time
wlm_short_query_threshold
Gpperfmon Agent Parameters
The $MASTER_DATA_DIRECTORY/gpperfmon/conf/gpperfmon.conf
file on the Greenplum Database master host stores configuration parameters for the gpperfmon agents, gpmmon
and gpsmon
. After editing this file, save gpperfmon.conf
and then restart Greenplum Database:
$ gpstop -r
quantum
If you want a less granular view of performance, or you want to collect and analyze minimal amounts of data for system metrics, specify a higher quantum. To collect data more frequently, enter a lower value.
min_query_time
queries_history
table. For queries with shorter run times, no historical data is collected. Defaults to 20 seconds.
If you want to collect data for all queries, set this parameter to a low value. Setting the minimum query run time to zero, however, collects data even for the numerous queries run by Command Center itself, creating a large amount of data that might not be useful.
log_location
$MASTER_DATA_DIRECTORY/gpperfmon/logs
.max_log_size
To prevent the log files from becoming excessive in size, you can add the max_log_size
parameter to gpperfmon.conf
. The value of this parameter is measured in bytes. For example:
max_log_size = 10485760
With this setting, the log files will grow to 10MB before the system starts a new log file.
partition_age
smdw_aliases
smdw_aliases=smdw-1,smdw-2
This optional fault tolerance parameter is useful if the Command Center loses connectivity with the standby master. Instead of continuously retrying to connect to host smdw, it will try to connect to the NIC-based aliases of smdw-1 and/or smdw-2. This ensures that the Command Center Console can continuously poll and monitor the standby master.
Greenplum Command Center Console Parameters
These parameters only apply to the Greenplum Data Computing Appliance platform.
The Command Center Console has a configuration file located at $GPCC_HOME/conf/app.conf
.
After editing this file, reload the configuration by restarting the Command Center:
$ gpcc --stop
$ gpcc --start
Greenplum Database Server Configuration Parameters
The following parameters must be uncommented and set in the server configuration file (postgresql.conf
) in order to enable the gpperfmon data collection agents. With the exception of gp_enable_gpperfmon
, these parameters are set in the master postgresql.conf
file only. Restart Greenplum Database to apply any changes you make to this file.
gp_enable_gpperfmon
postgresql.conf
files (master and all segments).gpperfmon_port
gp_gpperfmon_send_interval
gp_external_enable_exec
gpperfmon_log_alert_level