Hi<div>Yeah I stopped them since they messed up anyway, just while looking for a solution. I'll try the stuff you mentioned and return with a result - thanks!</div><div>Johan</div><div><br><div class="gmail_quote">Den 21. feb. 2012 14.26 skrev Florian Haas <span dir="ltr"><<a href="mailto:florian@hastexo.com">florian@hastexo.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 02/21/12 13:39, Johan wrote:<br>
> I've been following this <a href="http://publications.jbfavre.org/virtualisation/cluster-" target="_blank">http://publications.jbfavre.org/virtualisation/cluster-</a><br>
> xen-corosync-pacemaker-drbd-ocfs2.en tutorial on how to setup a pacemaker xen<br>
> cluster. I'm all new to this so pls bear over with me.<br>
> The big problem is that when UI get to the pont where the filasystem should<br>
> "automagically" mount, it doesn't.<br>
><br>
> Here's my config:<br>
><br>
> node cluster01<br>
> node cluster02<br>
> primitive Cluster-FS-DLM ocf:pacemaker:controld \<br>
>         op monitor interval="15" \<br>
>         meta target-role="Stopped"<br>
> primitive Cluster-FS-DRBD ocf:linbit:drbd \<br>
>         params drbd_resource="cluster-ocfs" \<br>
>         operations $id="Cluster-FS-DRBD-ops" \<br>
>         op monitor interval="20" role="Master" timeout="20" \<br>
>         op monitor interval="30" role="Slave" timeout="20"<br>
> primitive Cluster-FS-Mount ocf:heartbeat:Filesystem \<br>
>         params device="/dev/drbd/by-res/cluster-ocfs" directory="/cluster"<br>
> fstype="ocfs2"<br>
> ms Cluster-FS-DRBD-Master Cluster-FS-DRBD \<br>
>         meta resource-stickines="100" master-max="2" notify="true"<br>
> interleave="true" target-role="Stopped"<br>
> clone Cluster-FS-Mount-Clone Cluster-FS-Mount \<br>
>         meta interleave="true" ordered="true" target-role="Stopped"<br>
> order Cluster-FS-After-DRBD inf: Cluster-FS-DRBD-Master:promote Cluster-FS-<br>
> Mount-Clone:start<br>
> order Cluster-FS-DLM-Order inf: Cluster-FS-DRBD-Master:promote Cluster-FS-Mount-<br>
> Clone:start<br>
> property $id="cib-bootstrap-options" \<br>
>         dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \<br>
>         cluster-infrastructure="openais" \<br>
>         expected-quorum-votes="2" \<br>
>         no-quorum-policy="ignore" \<br>
>         default-resource-stickiness="1000" \<br>
>         stonith-enabled="false" \<br>
>         last-lrm-refresh="1329823386"<br>
><br>
> I keep getting the:<br>
>  info: RA output: (Cluster-FS-Mount:1:start:stderr) FATAL: Module<br>
> scsi_hostadapter not found.<br>
<br>
</div></div>That's a red herring. Why the Filesystem RA is still trying to modprobe<br>
scsi_hostadapter, and is even logging any failure to do so with a FATAL<br>
priority, don't ask. :)<br>
<br>
However, with all those target-role="Stopped" attributes in there<br>
nothing of interest is really expected to start.<br>
<div class="im"><br>
> in the /var/log/syslog<br>
><br>
> I've been googling around for a solution but all of them seem to fail for me.<br>
><br>
> any help is much appreciated<br>
<br>
</div>That tutorial is wrong in several places. Specifically,<br>
<br>
"One word about OCFS2. In a perfect world, we should manage OCFS2 with<br>
pacemaker. In this particular case, this won't be the case (I had issues<br>
with lock managment which is mandatory for pacemaker)."<br>
<br>
... is just nonsense. You can (and should) put the DLM and O2CB under<br>
Pacemaker management. See the ocf:pacemaker:controld and<br>
ocf:pacemaker:o2cb resource agents for details.<br>
<br>
Also, you'll probably need to update your OCFS2 with "tunefs.ocfs2<br>
--update-cluster-stack" before you can mount it.<br>
<br>
Cheers,<br>
Florian<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Need help with High Availability?<br>
<a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
</font></span><div class="HOEnZb"><div class="h5"><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>