<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 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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:56.7pt 42.5pt 56.7pt 85.05pt;}
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=blue vlink=purple><div class=WordSection1><p>stonith-enabled=false<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>this might be the issue. The way peer node death is resolved, the surviving node must call STONITH on the peer. If it’s disabled it might not be able to resolve the event<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Alex<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> alex austin [mailto:alexixalex@gmail.com] <br><b>Sent:</b> Wednesday, July 01, 2015 9:51 AM<br><b>To:</b> Users@clusterlabs.org<br><b>Subject:</b> Re: [ClusterLabs] Pacemaker failover failure<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>So I noticed that if I kill redis on one node, it starts on the other, no problem, but if I actually kill pacemaker itself on one node, the other doesn't "sense" it so it doesn't fail over.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Jul 1, 2015 at 12:42 PM, alex austin <<a href="mailto:alexixalex@gmail.com" target="_blank">alexixalex@gmail.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal>Hi all,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I have configured a virtual ip and redis in master-slave with corosync pacemaker. If redis fails, then the failover is successful, and redis gets promoted on the other node. However if pacemaker itself fails on the active node, the failover is not performed. Is there anything I missed in the configuration?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Here's my configuration (i have hashed the ip address out):<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p>node <a href="http://host1.com" target="_blank">host1.com</a><o:p></o:p></p><p>node <a href="http://host2.com" target="_blank">host2.com</a><o:p></o:p></p><p>primitive ClusterIP IPaddr2 \<o:p></o:p></p><p>params ip=xxx.xxx.xxx.xxx cidr_netmask=23 \<o:p></o:p></p><p>op monitor interval=1s timeout=20s \<o:p></o:p></p><p>op start interval=0 timeout=20s \<o:p></o:p></p><p>op stop interval=0 timeout=20s \<o:p></o:p></p><p>meta is-managed=true target-role=Started resource-stickiness=500<o:p></o:p></p><p>primitive redis redis \<o:p></o:p></p><p>meta target-role=Master is-managed=true \<o:p></o:p></p><p>op monitor interval=1s role=Master timeout=5s on-fail=restart<o:p></o:p></p><p>ms redis_clone redis \<o:p></o:p></p><p>meta notify=true is-managed=true ordered=false interleave=false globally-unique=false target-role=Master migration-threshold=1<o:p></o:p></p><p>colocation ClusterIP-on-redis inf: ClusterIP redis_clone:Master<o:p></o:p></p><p>colocation ip-on-redis inf: ClusterIP redis_clone:Master<o:p></o:p></p><p>property cib-bootstrap-options: \<o:p></o:p></p><p>dc-version=1.1.11-97629de \<o:p></o:p></p><p>cluster-infrastructure="classic openais (with plugin)" \<o:p></o:p></p><p>expected-quorum-votes=2 \<o:p></o:p></p><p>stonith-enabled=false<o:p></o:p></p><p>property redis_replication: \<o:p></o:p></p><p>redis_REPL_INFO=<a href="http://host.com" target="_blank">host.com</a><o:p></o:p></p><p><o:p> </o:p></p><p>thank you in advance<o:p></o:p></p><p><o:p> </o:p></p><p>Kind regards,<o:p></o:p></p><p><o:p> </o:p></p><p>Alex <o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>