<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 14 (filtered medium)"><style><!--
/* Font Definitions */
@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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
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]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Good day everyone,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am trying to build a pair of servers (Debian Squeeze) as a pacemaker testbed.  Each one hosts a single DRBD drive.  One server is the master and the other is the slave.  Ultimately, I will set up LVM to bring the two together to create a fault tolerant SAN; but I have not gotten that far yet.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Problem: when the master node is turned off the second node remains a slave (it is not promoted).  The slave does show that the master is no longer available.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is the result of ptest -Ls:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>drbd: 0 promotion score on none: 0<o:p></o:p></p><p class=MsoNormal>drbd: 1 promotion score on san2: -1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>For some reason pacemaker refuses to allow for promotion on the second node.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Version: I upgraded to version 1.1.5.  Oddly enough, this worked fine under 1.0.9 with the exception of the fact that no matter how hard I tried I could not keep the master where it was when the failed node was rebooted (no matter how high I set resource-stickiness, the node that came back up was promoted back to master).  So, if anyone can help me solve that problem with 1.0.9, I would be happy to simply downgrade.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On both versions I used variations of the same configuration, all yielding the same results:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>node san1<o:p></o:p></p><p class=MsoNormal>node san2<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>primitive drbd ocf:linbit:drbd params drbd_resource=r0 op monitor interval=60s<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ms msdrbd drbd meta master-max= 1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>rsc_defaults resource-stickiness=100<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So, as you can see, I am trying to get DRBD working before I move any further.  I cannot imagine what mistake I must be making for behavior to be so inconsistent with the dozens of tutorials online.  I would deeply appreciate any help.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ted Young<o:p></o:p></p><p class=MsoNormal>http://tedyoung.me<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>