<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Pgpool executes failover script on both primary and standby
disappearance.<br>
</p>
<br>
<div class="moz-cite-prefix">10.01.2017 0:43, Ken Young пишет:<br>
</div>
<blockquote
cite="mid:24bd44faeb5f48169a9261936ba6a3b7@MERCMBX48D.na.SAS.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"Edwardian Script ITC";
panose-1:3 3 3 2 4 7 7 13 8 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hey folks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If a standby PostgreSQL server (NOT
primary) goes down or is taken off line, is there a way to
trigger a shell script for an action for this event in
pgpool? I know this information is available via the pgpool
status query, but I’d like to script an action for this event
when it happens. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:22.0pt;font-family:"Edwardian Script
ITC"">Ken Young</span><span
style="font-family:"Edwardian Script ITC""><o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif"><a class="moz-txt-link-abbreviated" href="mailto:Ken.Young@sas.com">Ken.Young@sas.com</a></span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif">
<br>
</span><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif">Data
Management R&D</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif">
<br>
</span><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif">SAS
Institute, Inc.</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif">
<br>
</span><b><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif">919-531-9319
</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><a
moz-do-not-send="true" href="http://www.sas.com/"><span
style="color:blue">http://www.sas.com</span></a></span><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif">
<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span
style="font-size:13.5pt;font-family:"Helvetica",sans-serif">SAS...</span>
The Power to Know</i></b>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pgpool-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a>
<a class="moz-txt-link-freetext" href="http://www.pgpool.net/mailman/listinfo/pgpool-general">http://www.pgpool.net/mailman/listinfo/pgpool-general</a>
</pre>
</blockquote>
<br>
</body>
</html>