mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
connection retries, these parameters along with master_response_timeout determines the amount of time since failure to failover
36 lines
967 B
Plaintext
36 lines
967 B
Plaintext
###################################################
|
|
# Replication Manager configuration file
|
|
###################################################
|
|
|
|
# Cluster name
|
|
cluster=test
|
|
|
|
# Node ID
|
|
node=2
|
|
node_name=standby2
|
|
|
|
# Connection information
|
|
conninfo='host=192.168.204.104'
|
|
rsync_options=--archive --checksum --compress --progress --rsh=ssh
|
|
|
|
# How many seconds we wait for master response before declaring master failure
|
|
master_response_timeout=60
|
|
|
|
# How many time we try to reconnect to master before starting failover procedure
|
|
reconnect_attempts=6
|
|
reconnect_interval=10
|
|
|
|
# Autofailover options
|
|
failover=automatic
|
|
priority=-1
|
|
promote_command='repmgr promote'
|
|
follow_command='repmgr follow'
|
|
|
|
# Log level: possible values are DEBUG, INFO, NOTICE, WARNING, ERR, ALERT, CRIT or EMERG
|
|
# Default: NOTICE
|
|
loglevel=NOTICE
|
|
|
|
# Logging facility: possible values are STDERR or - for Syslog integration - one of LOCAL0, LOCAL1, ..., LOCAL7, USER
|
|
# Default: STDERR
|
|
logfacility=STDERR
|