Menu

Configure_Server_Coordinators

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/coordinator
  4. Node name: coord1 and coord2
  5. Port number: 20004
  6. gtm host: node01 and node02 (we use GTM Proxy)
  7. gtm port: 20001

First, we create template of coord1 at node01 as follows:

[main]$ ssh node01
[node01]$ initdb --nodename=coord1 -D /home/postgresxc/pgxc/coordinator
[node01]$

initdb creates template of coordinator and datanode and creates initial database called postgres.

Now you should add several lines of configuration parameters to postgresql.conf file.

It is very simple. Do as follows:

[node01]$ cat >> /home/postgresxc/pgxc/coordinator/postgresql.conf

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.