<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">&lt;<a href="mailto:nagata@sraoss.co.jp" target="_blank">nagata@sraoss.co.jp</a>&gt;</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 &lt;<a href="mailto:ninchan8328@gmail.com">ninchan8328@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,<br>
&gt; There is a parameter &quot;trusted_servers&quot; under the Watchdog session to check<br>
&gt; the upstream connection by pinging the server.<br>
&gt;<br>
&gt; I would like to know what happen if any of the listed server is not<br>
&gt; pingable?<br>
&gt; What kind of action will pgpool take?<br>
&gt; 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>
&gt;<br>
&gt; Thanks~<br>
&gt; Ning<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Yugo Nagata &lt;<a href="mailto:nagata@sraoss.co.jp">nagata@sraoss.co.jp</a>&gt;<br>
</font></span></blockquote></div><br></div>