-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Hi, everyone
I installed this version and I have two nodes of postgresql17 .
pool_version
4.3.7 (tamahomeboshi)
with these configuration in pgpool.conf:
backend_clustering_mode = 'streaming_replication'
listen_addresses = ''
port = 9999
pcp_listen_addresses = ''
pcp_port = 9898
backend_hostname0 = '???'
backend_port0 = ???
backend_weight0 = 1
backend_data_directory0 = '/var/lib/postgresql/17/main'
backend_application_name0 = 'server0'
backend_hostname1 = '???'
backend_port1 = 5432
backend_weight1 = 1
backend_data_directory1 = '/var/lib/postgresql/17/main'
backend_application_name1 = 'server1'
enable_pool_hba = off
pool_passwd = '/etc/pgpool2/pool_passwd'
num_init_children = 32
max_pool = 4
log_destination = 'stderr'
logging_collector = on
log_directory = '/var/log/pgpool'
log_filename = 'pgpool.log'
load_balance_mode = on
statement_level_load_balance = on
sr_check_period = 10
sr_check_user = '???'
sr_check_password = '????'
sr_check_database = 'postgres'
delay_threshold = 5
prefer_lower_delay_standby = on
health_check_period = 10
health_check_timeout = 20
health_check_user = '????'
health_check_password = '????'
health_check_database = 'postgres'
health_check_max_retries = 3
health_check_retry_delay = 5
I don't have any problem to connect to primary and secondry node through my pgpool server but it insists on showing standby as down so it doesn't send read queries to it and functions well for load balancing.
please help me with finding the issue ?
Any help will be appreciated.