This may be useful for your problem. <div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://mirantis.blogspot.com/2011/06/clustered-lvm-on-drbd-resource-in.html">http://mirantis.blogspot.com/2011/06/clustered-lvm-on-drbd-resource-in.html</a></div>
<div>This is receipt for Fedora, however, configuration and operation on Ubuntu shoud not differ greatly.</div><div><br></div><div>WBR,</div><div>Oleg</div><div>Mirantis Inc.,</div><div><a href="http://www.mirantis.com">http://www.mirantis.com</a></div>
<div><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 8:36 PM, Digimer <span dir="ltr"><<a href="mailto:linux@alteeve.com">linux@alteeve.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 06/03/2011 10:42 AM, Pete Ashdown wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you for your help. I would like both hosts to be able to<br>
manipulate the LVM and run in dual primary mode. There isn't a whole lot<br>
of manipulation going on, and certainly not simultaneous.<br>
</blockquote>
<br></div>
The short answer to your earlier question of using LVM without CLVM on Primary/Primary is "no".<br>
<br>
The reason is;<br>
- Primary/Primary requires distributed locking, DLM.<br>
- DLM requires a closed process group (CPG), which comes from a formed cluster; Corosync provides this.<br>
- Corosync requires fencing/stonith to properly deal with faults in the cluster when shared storage is in use.<br>
<br>
Corosync runs just fine on Ubuntu; The problem is likely a configuration issue of the CIB. I'd suggest joining the Pacemaker/OpenAIS (the predecessor to corosync) mailing lists, and if you are on IRC, stop by the #linux-cluster channel.<br>
<br>
Getting a working cluster is not that difficult, but it does require understanding the fundamentals. Once you have the cluster formed, you will find that CLVM works just fine. It certainly doesn't lock LVs "for not reason". :)<br>
<font color="#888888">
<br>
-- <br>
Digimer<br>
E-Mail: <a href="mailto:digimer@alteeve.com" target="_blank">digimer@alteeve.com</a><br>
Freenode handle: digimer<br>
Papers and Projects: <a href="http://alteeve.com" target="_blank">http://alteeve.com</a><br>
Node Assassin: <a href="http://nodeassassin.org" target="_blank">http://nodeassassin.org</a><br>
"I feel confined, only free to expand myself within boundaries."</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</div></div></blockquote></div><br></div>