Menu

Configure_Server_GTM_Proxies

Koichi Suzuki

What we've determined

As in [Real_Server_Configuration], we've assigned the following:

  1. User: postgresxc
  2. Configure at: node01 and node02
  3. Work directory: /home/postgresxc/pgxc/gtm_proxy
  4. Node name: gtm_pxy1 and gtm_pxy2
  5. Port number: 20001
  6. gtm host: node03
  7. gtm port: 20001

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

Related

Postgres-XC: Real_Server_Configuration

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.