<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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
span.EmailStyle20
{mso-style-type:personal-compose;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Thanks for your reply and your time ,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I checked it out , the script in create filename “trigger”, and it is ok rather than “trigger_file”<o:p></o:p></p>
<p class="MsoPlainText">and as you can see recovery.conf postgress is looking for “trigger”
<o:p></o:p></p>
<p class="MsoPlainText">as well in the logs logs I did see message like “found trigger file moving from hotstandby to master”<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Here is the recovery.conf file <o:p></o:p></p>
<p class="MsoPlainText">root@XXX XXX]# cat recovery.conf<o:p></o:p></p>
<p class="MsoPlainText">standby_mode = 'on'<o:p></o:p></p>
<p class="MsoPlainText">primary_conninfo = 'host=mgrdb120-hb port=5432 user=XXXX password=XXXX'<o:p></o:p></p>
<p class="MsoPlainText">#restore_command = 'scp mgrdb120-hb:/home/postgres/archive/%f %p'<o:p></o:p></p>
<p class="MsoPlainText">trigger_file = '/home/postgres/databases/fabrix/trigger'<o:p></o:p></p>
<p class="MsoPlainText">archive_cleanup_command = 'ssh mgrdb120-hb /home/postgres/pg_utils/archive_cleanup.sh %r'<o:p></o:p></p>
<p class="MsoPlainText">recovery_target_timeline = 'latest'<o:p></o:p></p>
<p class="MsoPlainText">[root@mgrdb119 fabrix]#<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">So now my question is still relevant why pgpool doesn’t recognize the postgress as primary
<o:p></o:p></p>
</div>
::DISCLAIMER:: E-mail communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe the e-mail message has been sent to you in error, please notify the sender by
replying to the e-mail transmission and delete the message without disclosing it. Thank you.
</body>
</html>