Nov 17, 2011

Node_Name Initialization (XC)

How to initialize node names and node groups in initdb?


Edit file "cluster_nodes.sql" at $prefix/share/postgresql.

$prefix is the installation point of Postgres-XC, as specified in ./configure

Cluster-wide settings can be done here.   Node-specific settings should be postgresql.conf at each coordinator/datanode database cluster.

Questions:

In cluster_nodes.sql, we specify all the node information using CREATE NODES nodename ....

In postgresql.conf, we specify individual node name using pgxc_node_name.

The former is case insensitive and the latter is case sensitive.   Should we assume that they're stored in lower case, which is PostgreSQL specific?

No comments:

Post a Comment