#============================================================
#          Cluster DB Server configuration file
#------------------------------------------------------------
# file: cluster.conf
#------------------------------------------------------------
# This file controls:
#       o which hosts & port are replication server
#       o which port use for replication request to replication server
#       o which command use for recovery function
#============================================================
#------------------------------------------------------------
# set Replication Server information
#		o Host_Name : hostname
#		o Port : connection for postmaster
#		o Recovery_Port : connection for recovery process
#------------------------------------------------------------
<Replicate_Server_Info>
	<Host_Name> replicate1.postgres.jp </Host_Name>
	<Port> 8777 </Port>
	<Recovery_Port> 7778 </Recovery_Port>
</Replicate_Server_Info>
#<Replicate_Server_Info>
#	<Host_Name> replicate2.postgres.jp </Host_Name>
#	<Port> 8777 </Port>
#	<Recovery_Port> 7778 </Recovery_Port>
#</Replicate_Server_Info>
#<Replicate_Server_Info>
#	<Host_Name> replicate3.postgres.jp </Host_Name>
#	<Port> 8777 </Port>
#	<Recovery_Port> 7778 </Recovery_Port>
#</Replicate_Server_Info>
#-------------------------------------------------------------
# set Cluster DB Server information
#		o Recovery_Port : connection for recovery
#		o Rsync_Path : path of rsync command 
#		o Rsync_Option : file transfer option for rsync
#       o When_Stand_Alone : When all replication servers fell,
#                            you can set up two kinds of permittion,
#                            "real_only" or "read_write".
#-------------------------------------------------------------
<Recovery_Port> 7779 </Recovery_Port>
<Rsync_Path> /usr/bin/rsync </Rsync_Path>
<Rsync_Option> ssh -1 </Rsync_Option>
<When_Stand_Alone> read_only  </When_Stand_Alone>
#-------------------------------------------------------------
# set partitional replicate control information
#     set DB name and Table name to stop reprication
#       o DB_Name : DB name
#       o Table_Name : table name
#-------------------------------------------------------------
#<Not_Replicate_Info>
#	<DB_Name>     test_db      </DB_Name>
#	<Table_Name>  log_table    </Table_Name>
#</Not_Replicate_Info>
