<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi Bambo Huang,<br>
<br>
yes, I think you are right. The problem was, that the stonith device did not propper shut down the failed machine. There was&nbsp; a reboot only and we had a split brain problem after that.<br>
<br>
Thank you for your answer.<br>
<br>
Klaus Meister<br>
<br>
<br>
Am 08.11.2012 16:10, schrieb Huang Bambo:
<blockquote type="cite">Hi, Klaus,<br>
&nbsp; I think this is not the problem of pgpool2, but the way you setup your HA system.<br>
&nbsp; Obviously you problem is of split-brain. And I think most HA service can resolve this problem, such as using fence device can reboot node and keep another one as active, and that rebooted node can do recover and run as hot-backup node.<br>
&nbsp; You can find something help at here: <a href="http://linux-ha.org/wiki/Split_Brain" target="_blank">
http://linux-ha.org/wiki/Split_Brain</a><br>
<div class="gmail_extra">&nbsp; Hope helps.<br>
<br>
&nbsp; Bambo Huang<br>
<br>
<div class="gmail_quote">On Thu, Nov 8, 2012 at 4:57 PM, Meister, Klaus <span dir="ltr">
&lt;<a href="mailto:Meister@mecom.de" target="_blank">Meister@mecom.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div lang="DE">
<div>
<p class="">Hi pgpool-hackers,</p>
<p class="">&nbsp;</p>
<p class="">we are using pgpool2-3.1.3 in a productive environment with streaming replication.</p>
<p class="">For the single point of failure pgpool we have a corosync/pacemaker configuration on each database machine.</p>
<p class="">&nbsp;</p>
<p class="">Once &nbsp;we had an automatic &nbsp;failover (because of a network failure) wich worked fine but which we did not realize!(?)</p>
<p class="">2 weeks later there was another failover (wich worked fine too :) &nbsp;and we were back on the obsolete database which was still up and open.</p>
<p class="">&nbsp;</p>
<p class="">To prevent this we are planning to use the pgpool_status file on a shared storage and use it on startup/failover/switchover …</p>
<p class="">This file seems to be written only in case of cleanly stopping the ppool.</p>
<p class="">I think it would be useful to do this every time the status of a node is being changed.</p>
<p class="">&nbsp;</p>
<p class="">Maybe is there another recommended way to solve our problem.</p>
<p class="">&nbsp;</p>
<p class="">With kind regards</p>
<p class="">Klaus Meister</p>
<p class="">&nbsp;</p>
<p class="">&nbsp;</p>
<p class="">&nbsp;</p>
<p class="">&nbsp;</p>
<p class="">-- </p>
<p class="">Dipl.-Phys. Klaus Meister</p>
<p class="">&nbsp;</p>
<p class="">Datenbankadministrator</p>
<p class="">mecom Medien-Communikations-Gesellschaft mbH</p>
<p class="">Mittelweg 143</p>
<p class="">D 20148 Hamburg</p>
<p class="">&nbsp;</p>
<p class="">Tel:&nbsp;&nbsp; <a href="tel:%2B49%2040%204113-32824" value="&#43;4940411332824" target="_blank">
&#43;49 40 4113-32824</a></p>
<p class="">Fax:&nbsp; <a href="tel:%2B49%2040%20451962" value="&#43;4940451962" target="_blank">
&#43;49 40 451962</a></p>
<p class="">Web: &lt;<a href="http://www.mecom.de/" target="_blank">http://www.mecom.de/</a>&gt;</p>
<p class="">Registergericht Hamburg, HRB 43177</p>
<p class="">Geschäftsführer: Ulrich Wiehsalla, Barbara Bliefert</p>
<p class="">--------------------------------------------------------------</p>
<p class="">Sollten Sie nicht der beabsichtigte Empfänger sein, </p>
<p class="">informieren Sie bitte den Absender dieser E-Mail entsprechend.</p>
<p class="">&nbsp;</p>
</div>
</div>
<br>
_______________________________________________<br>
pgpool-hackers mailing list<br>
<a href="mailto:pgpool-hackers@pgpool.net" target="_blank">pgpool-hackers@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</body>
</html>