<p dir="ltr">Be really careful to not only do the sysctl change but also make sure that all the machines can reach each other even if they don&#39;t have the shared IP.</p>
<p dir="ltr">Otherwise you will create a very nasty loop of constantly failing over pgpools. </p>
<p dir="ltr">You could assign an IP address from a different network than the one clients use to all the interfaces</p>
<p dir="ltr">That&#39;s what I meant with the second part of my answer. </p>
<p dir="ltr">Philip</p>
<div class="gmail_quote">On Jul 14, 2012 8:33 PM, &quot;Lazáro Rubén García Martínez&quot; &lt;<a href="mailto:lgarciam@vnz.uci.cu">lgarciam@vnz.uci.cu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Philip thank you very much for your answer. Now it&#39;s working.<br>
<br>
Regards.<br>
________________________________________<br>
From: Philip Hofstetter [<a href="mailto:phofstetter@sensational.ch">phofstetter@sensational.ch</a>]<br>
Sent: Saturday, July 14, 2012 1:40 PM<br>
To: Lazáro Rubén García Martínez<br>
Cc: <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
Subject: Re: [pgpool-general: 734] Error with listen_addresses and watchdog in pgpool-II-3.2beta2<br>
<br>
Hi,<br>
<br>
<br>
On Sat, Jul 14, 2012 at 8:25 PM, Lazáro Rubén García Martínez<br>
&lt;<a href="mailto:lgarciam@vnz.uci.cu">lgarciam@vnz.uci.cu</a>&gt; wrote:<br>
<br>
&gt; I am configuring pgpool for using the watchdog functionality. The virtual IP manage be watchdog is<br>
&gt; 10.13.8.232. When I configure listen_addresses property for listen only over the virtual ip, pgpool<br>
&gt; is not start. I configure listen_addresses like this because at this way I have the warranty that the<br>
&gt; users only may connect to pgpool, through the vip.<br>
<br>
In order to listen on an address that&#39;s not currently configured to<br>
any interface, you have to enable ip_nonlocal_bind (I&#39;m assuming<br>
you&#39;re using linux):<br>
<br>
echo 1 &gt; /proc/sys/net/ipv4/ip_nonlocal_bind<br>
<br>
If it&#39;s a newer linux distro, add<br>
<br>
net.ipv4.ip_nonlocal_bind = 1<br>
<br>
to /etc/sysctl.conf<br>
<br>
You&#39;d still have to bring up another address though (it can be totally<br>
private) for the various hosts to see each other even when they don&#39;t<br>
have the virtual address for the watchdog to work correctly.<br>
<br>
Philip<br>
<br>
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br>
<a href="http://www.antiterroristas.cu" target="_blank">http://www.antiterroristas.cu</a><br>
<a href="http://justiciaparaloscinco.wordpress.com" target="_blank">http://justiciaparaloscinco.wordpress.com</a><br>
<br>
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br>
<a href="http://www.antiterroristas.cu" target="_blank">http://www.antiterroristas.cu</a><br>
<a href="http://justiciaparaloscinco.wordpress.com" target="_blank">http://justiciaparaloscinco.wordpress.com</a><br>
</blockquote></div>