Commit 7e3303aa authored by iSergio's avatar iSergio
Browse files

PgPool standby fixed

parent d5e4fd21
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -47,13 +47,13 @@ pcp_socket_dir = '/tmp'

# - Backend Connection Settings -

backend_hostname0 = '__PRIMARY_HOST__'
backend_hostname0 = '__PGPOOL_PRIMARY_HOST__'
backend_port0 = 5433
backend_weight0 = 1
backend_data_directory0 = '/var/lib/pgsql/data'
backend_flag0 = 'ALLOW_TO_FAILOVER'

backend_hostname1 = '__STANDBY_HOST__'
backend_hostname1 = '__PGPOOL_STANDBY_HOST__'
backend_port1 = 5433
backend_weight1 = 1
backend_data_directory1 = '/var/lib/pgsql/data'
@@ -458,7 +458,7 @@ ping_path = '/bin'

# - Watchdog communication Settings -

wd_hostname = '__STANDBY_HOST__'
wd_hostname = '__PGPOOL_STANDBY_HOST__'
                                    # Host name or IP address of this watchdog
                                    # (change requires restart)
wd_port = 9000
@@ -526,7 +526,7 @@ wd_heartbeat_keepalive = 2
wd_heartbeat_deadtime = 6
                                    # Deadtime interval for heartbeat signal (sec)
                                    # (change requires restart)
heartbeat_destination0 = '__PRIMARY_HOST__'
heartbeat_destination0 = '__PGPOOL_PRIMARY_HOST__'
                                    # Host name or IP address of destination 0
                                    # for sending heartbeat signal.
                                    # (change requires restart)
@@ -567,7 +567,7 @@ wd_lifecheck_password = 'postgres'

# - Other pgpool Connection Settings -

other_pgpool_hostname0 = '__PRIMARY_HOST__'
other_pgpool_hostname0 = '__PGPOOL_PRIMARY_HOST__'
                                    # Host name or IP address to connect to for other pgpool 0
                                    # (change requires restart)
other_pgpool_port0 = 5432