<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. 
&quot;health check failed on node 0 but failover is disallowed for the node&quot;.
 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:&quot;<a href="http://10.12.1.225:5432" target="_blank">10.12.1.225:5432</a>&quot;
 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 = &#39;10.12.1.225&#39; <br></div><div>backend_port0 = 5432 <br></div><div>backend_weight0 = 1 <br></div><div>backend_data_directory0 = &#39;/postgres/data/pgdata&#39; <br></div><div>backend_flag0 = &#39;ALLOW_TO_FAILOVER&#39;</div><br><div>backend_hostname1 = &#39;10.12.1.61&#39; <br></div><div>backend_port1 = 5432 <br></div><div>backend_weight1 = 1 <br></div><div>backend_data_directory1 = &#39;/postgres/data/pgdata&#39; <br></div><div>backend_flag1 = &#39;ALLOW_TO_FAILOVER&#39;</div><br><div>master_slave_mode = on <br></div><div>master_slave_sub_mode = &#39;stream&#39; <br></div><div>health_check_period = 10 <br></div><div>health_check_timeout = 5 <br></div><div>health_check_user = &#39;nobody&#39; <br></div><div>health_check_password = &#39;&#39; <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 = &#39;&#39; <br></div><div>failback_command = &#39;&#39;</div>

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