<div dir="ltr"><div><div><div>if i have three different servers and each one of them running pgpool and postgresql.<br></div>One of the server is Primary db, the other two connect to primary with streaming replication.<br>
<br></div>If on primary I set the trusted_server to the other two nodes, and only one of the server is not pingable to the primary, what would happen?<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, May 13, 2013 at 11:34 PM, Yugo Nagata <span dir="ltr"><<a href="mailto:nagata@sraoss.co.jp" target="_blank">nagata@sraoss.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div><div class="h5"><br>
On Mon, 13 May 2013 22:56:46 -0500<br>
ning chan <<a href="mailto:ninchan8328@gmail.com">ninchan8328@gmail.com</a>> wrote:<br>
<br>
> Hi All,<br>
> There is a parameter "trusted_servers" under the Watchdog session to check<br>
> the upstream connection by pinging the server.<br>
><br>
> I would like to know what happen if any of the listed server is not<br>
> pingable?<br>
> What kind of action will pgpool take?<br>
> Or what happen if none of the server are pingable?<br>
<br>
</div></div>If any of the server is pingalbe, nothing occurs.<br>
<br>
If none of the server are pingable, watchdog changes the pgpool status to down.<br>
If the pgpool is active (VIP holder), any other pgpool becomes new active.<br>
<br>
><br>
> Thanks~<br>
> Ning<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Yugo Nagata <<a href="mailto:nagata@sraoss.co.jp">nagata@sraoss.co.jp</a>><br>
</font></span></blockquote></div><br></div>