<div dir="ltr"><div><div><div><div>I followed this manual: <a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Clusters_from_Scratch/index.html" target="_blank">http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Clusters_from_Scratch/index.html</a>, except the pcsd installation, as it&#39;s unavailable on my CentOS 6.5 box. I also installed cman, because without it, command &quot;pcs cluster start&quot; would fail. Two resources were added to the cluster: a DRBD device and a filesystem resource, the resource setup steps are the same as written in the manual.<br>

<br></div><div>Property &quot;stonith-enabled&quot; was set to false, &quot;no-quorum-policy&quot; was set to ignore.<br></div><div><br></div>Everything seems to be fine until I tried to test failover:<br></div>If I &quot;standby&quot; the master, the slave became master for a very short while (about one or two seconds), then it become slave, however after I unstandby the original master, the slave then became a  master, and the original master became slave. The behaviour is illustrated as the graph:<br>

<br></div>node0(master)  node1(slave)  &lt;== the original state.<br>====================<br></div><div>node0(slave)  node1(master)   &lt;== after command &quot;pcs cluster standby node0&quot;<br>=====================<br>

</div><div>node0(stopped) node1(slave)  &lt;== after a short while<br>====================<br></div><div>node0(slave) node1(master)  &lt;== after command &quot;pcs cluster unstandby node0&quot;<br><br></div><div>I also tried rebooting the master node, the slave only became master after the original master is successfully rebooted.<br>

</div><div>What&#39;s most likely cause of my problem ?<br><br></div><div>Thanks<br></div><div>Deng Yao<br></div></div>