X-Git-Url: https://git.8kb.co.uk/?p=slony-i%2Fpgbouncer_follower;a=blobdiff_plain;f=pgbouncer_follower_rw.conf;h=e780cac6c8988e283a4c0c98f29744248ce31653;hp=f0f0d8fe52dfcfa6b619ce6b153e6ecc039e3a29;hb=c7a68db8670965d110468e2f2696e60c209c0393;hpb=d6f52cf8280c4f740170bf1f93d31de2e0fd1627 diff --git a/pgbouncer_follower_rw.conf b/pgbouncer_follower_rw.conf index f0f0d8f..e780cac 100755 --- a/pgbouncer_follower_rw.conf +++ b/pgbouncer_follower_rw.conf @@ -16,11 +16,15 @@ server_conninfo=dbname=TEST host=localhost port=5435 #------------------------------------------------------------------------------ # PgBouncer follower information #------------------------------------------------------------------------------ -debug = true +debug = false follower_poll_interval=5000 # Cluster state poll interval (milliseconds) slony_sets_to_follow=all # Comma separated list of set id's to follow E.g. "1,2,3,4" or "all" +only_follow_origins=true # If true pgbouncer will only be reconfigured and reloaded + # when the origin of a set moves. If false any changes to origins, + # providers or subscribers will initiate a reconfigure and reload. + pool_mode=rw # Values are rw/ro. "rw" follows the origin node # whereas "ro" will follow a subscriber of the sets # specified in slony_sets_to_follow @@ -34,7 +38,7 @@ log_file=/var/slony/pgbouncer_follower/pgbouncer_follower_%mode.log pid_file=/var/run/pgbouncer_follower_%mode.pid # Pidfile for poll mode pool_conf_template=/etc/pgbouncer/pgbouncer_%mode.template # Template configuration file pool_conf_target=/etc/pgbouncer/pgbouncer_%mode.ini # Target configuration file to be modified -pool_reload_command=invoke-rc.d pgbouncer_%mode reload # Command used to action configuration changes +pool_reload_command=/etc/init.d/pgbouncer_%mode reload # Command used to action configuration changes # Sepcial values for status_file, log_file, pool_conf_template # pool_conf_target and pool_reload_command parameters: # %mode - Pool Mode