<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal">Hi pgpool-hackers,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">we are using pgpool2-3.1.3 in a productive environment with streaming replication.<o:p></o:p></p>
<p class="MsoNormal">For the single point of failure pgpool we have a corosync/pacemaker configuration on each database machine.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Once &nbsp;we had an automatic &nbsp;failover (because of a network failure) wich worked fine but which we did not realize!(?)<o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">To prevent this we are planning to use the pgpool_status file on a shared storage and use it on startup/failover/switchover &#8230;<o:p></o:p></p>
<p class="MsoNormal">This file seems to be written only in case of cleanly stopping the ppool.<o:p></o:p></p>
<p class="MsoNormal">I think it would be useful to do this every time the status of a node is being changed.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Maybe is there another recommended way to solve our problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">With kind regards<o:p></o:p></p>
<p class="MsoNormal">Klaus Meister<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">-- <o:p></o:p></p>
<p class="MsoNormal">Dipl.-Phys. Klaus Meister<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Datenbankadministrator<o:p></o:p></p>
<p class="MsoNormal">mecom Medien-Communikations-Gesellschaft mbH<o:p></o:p></p>
<p class="MsoNormal">Mittelweg 143<o:p></o:p></p>
<p class="MsoNormal">D 20148 Hamburg<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Tel:&nbsp;&nbsp; &#43;49 40 4113-32824<o:p></o:p></p>
<p class="MsoNormal">Fax:&nbsp; &#43;49 40 451962<o:p></o:p></p>
<p class="MsoNormal">Web: &lt;http://www.mecom.de/&gt;<o:p></o:p></p>
<p class="MsoNormal">Registergericht Hamburg, HRB 43177<o:p></o:p></p>
<p class="MsoNormal">Geschäftsführer: Ulrich Wiehsalla, Barbara Bliefert<o:p></o:p></p>
<p class="MsoNormal">--------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal">Sollten Sie nicht der beabsichtigte Empfänger sein, <o:p></o:p></p>
<p class="MsoNormal">informieren Sie bitte den Absender dieser E-Mail entsprechend.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>