<div dir="ltr"><br clear="all">
I have a fairly (I thought) straightforward pgpool setup, the backend is
 postrgresql database that is streaming to a hot standby. I am testing 
the failover, but when I shutdown the primary database instance and open
 the standby database instance for read/write, i get this message. 
"health check failed on node 0 but failover is disallowed for the node".
 What setting am I missing here?<br><br clear="all"><br><div>Applicable 
section from the log: <br></div><div><br></div><div>Jul 5 10:45:14 pgpool1 pgpool-II-10[32640]: [13-1]
 2019-07-05 10:45:14: pid 32640: ERROR: failed to make persistent db 
connection Jul 5 10:45:14 pgpool1 pgpool-II-10[32640]: [13-2] 2019-07-05
 10:45:14: pid 32640: DETAIL: connection to host:"<a href="http://10.12.1.225:5432" target="_blank">10.12.1.225:5432</a>"
 failed Jul 5 10:45:14 pgpool1 pgpool-II-10[32640]: [14-1] 2019-07-05 
10:45:14: pid 32640: LOG: health check failed on node 0 but failover is 
disallowed for the node</div><br>Here are the applicable sections from my pgpool.conf<br>- Backend Connection Settings -<br><br><div>backend_hostname0 = '10.12.1.225' <br></div><div>backend_port0 = 5432 <br></div><div>backend_weight0 = 1 <br></div><div>backend_data_directory0 = '/postgres/data/pgdata' <br></div><div>backend_flag0 = 'ALLOW_TO_FAILOVER'</div><br><div>backend_hostname1 = '10.12.1.61' <br></div><div>backend_port1 = 5432 <br></div><div>backend_weight1 = 1 <br></div><div>backend_data_directory1 = '/postgres/data/pgdata' <br></div><div>backend_flag1 = 'ALLOW_TO_FAILOVER'</div><br><div>master_slave_mode = on <br></div><div>master_slave_sub_mode = 'stream' <br></div><div>health_check_period = 10 <br></div><div>health_check_timeout = 5 <br></div><div>health_check_user = 'nobody' <br></div><div>health_check_password = '' <br></div><div>health_check_max_retries = 0 <br></div><div>health_check_retry_delay = 1</div><div> connect_timeout = 10000 <br></div><div>failover_command = '' <br></div><div>failback_command = ''</div>

<br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew W. Kerber<br><br>'If at first you dont succeed, dont take up skydiving.'</div></div>