Set Up

Sample PGCluster Architecture

Description of each server's configuration files are that in the system composition of the following figure.


A set up of "/etc/hosts" file

In order to resolve the address of each server name, a server's host name and IP address are described in a "/etc/hosts" file.

127.0.0.1 localhost localhost.localdomain

#
# load balancer
#
192.168.0.1   loadbalancer
#
# Cluster DBs
#
192.168.0.11   cluster_1
192.168.0.12   cluster_2
192.168.0.13   cluster_3
#
# replication server
#
192.168.0.21   replicate_upper
192.168.0.22   replicate_lower