<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/05/13 14:07, Fernando Buzon
wrote:<br>
</div>
<blockquote
cite="mid:WM!24dd489a20885677f0bf880a07c4f166e9920acbc8795f7d629deb26077327dc28d10e483f92adf5afc71f9182a7cc52!@asav-1.01.com"
type="cite">
<div><br>
</div>
<div>FINAL:</div>
<div>Like I said, all is working nice.</div>
<div>And now I am with the 2 pgpools up and working again.</div>
<div>The escaled pgpool is pgpool-01.</div>
<div>I stop it with "killall -9 pgpool" and now wd_lifecheck
worked fine on pgpool-02!</div>
<div>I dont now what was the problem early, but now is working!</div>
<div><br>
</div>
</blockquote>
<br>
Maybe you fix some small issue in the config during your testing.<br>
<br>
<blockquote
cite="mid:WM!24dd489a20885677f0bf880a07c4f166e9920acbc8795f7d629deb26077327dc28d10e483f92adf5afc71f9182a7cc52!@asav-1.01.com"
type="cite">
<div>log on pgpool-02:</div>
<div>2013-08-05 17:52:42 LOG: pid 11524: wd_lifecheck: lifecheck
failed 3 times. pgpool 1 (<a moz-do-not-send="true"
href="http://10.0.0.21:5432">10.0.0.21:5432</a>) seems not to
be working</div>
<div>2013-08-05 17:52:42 LOG: pid 11524: wd_escalation:
escalated to master pgpool</div>
<div>2013-08-05 17:52:42 LOG: pid 11524: wd_escalation:
escalated to delegate_IP holder</div>
<div>2013-08-05 17:52:52 LOG: pid 11524: wd_lifecheck: lifecheck
failed 3 times. pgpool 1 (<a moz-do-not-send="true"
href="http://10.0.0.21:5432">10.0.0.21:5432</a>) seems not to
be working</div>
<div><br>
</div>
<div>So rest only one problem, that is how to down delegate_ip
from the pgpool-01?</div>
<div>Because both servers is responding to delegate_ip.</div>
</blockquote>
<br>
Well, the reason it doesn't get removed on pgpool-01 is because the
killall -9 kills the pgpool processes including the watchdog without
any hope of them running the ifconfig down command.<br>
<br>
That said, you just need to run the ifconfig down command on
pgpool-01.<br>
<br>
I'm sure what you're trying to simulate is a crash, but I'm not sure
killing ALL the pgpool processes with -9 is a good simulation,
because more likely only one of the backends would crash.<br>
<br>
Maybe one of the other folks on the list can suggest a better
simulation for a crashing pgpool service.<br>
<br>
<br>
</body>
</html>