As in [Real_Server_Configuration], we've assigned the following:
First, we create template of GTM Proxy at node01 as follows:
[main]$ ssh node01 [node01]$ initgtm -Z gtm_proxy -D /home/postgresxc/pgxc/gtm_proxy [node01]$
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:
[node01]$ cat >> /home/postgresxc/pgxc/gtm_proxy/gtm_proxy.conf