SHARE
TWEET

Untitled

a guest Nov 25th, 2017 246 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. listen_addresses = 'localhost'
  2. port = 9999
  3. socket_dir = '/tmp'
  4. listen_backlog_multiplier = 2
  5. serialize_accept = off
  6.  
  7. pcp_listen_addresses = '*'
  8. pcp_port = 9898
  9. pcp_socket_dir = '/tmp'
  10.  
  11. backend_hostname0 = 'localhost'
  12. backend_port0 = 5433
  13. backend_weight0 = 1
  14. backend_data_directory0 = '/var/lib/pgsql/data'
  15. backend_flag0 = 'ALLOW_TO_FAILOVER'
  16.  
  17. backend_hostname1 = 'host2'
  18. backend_port1 = 5433
  19. backend_weight1 = 1
  20. backend_data_directory1 = '/var/lib/pgsql/data'
  21. backend_flag1 = 'ALLOW_TO_FAILOVER'
  22.  
  23. enable_pool_hba = on
  24. pool_passwd = ''
  25.  
  26. authentication_timeout = 60
  27.  
  28. ssl = off
  29.  
  30. num_init_children = 100
  31. max_pool = 4
  32. child_life_time = 7200
  33. child_max_connections = 0
  34. connection_life_time = 0
  35. client_idle_limit = 0
  36.  
  37. log_destination = 'stderr'
  38. log_line_prefix = '%t: pid %p: '   # printf-style string to output at beginning of each log line.
  39. log_connections = off
  40. log_hostname = off
  41. log_statement = off
  42. log_per_node_statement = off
  43. log_standby_delay = 'none'
  44.  
  45. syslog_facility = 'LOCAL0'
  46. syslog_ident = 'pgpool'
  47.  
  48. pid_file_name = '/var/run/postgresql/pgpool.pid'
  49. logdir = '/var/log/postgresql'
  50.  
  51. connection_cache = on
  52. reset_query_list = 'ABORT; DISCARD ALL'
  53.  
  54. replication_mode = off
  55. replicate_select = off
  56. insert_lock = on
  57. lobj_lock_table = ''
  58. replication_stop_on_mismatch = off
  59. failover_if_affected_tuples_mismatch = off
  60.  
  61. load_balance_mode = on
  62. ignore_leading_white_space = on
  63. white_function_list = ''
  64. black_function_list = 'nextval,setval,nextval,setval'
  65. database_redirect_preference_list = ''
  66. app_name_redirect_preference_list = ''
  67. allow_sql_comments = off
  68.  
  69. master_slave_mode = on
  70. master_slave_sub_mode = 'stream'
  71. sr_check_period = 0
  72. sr_check_user = 'replica'
  73. sr_check_password = ''
  74. sr_check_database = 'postgres'
  75. delay_threshold = 0
  76. follow_master_command = ''
  77.  
  78. health_check_period = 0
  79. health_check_timeout = 20
  80. health_check_user = 'nobody'
  81. health_check_password = ''
  82. health_check_database = ''
  83. health_check_max_retries = 0
  84. health_check_retry_delay = 1
  85. connect_timeout = 10000
  86.  
  87. health_check_period0 = 0
  88. health_check_timeout0 = 20
  89. health_check_user0 = 'nobody'
  90. health_check_password0 = ''
  91. health_check_database0 = ''
  92. health_check_max_retries0 = 0
  93. health_check_retry_delay0 = 1
  94. connect_timeout0 = 10000
  95.  
  96. failover_command = ''
  97. failback_command = ''
  98. fail_over_on_backend_error = on
  99. search_primary_node_timeout = 300
  100.  
  101. recovery_user = 'nobody'
  102. recovery_password = ''
  103. recovery_1st_stage_command = ''
  104. recovery_2nd_stage_command = ''
  105. recovery_timeout = 90
  106. client_idle_limit_in_recovery = 0
  107.  
  108. use_watchdog = off
  109. trusted_servers = ''
  110. ping_path = '/bin'
  111. wd_hostname = ''
  112. wd_port = 9000
  113. wd_priority = 1
  114. wd_authkey = ''
  115. wd_ipc_socket_dir = '/tmp'
  116.  
  117. delegate_IP = ''
  118. if_cmd_path = '/sbin'
  119. if_up_cmd = 'ip addr add $_IP_$/24 dev eth0 label eth0:0'
  120. if_down_cmd = 'ip addr del $_IP_$/24 dev eth0'
  121. arping_path = '/usr/sbin'
  122. arping_cmd = 'arping -U $_IP_$ -w 1'
  123. clear_memqcache_on_escalation = on
  124. wd_escalation_command = ''
  125. wd_de_escalation_command = ''
  126. failover_when_quorum_exists = on
  127. failover_require_consensus = on
  128. allow_multiple_failover_requests_from_node = off
  129. wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
  130. wd_lifecheck_method = 'heartbeat'
  131. wd_interval = 10
  132. wd_heartbeat_port = 9694
  133. wd_heartbeat_keepalive = 2
  134. wd_heartbeat_deadtime = 30
  135. heartbeat_destination0 = 'host0_ip1'
  136. heartbeat_destination_port0 = 9694
  137. heartbeat_device0 = ''
  138.  
  139. wd_life_point = 3
  140. wd_lifecheck_query = 'SELECT 1'
  141. wd_lifecheck_dbname = 'template1'
  142. wd_lifecheck_user = 'nobody'
  143. wd_lifecheck_password = ''
  144.  
  145. relcache_expire = 0
  146. relcache_size = 256
  147. check_temp_table = on
  148. check_unlogged_table = on
  149.  
  150. memory_cache_enabled = on
  151. memqcache_method = 'memcached'
  152. memqcache_memcached_host = 'localhost'
  153. memqcache_memcached_port = 11225
  154. memqcache_total_size = 536870912
  155. memqcache_max_num_cache = 10000000
  156. memqcache_expire = 0
  157. memqcache_auto_cache_invalidation = on
  158. memqcache_maxcache = 1024000
  159. memqcache_cache_block_size = 1048576
  160. memqcache_oiddir = '/var/log/postgresql/oiddir'
  161. white_memqcache_table_list = ''
  162. black_memqcache_table_list = ''
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top