This page is now under the construction.
This section describes how to build and install pgxc>ctl.
First, you need to configure the build options as follows:
cd $PGCXSRC
./configure (your configuration options)
If you've done this to build Postgres-XC binaries, you don't have to do it again.
Then, build and install pgxc_ctl as follows:
cd $PGXCSRC
make
make install
Simple enough!
Before you start to configure Postgres-XC cluster, you need to determine several things and make hardware/software ready.
Postgres-XC database cluster consists of the following components.
If you are just testing Postgres-XC, you need only one server. This can even be a virtual machine. You can run sufficient component on this machine but it's not a good idea to run slave of each components. If you're in this stage, please read this page carefully. Pgxc_ctl will provide configuration file template but it is not suitable for this purpose. You may have to rewrite many of the template to fit to your single-server configuration.
If you are deploying Postgres-XC for more serious use, you should consider how many servers you need to store your data. [[Scalability|The scalability data of XC] will help to determine this. Additionally, you may want to run GTM at a separate server mainly for availability purpose and you may want another server to run GTM slave for hight availability.
It is highly advised to install gtm_proxy, coordinator and datanode at the rest of the servers. This simplifies the configuration and maintains worload of each servers nearly even.