<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (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;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></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="IT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have configured the PgPool 4.1.13 cluster with three servers using PostgreSQL 13 following the guide
<a href="https://www.pgpool.net/docs/41/en/html/example-cluster.html">https://www.pgpool.net/docs/41/en/html/example-cluster.html</a>. After various problems with configuring the virtual ip it now assigns the ip but after a while it goes "in network trouble"
and the cluster loses the network connection. When I was not assigning the virtual ip the cluster was up and seemed to work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">The pgpool log:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:24 sv25244 pgpool[1009552]: [26-1] 2022-10-13 12:04:24: pid 1009552: LOG: new IPC connection received<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:24 sv25244 postgres[1009668]: if-up.sh: start: trying to assign 192.168.1.10/24 to 'System ens192'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:24 sv25244 pgpool[1009552]: [27-1] 2022-10-13 12:04:24: pid 1009552: WARNING: network IP is removed and system has no IP is assigned<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:24 sv25244 pgpool[1009552]: [27-2] 2022-10-13 12:04:24: pid 1009552: DETAIL: changing the state to in network trouble<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:24 sv25244 pgpool[1009552]: [28-1] 2022-10-13 12:04:24: pid 1009552: LOG: waiting for escalation process to exit before starting de-escalation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:24 sv25244 postgres[1009697]: if-up.sh: Command completed with 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:25 sv25244 pgpool[1009552]: [29-1] 2022-10-13 12:04:25: pid 1009552: LOG: waiting for escalation process to exit before starting de-escalation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:26 sv25244 pgpool[1009552]: [30-1] 2022-10-13 12:04:26: pid 1009552: LOG: waiting for escalation process to exit before starting de-escalation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:26 sv25244 pgpool[1009666]: [25-1] 2022-10-13 12:04:26: pid 1009666: LOG: successfully acquired the delegate IP:"192.168.1.10"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:26 sv25244 pgpool[1009666]: [25-2] 2022-10-13 12:04:26: pid 1009666: DETAIL: 'if_up_cmd' returned with success<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:26 sv25244 pgpool[1009552]: [31-1] 2022-10-13 12:04:26: pid 1009552: LOG: waiting for escalation process to exit before starting de-escalation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:26 sv25244 pgpool[1009552]: [32-1] 2022-10-13 12:04:26: pid 1009552: LOG: watchdog escalation process with pid: 1009666 exit with SUCCESS.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:27 sv25244 pgpool[1009552]: [33-1] 2022-10-13 12:04:27: pid 1009552: LOG: watchdog node state changed from [MASTER] to [IN NETWORK TROUBLE]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oct 13 12:04:27 sv25244 pgpool[1009552]: [34-1] 2022-10-13 12:04:27: pid 1009552: FATAL: system has lost the network<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thank you very much,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Marco<o:p></o:p></span></p>
</div>
</body>
</html>