wip
This commit is contained in:
15
pgpool.conf
15
pgpool.conf
@@ -1,3 +1,16 @@
|
||||
listen_addresses = '*'
|
||||
port = 5432
|
||||
unix_socket_directories = '/run'
|
||||
pcp_socket_dir = '/run'
|
||||
enable_pool_hba = off
|
||||
allow_clear_text_frontend_auth = on
|
||||
process_management_mode = 'dynamic'
|
||||
backend_clustering_mode = 'raw'
|
||||
health_check_timeout = 5
|
||||
health_check_period = 5
|
||||
health_check_user = 'pgpool'
|
||||
health_check_password = .....
|
||||
|
||||
backend_clustering_mode = 'streaming_replication'
|
||||
listen_addresses = '*'
|
||||
port = 5432
|
||||
@@ -11,7 +24,7 @@ backend_port1 = 5432
|
||||
backend_weight1 = 1
|
||||
backend_data_directory1 = '/var/lib/postgresql/data'
|
||||
backend_flag1 = 'ALLOW_TO_FAILOVER'
|
||||
enable_pool_hba = on
|
||||
|
||||
logdir = '/var/log/postgresql'
|
||||
sr_check_user = 'pgpool'
|
||||
sr_check_password = 'secret'
|
||||
|
||||
Reference in New Issue
Block a user