<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=utf-8"><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:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.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;}
.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]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> I have been using Pacemaker + PostgreSQL 9.4 for many year without any issue. Recently, I setup another cluster with Pacemaker + PostgreSQL 9.6 on CentOS 6. However the cluster didn’t seem to have problem to set the Slave’s score from “-INFINITY” to “100”. When the master is down, slave can’t be promoted to Master. Did anyone have similar issue? Here is what the crm_mon -Afr show.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Stack: cman<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Current DC: postgres-n01 (version 1.1.18-3.el6-bfe4e80420) - partition with quorum<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Last updated: Mon Oct 8 14:38:49 2018<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Last change: Mon Oct 8 14:38:45 2018 by root via crm_attribute on postgres-n01<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>2 nodes configured<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>4 resources configured<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Online: [ postgres-n01 postgres-n02 ]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Full list of resources:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> Master/Slave Set: pgsqld-master [pgsqld]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> Masters: [ postgres-n01 ]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> Slaves: [ postgres-n02 ]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> Resource Group: master-group<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> pgsql-master-ip (ocf::heartbeat:IPaddr2): Started postgres-n01<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Node Attributes:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>* Node postgres-n01:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + master-pgsqld : 1000<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + pgsqld-data-status : LATEST<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + pgsqld-master-baseline : 0000000004000300<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + pgsqld-status : PRI<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>* Node postgres-n02:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + master-pgsqld : -INFINITY<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + pgsqld-data-status : STREAMING|ASYNC<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'> + pgsqld-status : HS:async<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Migration Summary:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>* Node postgres-n02:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>* Node postgres-n01:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>-- <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Barrow Kwan</span><o:p></o:p></p></div></body></html>