#=============================================================
#  PGReplicate configuration file
#-------------------------------------------------------------
# file: pgreplicate.conf
#-------------------------------------------------------------
# This file controls:
#       o which hosts & port are cluster server
#       o which port use for replication request from cluster server
#=============================================================
#
#-------------------------------------------------------------
# A setup of Cluster DB(s)
#
#		o Host_Name : The host name of Cluster DB.
#		              -- please write a host name by FQDN.
#		              -- do not write IP address.
#		o Port : The connection port with postmaster.
#		o Recovery_Port : The connection port at the time of 
#		                  a recovery sequence .
#-------------------------------------------------------------
#<Cluster_Server_Info>
#    <Host_Name>   master.postgres.jp  </Host_Name>
#    <Port>        5432                </Port>
#    <Recovery_Port>       7779        </Recovery_Port>
#</Cluster_Server_Info>
#<Cluster_Server_Info>
#    <Host_Name>   clusterdb2.postgres.jp </Host_Name>
#    <Port>        5432                </Port>
#    <Recovery_Port>       7779        </Recovery_Port>
#</Cluster_Server_Info>
#<Cluster_Server_Info>
#    <Host_Name>   cluster3.postgres.jp   </Host_Name>
#    <Port>        5432                </Port>
#    <Recovery_Port>       7779       </Recovery_Port>
#</Cluster_Server_Info>
#
#-------------------------------------------------------------
# A setup of Load Balance Server
#
#		o Host_Name : The host name of a load balance server.
#		              -- please write a host name by FQDN.
#		              -- do not write IP address.
#		o Recovery_Port : The connection port at the time of 
#		                  a recovery sequence .
#-------------------------------------------------------------
#<LoadBalance_Server_Info>
#	<Host_Name>   loadbalancer.postgres.jp  </Host_Name>
#	<Recovery_Port>       7780            </Recovery_Port>
#</LoadBalance_Server_Info>
#
#------------------------------------------------------------
# A setup of the upper replication server for cascade connection.
#
#		o Host_Name : The host name of Cluster DB.
#		              -- please write a host name by FQDN.
#		              -- do not write IP address.
#		o Port : The connection port with postmaster.
#		o Recovery_Port : The connection port at the time of 
#		                  a recovery sequence .
#------------------------------------------------------------
#<Replicate_Server_Info>
#	<Host_Name> upper_replicate.postgres.jp </Host_Name>
#	<Port> 8777 </Port>
#	<Recovery_Port> 7778 </Recovery_Port>
#</Replicate_Server_Info>
#
#-------------------------------------------------------------
# A setup of a replication server
#
#		o Replicate_Port : connection for reprication
#		o Recovery_Port : connection for recovery
#-------------------------------------------------------------
<Replication_Port>    8777            </Replication_Port>
<Recovery_Port>       7778            </Recovery_Port>
