As in [Real_Server_Configuration], we've assigned the following:
First, we create template of GTM at node03 as follows:
[main]$ ssh node03 [node03]$ initgtm -Z gtm -D /home/postgresxc/pgxc/gtm [node03]$
initgtm creates template configuration file for gtm. For details, please visit initgtm document page.
Now you should add node name and port number to the configuration file, gtm.conf.
It is very simple. Do as follows:
[node03]$ cat >> /home/postgresxc/pgxc/gtm/gtm.conf
Postgres-XC: GTM_Standby_Configuration
Postgres-XC: Real_Server_Configuration