Setup Configuration File
A setup configuration file contains properties used to define one or more Greenplum Command Center instances when gpcmdr
is run with the --config_file
option.
The configuration file uses the Python configuration file format, similar to the Microsoft INI file format. The file contains sections, introduced by a [section]
header, and followed by name: value
or name=value
entries, one per line. Comments begin with a #
or ;
character and continue through the end of the line. A [DEFAULT]
section sets default values for parameters that may be overriden in other sections.
See Setting Up Command Center Instances with a Configuration File for more information.
Parameters
remote_db
is True.
instances
directory where the instances configuration and log files are stored. Instance names may contain letters, digits, and underscores and are not case sensitive.
enable_ssl
is True, gpcmdr
generates a certificate during setup. Data for the certificate’s CN is entered interactively during setup. Default: False.
enable_user_cert
is True, set this parameter to the full path to a valid certificate in PEM file format.
gpcmdr
creates a new dhparam file. The file is in PEM format.
gpcmdr
finds an existing dhparam.pem
file, it will use the existing file instead of creating a new one.
gpcmdr
install the instance configuration on the Greenplum standby master host.
enable_copy_standby
is True.
Example
This example configuration sets up two Command Center instances, prod
and dev
. Parameters in the [DEFAULT]
section apply to all instances and may be overridden by parameters in the [production]
and [development]
sections.
[DEFAULT]
remote_db: false
enable_ipv6: false
enable_csrf_protect: true
enable_copy_standby: true
standby_master_host: smdw
enable_ssl: true
enable_user_cert: true
ssl_cert_file: /etc/ssl/certs/cert.pem
enable_user_dhe: false
enable_reuse_dhe: true
[production]
master_hostname: mdw
instance_name: prod
display_name: Production
master_port: 5432
web_port: 28080
[development]
master_hostname: mdw
instance_name: dev
enable_copy_standby: false
display_name: Development
master_port: 5532
web_port: 28090