Enabling Multi-Cluster Support
Multi-cluster functionality allows you to view the status of multiple Greenplum Database clusters at one time in the Command Center user interface. The clusters can be organized into groups.
Typically, one Greenplum cluster is designated the master cluster; its Command Center instance hosts the multi-cluster view for all Command Center-managed clusters.
See Monitoring Multiple Greenplum Database Clusters for information about accessing the multi-cluster view.
Setting Up Multiple Clusters
Multi-cluster support is enabled with a multi-cluster configuration file. There is a template for this configuration file in the instance directory of each Command Center instance at the following location:
$GPCCHOME/instances/<instance_name>/conf/clusters.conf
Locate the clusters.conf
template on the Command Center instance you want to identify as the master instance. This will be the web server that hosts the multi-cluster web page.
The configuration file consists of the following values separated by colons:
SERVER : HOST : PORT : TABGROUP : AUTOLOGIN : SSL : ACCESS
For example:
Miracle:www.example.com:28080:Production:True:false:gpdb_role,accounting_role
Deforest:192.51.100.186:28080:Development:False:false
Grandalpha:grandalpha:32020:Development:False:false
All fields except the last, ACCESS, are required.
The name may not contain special characters, other than the space character, underscore (_
), or hyphen (-
).
Command Center throws an error if there are any entries with the same primary key.
The AUTOLOGIN field is a true or false value. It is not case-sensitive.
Important: All hosts must have the same SSL configuration. SSL must be enabled or disabled for all hosts.