Hi Jürgen,<br><br>I am beginner with Pacemaker and I don&#39;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=&quot;/var/run/ping.pid&quot; \</font></div>

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

<div><font face="courier new, monospace" color="#660000">  op stop interval=&quot;0&quot; timeout=&quot;20s&quot; \</font></div><div><font face="courier new, monospace" color="#660000">  op monitor interval=&quot;10s&quot; timeout=&quot;60s&quot;</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=&quot;192.168.188.20&quot; cidr_netmask=&quot;32&quot;\</font></div>

<div><font face="courier new, monospace" color="#660000">  op monitor interval=&quot;10s&quot;</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=&quot;/var/run/crm_mon.pid&quot; htmlfile=&quot;/var/tmp/crm_mon.html&quot;\</font></div><div><font face="courier new, monospace" color="#660000">  op start interval=&quot;0&quot; timeout=&quot;20s&quot;\</font></div>

<div><font face="courier new, monospace" color="#660000">  op stop interval=&quot;0&quot; timeout=&quot;20s&quot;\</font></div><div><font face="courier new, monospace" color="#660000">  op monitor interval=&quot;10s&quot; timeout=&quot;20s&quot;</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=&quot;r8&quot;\</font></div>
<div><font face="courier new, monospace" color="#660000">  op monitor interval=&quot;60s&quot; role=&quot;Master&quot;\</font></div>
<div><font face="courier new, monospace" color="#660000">  op monitor interval=&quot;59s&quot; role=&quot;Slave&quot;</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=&quot;/dev/drbd8&quot; directory=&quot;/mnt/drbd8&quot; fstype=&quot;ext3&quot;</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=&quot;1&quot; clone-max=&quot;2&quot;</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=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;</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=&quot;ms_drbd_r8-no-conn-rule&quot; $role=&quot;Master&quot; -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">&lt;<a href="mailto:Juergen.Herrmann@xlhost.de" target="_blank">Juergen.Herrmann@xlhost.de</a>&gt;</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&#39;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=&quot;off&quot;<br>
node <a href="http://app1b.xlhost.de" target="_blank">app1b.xlhost.de</a> \<br>
        attributes standby=&quot;off&quot;<br>
primitive resDLM ocf:pacemaker:controld \<br>
        op start interval=&quot;0&quot; timeout=&quot;90s&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;100s&quot; \<br>
        op monitor interval=&quot;120s&quot;<br>
primitive resDRBD0 ocf:linbit:drbd \<br>
        op monitor interval=&quot;23&quot; role=&quot;Slave&quot; timeout=&quot;30&quot; \<br>
        op monitor interval=&quot;13&quot; role=&quot;Master&quot; timeout=&quot;20&quot; \<br>
        op start interval=&quot;0&quot; timeout=&quot;240s&quot; \<br>
        op promote interval=&quot;0&quot; timeout=&quot;240s&quot; \<br>
        op demote interval=&quot;0&quot; timeout=&quot;100s&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;100s&quot; \<br>
        params drbd_resource=&quot;drbd0&quot;<br>
primitive resFSDRBD0 ocf:heartbeat:Filesystem \<br>
        params device=&quot;/dev/drbd0&quot; directory=&quot;/mnt/drbd0&quot; fstype=&quot;ocfs2&quot; options=&quot;noatime,intr,<u></u>nodiratime,heartbeat=none&quot; \<br>
        op monitor interval=&quot;120s&quot; timeout=&quot;50s&quot; \<br>
        op start interval=&quot;0&quot; timeout=&quot;70s&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;70s&quot;<br>
primitive resO2CB ocf:pacemaker:o2cb \<br>
        op start interval=&quot;0&quot; timeout=&quot;90s&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;100s&quot; \<br>
        op monitor interval=&quot;120s&quot;<br>
ms msDRBD0 resDRBD0 \<br>
        meta master-max=&quot;2&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot; target-role=&quot;Master&quot;<br>
clone cloneDLM resDLM \<br>
        meta globally-unique=&quot;false&quot; interleave=&quot;true&quot; target-role=&quot;Started&quot;<br>
clone cloneFSDRBD0 resFSDRBD0 \<br>
        meta interleave=&quot;true&quot; globally-unique=&quot;false&quot; target-role=&quot;Started&quot;<br>
clone cloneO2CB resO2CB \<br>
        meta globally-unique=&quot;false&quot; interleave=&quot;true&quot; target-role=&quot;Started&quot;<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&#39;m not sure though. i&#39;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 &lt;&lt;<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>