<div dir="ltr"><div>Hi</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 6:28 PM Alexander Dorogensky &lt;<a href="mailto:amazinglifetime@gmail.com">amazinglifetime@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:&quot;courier new&quot;,monospace">Hi everyone,</div><div style="font-family:&quot;courier new&quot;,monospace"><br></div><div style="font-family:&quot;courier new&quot;,monospace">We generally set this parameter to one host to remedy split brain situations but some customers have unreliable networks and therefore ping to that host would fail and pgpool would shut down. </div><div style="font-family:&quot;courier new&quot;,monospace"><br></div><div style="font-family:&quot;courier new&quot;,monospace">My understanding was that trusted server(s) connection will only be tested after degenerated state was detected (before triggering failover), is it correct?</div><div style="font-family:&quot;courier new&quot;,monospace"><br></div><div style="font-family:&quot;courier new&quot;,monospace">If not.. how do I configure trusted servers in a flaky network?</div></div></blockquote><div><br></div><div>No thats not correct, If the trusted_server(s) are configured than Pgpool-II try to ping the trusted_servers after every life-check interval (wd_interval),</div><div><br></div><div>Basically the trusted_servers checking was introduced in the pgpool watchdog, during the early days of watchdog, and as you mentioned its purpose was to </div><div>mitigate the split-brain syndrome, by making sure that the Pgpool-II node which gets isolated from the network because of network partitioning or</div><div>some other network issue removes itself from the Pgpool-II cluster.</div><div><br></div><div>But since Pgpool-II 3.5 there have been lots of enhancements made to the Pgpool-II watchdog specifically in the area of guarding against the split-brain and</div><div>other similar scenarios, and the latest versions of Pgpool-II does not require trusted_servers configuration to detect and avoid split-brain.</div><div><br></div><div>So if you are using the Pgpool-II &gt; V 3.5 and the Pgpool-II cluster is configured with odd number of nodes (&gt;=3) than you can safely disable the trusted_server</div><div>configuration, and watchdog will take care of split-brain issue itself.</div><div><br></div><div>Thanks</div><div>Best Regards</div><div>Muhammad Usama</div><div><br></div><br class="gmail-Apple-interchange-newline"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:&quot;courier new&quot;,monospace"><br></div><div style="font-family:&quot;courier new&quot;,monospace">Thanks <br></div></div>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net" target="_blank">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
</blockquote></div></div>