Hi Jürgen,<br><br>I am beginner with Pacemaker and I don't know if I can help. But my configuration is working well. Here is:<br><br><div><font face="courier new, monospace" color="#660000"># crm configure property no-quorum-policy=ignore</font></div>
<div><font face="courier new, monospace" color="#660000"># crm configure property stonith-enabled=false</font></div>
<div><font face="courier new, monospace" color="#660000"><br></font></div><div><font face="courier new, monospace" color="#660000">primitive net_conn ocf:pacemaker:ping \</font></div><div><font face="courier new, monospace" color="#660000">  params pidfile="/var/run/ping.pid" \</font></div>

<div><font face="courier new, monospace" color="#660000">  host_list="192.168.188.1" \</font></div><div><font face="courier new, monospace" color="#660000">  op start interval="0" timeout="60s" \</font></div>

<div><font face="courier new, monospace" color="#660000">  op stop interval="0" timeout="20s" \</font></div><div><font face="courier new, monospace" color="#660000">  op monitor interval="10s" timeout="60s"</font></div>

<div class="im"><div><font face="courier new, monospace" color="#660000">primitive cluster_ip ocf:heartbeat:IPaddr2 \</font></div><div><font face="courier new, monospace" color="#660000">  params ip="192.168.188.20" cidr_netmask="32"\</font></div>

<div><font face="courier new, monospace" color="#660000">  op monitor interval="10s"</font></div><div><font face="courier new, monospace" color="#660000">primitive cluster_mon ocf:pacemaker:ClusterMon \</font></div>

<div><font face="courier new, monospace" color="#660000">  params pidfile="/var/run/crm_mon.pid" htmlfile="/var/tmp/crm_mon.html"\</font></div><div><font face="courier new, monospace" color="#660000">  op start interval="0" timeout="20s"\</font></div>

<div><font face="courier new, monospace" color="#660000">  op stop interval="0" timeout="20s"\</font></div><div><font face="courier new, monospace" color="#660000">  op monitor interval="10s" timeout="20s"</font></div>

</div><div class="im"><div><font face="courier new, monospace" color="#660000">primitive drbd_r8 ocf:linbit:drbd \</font></div><div><font face="courier new, monospace" color="#660000">  params drbd_resource="r8"\</font></div>
<div><font face="courier new, monospace" color="#660000">  op monitor interval="60s" role="Master"\</font></div>
<div><font face="courier new, monospace" color="#660000">  op monitor interval="59s" role="Slave"</font></div></div><div class="im"><div><font face="courier new, monospace" color="#660000">primitive drbd_r8_fs ocf:heartbeat:Filesystem \</font></div>

<div><font face="courier new, monospace" color="#660000">  params device="/dev/drbd8" directory="/mnt/drbd8" fstype="ext3"</font></div></div><div class="im"><div><font face="courier new, monospace" color="#660000">clone clone_net_conn net_conn \</font></div>

<div><font face="courier new, monospace" color="#660000">  meta clone-node-max="1" clone-max="2"</font></div></div><div class="im"><div><font face="courier new, monospace" color="#660000">ms drbd_r8_ms drbd_r8 \</font></div>

<div><font face="courier new, monospace" color="#660000">  meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"</font></div><div><font face="courier new, monospace" color="#660000">location ms_drbd_r8-no-conn drbd_r8_ms \</font></div>

<div><font face="courier new, monospace" color="#660000">  rule $id="ms_drbd_r8-no-conn-rule" $role="Master" -inf: not_defined pingd or pingd number:lte 0</font></div></div><div><font face="courier new, monospace" color="#660000">colocation fs_on_drbd inf: drbd_r8_fs drbd_r8_ms:Master</font></div>

<div><font face="courier new, monospace" color="#660000">order fs_after_drbd inf: drbd_r8_ms:promote drbd_r8_fs:start<br></font></div><br>Felipe<br><br><div class="gmail_quote">On Tue, Feb 5, 2013 at 10:04 AM, Jürgen Herrmann <span dir="ltr"><<a href="mailto:Juergen.Herrmann@xlhost.de" target="_blank">Juergen.Herrmann@xlhost.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there!<br>
<br>
I have the following problem:<br>
<br>
I have a 2 node cluster with a dual primary drbd resource. On top<br>
of it sits an OCFS2 file system. nodes: app1a, app1b<br>
<br>
Now today I had the following scenario (occurred several times now):<br>
- crm node standby app1a<br>
- poweroff app1a for hdd replacement (hw raid controller)<br>
- poweron app1a<br>
- crm node online app1a<br>
<br>
all the other resources come back up as expecte, expect the master<br>
slave set for the dual primary drbd.<br>
<br>
here's the relevant portion of my cluster config:<br>
<br>
node <a href="http://app1a.xlhost.de" target="_blank">app1a.xlhost.de</a> \<br>
        attributes standby="off"<br>
node <a href="http://app1b.xlhost.de" target="_blank">app1b.xlhost.de</a> \<br>
        attributes standby="off"<br>
primitive resDLM ocf:pacemaker:controld \<br>
        op start interval="0" timeout="90s" \<br>
        op stop interval="0" timeout="100s" \<br>
        op monitor interval="120s"<br>
primitive resDRBD0 ocf:linbit:drbd \<br>
        op monitor interval="23" role="Slave" timeout="30" \<br>
        op monitor interval="13" role="Master" timeout="20" \<br>
        op start interval="0" timeout="240s" \<br>
        op promote interval="0" timeout="240s" \<br>
        op demote interval="0" timeout="100s" \<br>
        op stop interval="0" timeout="100s" \<br>
        params drbd_resource="drbd0"<br>
primitive resFSDRBD0 ocf:heartbeat:Filesystem \<br>
        params device="/dev/drbd0" directory="/mnt/drbd0" fstype="ocfs2" options="noatime,intr,<u></u>nodiratime,heartbeat=none" \<br>
        op monitor interval="120s" timeout="50s" \<br>
        op start interval="0" timeout="70s" \<br>
        op stop interval="0" timeout="70s"<br>
primitive resO2CB ocf:pacemaker:o2cb \<br>
        op start interval="0" timeout="90s" \<br>
        op stop interval="0" timeout="100s" \<br>
        op monitor interval="120s"<br>
ms msDRBD0 resDRBD0 \<br>
        meta master-max="2" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Master"<br>
clone cloneDLM resDLM \<br>
        meta globally-unique="false" interleave="true" target-role="Started"<br>
clone cloneFSDRBD0 resFSDRBD0 \<br>
        meta interleave="true" globally-unique="false" target-role="Started"<br>
clone cloneO2CB resO2CB \<br>
        meta globally-unique="false" interleave="true" target-role="Started"<br>
colocation colFSDRBD0_DRBD0 inf: cloneFSDRBD0 msDRBD0:Master<br>
colocation colFSDRBD0_O2CB inf: cloneFSDRBD0 cloneO2CB<br>
colocation colO2CB_DLM inf: cloneO2CB cloneDLM<br>
order ordDLM_FSDRBD0 inf: cloneDLM cloneFSDRBD0<br>
order ordDLM_O2CB inf: cloneDLM cloneO2CB<br>
order ordDRBD0_FSDRBD0 inf: msDRBD0:promote cloneFSDRBD0<br>
order ordO2CB_FSDRBD0 inf: cloneO2CB cloneFSDRBD0<br>
<br>
if i take down both nodes and fire them up again, everything goes back<br>
to normal and msDRBD0 is promoted to master on both nodes.<br>
<br>
I suspect this has something to do with ordering or colocation constraints<br>
but i'm not sure though. i've been staring at this problem for dozens of<br>
times now and a vast amount of googling did not turn up my specific<br>
problem either.<br>
<br>
anybody have a clue? :) any hint in the right direction as where too look<br>
etc. would really be appreciated.<br>
<br>
Thanks in advance for your help and best regards,<br>
Jürgen Herrmann<br>
-- <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
XLhost.de ® - Webhosting von supersmall bis eXtra Large <<<br>
</blockquote></blockquote>
<br>
XLhost.de GmbH<br>
Jürgen Herrmann, Geschäftsführer<br>
Boelckestrasse 21, 93051 Regensburg, Germany<br>
<br>
Geschäftsführer: Jürgen Herrmann<br>
Registriert unter: HRB9918<br>
Umsatzsteuer-<u></u>Identifikationsnummer: DE245931218<br>
<br>
Fon:  +49 (0)800 XLHOSTDE [0800 95467833]<br>
Fax:  <a href="tel:%2B49%20%280%29800%2095467830" value="+4980095467830" target="_blank">+49 (0)800 95467830</a><br>
Web:  <a href="http://www.XLhost.de" target="_blank">http://www.XLhost.de</a><br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b>