123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- listen_addresses = '*'
-
-
- port = 9999
-
-
- socket_dir = '/tmp'
-
-
-
-
- listen_backlog_multiplier = 2
-
-
-
- serialize_accept = off
-
-
- pcp_listen_addresses = '*'
-
-
-
- pcp_port = 9898
-
-
- pcp_socket_dir = '/tmp'
-
-
-
-
- backend_hostname0 = 'pg_1'
-
- backend_port0 = 5432
-
- backend_weight0 = 1
-
- backend_data_directory0 = '/var/lib/postgresql/data'
-
- backend_flag0 = 'ALLOW_TO_FAILOVER'
-
-
- backend_hostname1 = 'pg_2'
- backend_port1 = 5432
- backend_weight1 = 1
- backend_data_directory1 = '/var/lib/postgresql/data'
- backend_flag1 = 'ALLOW_TO_FAILOVER'
- enable_pool_hba = off
-
- pool_passwd = 'pool_passwd'
-
-
-
- authentication_timeout = 60
-
-
- ssl = off
-
-
-
-
-
-
-
-
-
-
-
- num_init_children = 32
-
-
- max_pool = 4
-
-
- child_life_time = 300
-
- child_max_connections = 0
-
-
- connection_life_time = 0
-
-
- client_idle_limit = 0
-
-
-
- log_destination = 'stderr'
-
-
-
- log_line_prefix = '%t: pid %p: '
- log_connections = off
-
- log_hostname = off
-
-
- log_statement = off
-
- log_per_node_statement = off
-
-
- log_standby_delay = 'none'
-
-
-
- syslog_facility = 'LOCAL0'
-
- syslog_ident = 'pgpool'
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- pid_file_name = '/var/run/pgpool/pgpool.pid'
-
-
-
-
-
- logdir = '/tmp'
-
-
- connection_cache = on
-
-
-
-
-
- reset_query_list = 'ABORT; DISCARD ALL'
-
- replication_mode = off
-
-
- replicate_select = off
-
-
-
-
- insert_lock = on
-
-
-
-
- lobj_lock_table = ''
-
-
-
- replication_stop_on_mismatch = off
-
-
-
-
- failover_if_affected_tuples_mismatch = off
-
-
-
-
-
-
- load_balance_mode = on
-
-
- ignore_leading_white_space = on
-
- white_function_list = ''
-
-
-
- black_function_list = 'nextval,setval'
-
-
-
- database_redirect_preference_list = ''
-
-
-
- app_name_redirect_preference_list = ''
-
-
-
- allow_sql_comments = off
-
-
-
-
- master_slave_mode = on
-
-
- master_slave_sub_mode = 'stream'
-
-
-
-
- sr_check_period = 0
-
-
- sr_check_user = 'odoo'
-
-
-
- sr_check_password = 'odoo'
-
- sr_check_database = 'odoo'
-
- delay_threshold = 0
-
-
-
- follow_master_command = ''
-
-
-
-
-
-
-
-
-
-
-
-
-
- health_check_period = 0
-
-
- health_check_timeout = 20
-
-
- health_check_user = 'odoo'
-
- health_check_password = 'odoo'
-
- health_check_database = 'odoo'
-
- health_check_max_retries = 0
-
- health_check_retry_delay = 1
-
- connect_timeout = 10000
-
-
-
-
-
- health_check_period0 = 0
- health_check_timeout0 = 20
- health_check_user0 = 'nobody'
- health_check_password0 = ''
- health_check_database0 = ''
- health_check_max_retries0 = 0
- health_check_retry_delay0 = 1
- connect_timeout0 = 10000
- failover_command = '/etc/failover.sh %d %P %H %R'
-
-
-
-
-
-
-
-
-
-
-
-
-
- failback_command = ''
-
-
-
-
-
-
-
-
-
-
-
-
-
- fail_over_on_backend_error = on
-
-
-
-
- search_primary_node_timeout = 300
-
-
-
-
- recovery_user = 'odoo'
-
- recovery_password = 'odoo'
-
- recovery_1st_stage_command = '/etc/recovery_1st_stage'
-
- recovery_2nd_stage_command = ''
-
- recovery_timeout = 90
-
-
-
- client_idle_limit_in_recovery = 0
-
-
-
-
-
- use_watchdog = off
-
-
- trusted_servers = ''
-
-
-
-
- ping_path = '/bin'
-
-
- wd_hostname = 'pg_1'
- wd_hostname = 'pg_2'
-
-
- wd_port = 9000
-
-
- wd_priority = 1
-
-
- wd_authkey = ''
-
-
- wd_ipc_socket_dir = '/tmp'
-
-
-
-
- delegate_IP = '172.20.0.55'
-
-
-
- if_cmd_path = '/sbin'
-
-
- if_up_cmd = 'ip addr add $_IP_$/24 dev eth0 label eth0:0'
-
-
- if_down_cmd = 'ip addr del $_IP_$/24 dev eth0'
-
-
- arping_path = '/usr/sbin'
-
-
- arping_cmd = 'arping -U $_IP_$ -w 1'
-
-
- clear_memqcache_on_escalation = on
-
-
-
-
-
-
- wd_escalation_command = ''
-
-
- wd_de_escalation_command = ''
-
-
- failover_when_quorum_exists = on
-
-
-
- failover_require_consensus = on
-
-
-
- allow_multiple_failover_requests_from_node = off
-
-
-
- wd_monitoring_interfaces_list = ''
-
-
-
-
-
- wd_lifecheck_method = 'heartbeat'
-
-
- wd_interval = 10
-
-
- wd_heartbeat_port = 9694
-
-
- wd_heartbeat_keepalive = 2
-
-
- wd_heartbeat_deadtime = 30
-
-
- heartbeat_destination0 = 'host0_ip1'
-
-
-
- heartbeat_destination_port0 = 9694
-
-
-
-
- heartbeat_device0 = ''
-
-
-
-
-
-
- wd_life_point = 3
-
-
- wd_lifecheck_query = 'SELECT 1'
-
-
- wd_lifecheck_dbname = 'template1'
-
-
- wd_lifecheck_user = 'nobody'
-
-
- wd_lifecheck_password = ''
-
-
-
-
-
-
-
-
- relcache_expire = 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- relcache_size = 256
-
-
-
-
- check_temp_table = on
-
-
-
-
-
-
- check_unlogged_table = on
-
-
-
-
-
-
- memory_cache_enabled = off
-
- memqcache_method = 'shmem'
-
-
-
- memqcache_memcached_host = 'localhost'
-
-
-
-
- memqcache_memcached_port = 11211
-
-
-
- memqcache_total_size = 67108864
-
-
-
-
- memqcache_max_num_cache = 1000000
-
-
-
-
-
- memqcache_expire = 0
-
-
-
- memqcache_auto_cache_invalidation = on
-
-
-
-
- memqcache_maxcache = 409600
-
-
-
- memqcache_cache_block_size = 1048576
-
-
-
- memqcache_oiddir = '/var/log/pgpool/oiddir'
-
-
- white_memqcache_table_list = ''
-
-
-
- black_memqcache_table_list = ''
-
-
-
|