Hi<div>Just an update.<br><div>So I upgraded to pacemaker 1.1.6 and tried to configure it all again, without dlm.</div><div>It didn&#39;t work, I still got the &quot;<span style="background-color:rgb(255,255,255)">
<span style="font-family:&#39;liberation sans&#39;,&#39;Myriad &#39;,&#39;Bitstream Vera Sans&#39;,&#39;Lucida Grande&#39;,&#39;Luxi Sans&#39;,&#39;Trebuchet MS&#39;,helvetica,verdana,arial,sans-serif;font-size:12px;line-height:15px">OCF_ERR_INSTALLED</span></span>  so I started looking through the setup and found that I didn&#39;t specify the drbd.conf path.</div>
<div>When  I added that meta and boom, it mounted like a dream.</div><div><br></div><div>Wasn&#39;t it supposed to return a OCF_ERR_CONFIGURED?</div><div><br></div><div>And is that meta even required?</div><div><br></div>
<div>I wonder if I messed something up(that is very likely) or maybe I missed something.</div><div><br></div><div>I&#39;ll try to add the dlm today and see if it works.</div><div><br></div><div>Cheers.<br><div class="gmail_quote">
Den 22. feb. 2012 12.34 skrev Florian Haas <span dir="ltr">&lt;<a href="mailto:florian@hastexo.com">florian@hastexo.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt; ============<br>
&gt; Last updated: Wed Feb 22 11:51:22 2012<br>
&gt; Stack: openais<br>
&gt; Current DC: cluster01 - partition with quorum<br>
&gt; Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b<br>
<br>
</div>Please go to 1.1.5, at least, as soon as you can.<br>
<div><div class="h5"><br>
&gt; primitive Cluster-FS-DLM ocf:pacemaker:controld \<br>
&gt;         op monitor interval=&quot;120s&quot;<br>
&gt;<br>
&gt; primitive Cluster-FS-DRBD ocf:linbit:drbd \<br>
&gt;         params drbd_resource=&quot;cluster-ocfs&quot; \<br>
&gt;         operations $id=&quot;Cluster-FS-DRBD-ops&quot; \<br>
&gt;         op monitor interval=&quot;20&quot; role=&quot;Master&quot; timout=&quot;20&quot; \<br>
&gt;         op monitor interval=&quot;30&quot; role=&quot;Slave&quot; timeout=&quot;20&quot;<br>
&gt;<br>
&gt; primitive Cluster-FS-Mount ocf:heartbeat:Filesystem \<br>
&gt;         params device=&quot;/dev/drbd/by-res/cluster-ocfs&quot;<br>
&gt; directory=&quot;/cluster&quot; fstype=&quot;ocfs2&quot; \<br>
&gt;         op monitor interval=&quot;120&quot;<br>
&gt;<br>
&gt; primitive Cluster-FS-O2CB ocf:pacemaker:o2cb \<br>
&gt;         op monitor interval=&quot;120&quot;<br>
&gt;<br>
&gt; primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;212.70.2.110&quot; cidr_netmask=&quot;24&quot; \<br>
&gt;         op monitor interval=&quot;30s&quot; \<br>
&gt;         meta target-role=&quot;Started&quot;<br>
&gt;<br>
&gt; ms Cluster-FS-DRBD-Master Cluster-FS-DRBD \<br>
&gt;         meta resource-stickines=&quot;100&quot; notify=&quot;true&quot; interleave=&quot;true&quot;<br>
&gt; master-max=&quot;2&quot;<br>
&gt;<br>
&gt; clone Cluster-FS-DLM-Clone Cluster-FS-DLM \<br>
&gt;         meta globally-unique=&quot;false&quot; interleave=&quot;true&quot;<br>
&gt;<br>
&gt; clone Cluster-FS-Mount-Clone Cluster-FS-Mount \<br>
&gt;         meta interleave=&quot;true&quot; ordered=&quot;true&quot;<br>
&gt;<br>
&gt; clone Cluster-FS-O2CB-Clone Cluster-FS-O2CB \<br>
&gt;         meta globally-unique=&quot;false&quot; interleave=&quot;true&quot;<br>
&gt;<br>
&gt; colocation Cluster-FS-Colocation inf: Cluster-FS-DLM-Clone<br>
&gt; Cluster-FS-DRBD-Master:Master<br>
&gt;<br>
&gt; colocation Cluster-FS-Mount-Colocation inf: Cluster-FS-Mount-Clone<br>
&gt; Cluster-FS-O2CB-Clone<br>
&gt;<br>
&gt; colocation Cluster-FS-O2CB-Colocation inf: Cluster-FS-O2CB-Clone<br>
&gt; Cluster-FS-DLM-Clone<br>
&gt;<br>
&gt; order Cluster-FS-DLM-Order 0: Cluster-FS-DRBD-Master:promote<br>
&gt; Cluster-FS-DLM-Clone<br>
&gt;<br>
&gt; order Cluster-FS-Mount-Order 0: Cluster-FS-O2CB-Clone Cluster-FS-Mount-Clone<br>
&gt;<br>
&gt; order Cluster-FS-O2CB-Order 0: Cluster-FS-DLM-Clone Cluster-FS-O2CB-Clone<br>
<br>
</div></div>Rather than having all those individual clones and constraints between<br>
them, you can greatly simplify your configuration with a cloned group:<br>
<br>
primitive p_dlm_controld ocf:pacemaker:controld \<br>
        op start interval=&quot;0&quot; timeout=&quot;90&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;100&quot; \<br>
        op monitor interval=&quot;10&quot;<br>
primitive p_o2cb ocf:pacemaker:o2cb \<br>
        op start interval=&quot;0&quot; timeout=&quot;90&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;100&quot; \<br>
        op monitor interval=&quot;10&quot;<br>
primitive p_fs_ocfs2 ocf:heartbeat:Filesystem \<br>
  params device=&quot;&lt;your drbd device&gt;&quot; \<br>
    directory=&quot;&lt;your mountpoint&gt;&quot; \<br>
    fstype=&quot;ocfs2&quot;<br>
group g_ocfs2 p_dlm_controld p_o2cb p_fs_ocfs2<br>
clone cl_ocfs2 g_ocfs2 \<br>
        meta interleave=&quot;true&quot;<br>
<br>
You&#39;ll still need that one order and colo constraint linking your cloned<br>
group to the DRBD master/slave set, of course.<br>
<br>
And if you&#39;re getting an OCF_ERR_INSTALLED error from<br>
ocf:pacemaker:o2cb, then there definitely will be an error message in<br>
the logs preceding that.<br>
<br>
grep -E &#39;o2cb.*ERROR&#39; /var/log/{messages,syslog}<br>
<br>
Hope this helps.<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
Florian<br>
<br>
--<br>
Need help with High Availability?<br>
<a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/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/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>MVH<div>Johan Bergkvist</div><br>
</div></div>