<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div>My config is:</div><div><div><div><br></div><div>node sql01 attributes standby="off"</div><div>node sql02 attributes standby="off"</div><div>primitive drbd_mysql ocf:linbit:drbd params drbd_resource="r0" op monitor interval="15s"</div><div>primitive fs_mysql ocf:heartbeat:Filesystem params device="/dev/drbd0" directory="/datastore01" fstype="ext4"</div><div>primitive ip_mysql ocf:heartbeat:IPaddr2 params ip="192.168.50.20"</div><div>primitive mysqld lsb:mysql</div><div>group mysql fs_mysql ip_mysql mysqld</div><div>ms ms_drbd_mysql drbd_mysql meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"</div><div>location ms_drbd_mysql_on_both ms_drbd_mysql rule $id="ms_drbd_mysql_on_both-rule" inf: #uname eq sql01 or #uname eq sql02</div><div>location mysql_pri_loc mysql inf: sql01</div><div>location mysql_alt_loc mysql 100: sql02</div><div>colocation mysql_on_drbd inf: mysql ms_drbd_mysql:Master</div><div>order mysql_after_drbd inf: ms_drbd_mysql:promote mysql:start</div><div>property $id="cib-bootstrap-options" dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" cluster-infrastructure="openais" expected-quorum-votes="2" stonith-enabled="false" symmetric-cluster="false" no-quorum-policy="ignore"</div></div></div><div><br></div><div>I hope someone can explain this to me. It starts everything up in sql01 as primary and sql02 as secondary. When i put sql01 in standby it moves to sql02.</div><div>But when i put sql01 online, the resources stay put on sql02. My stickiness is zero.</div><div><br></div></div><div>I have tried to replace the ms_drbd_mysql_on_both with:</div><div><div>location ms_drbd_mysql_pri_loc ms_drbd_mysql inf: sql01</div><div>location ms_drbd_mysql_sec_loc ms_drbd_mysql 100: sql02</div></div><div><br></div><div>Then it freaks out, switching rapidly between</div><div> </div><div><div>Node sql01: online</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>drbd_mysql:0<span class="Apple-tab-span" style="white-space:pre"> </span>(ocf::linbit:drbd) Slave </div><div>Node sql02: online</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>drbd_mysql:1<span class="Apple-tab-span" style="white-space:pre"> </span>(ocf::linbit:drbd) Slave </div></div><div><br></div><div>And</div><div><br></div><div><div>Node sql01: online</div><div>Node sql02: online</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>drbd_mysql:1<span class="Apple-tab-span" style="white-space:pre"> </span>(ocf::linbit:drbd) Slave</div></div><div><br></div><div><br></div><div>I can't find any examples on how to do drbd on an asymmetric cluster</div><div><br></div><div>Thanks</div></body></html>