<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-04-18 18:00 GMT+02:00 David Teigland <span dir="ltr"><<a href="mailto:teigland@redhat.com" target="_blank">teigland@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Thu, Apr 13, 2017 at 06:14:54PM +0200, Charles Koprowski wrote:<br>
> Hi all,<br>
><br>
> I'm trying to set up a shared VG between 2 ubuntu servers (xenial) using<br>
> lvmlockd for locking.<br>
><br>
> Unfortunately, even if the default config (lvm.conf) mentions the<br>
> possibillity to use lvmlockd (use_lvmlockd = 1), I cannot find any trace of<br>
> the daemon lvmlockd or lvmlockctl tool in ubuntu.<br>
><br>
> Does anyone already done this before ?<br>
><br>
> Do I have to build lvm from source in order to use lvmlockd ?<br>
<br>
</span>I'd guess that lvm was not built with lvmlockd support, in which case you<br>
would need to rebuild it with one or both of --enable-lockd-sanlock,<br>
--enable-lockd-dlm (and I'm going to rename those options to be "lvmlockd"<br>
in a minute.)<br></blockquote><div><br></div><div>Thank you David !</div><div><br></div><div>Would you consider the use of lvmlockd + sanlock as "production ready" ?</div><div><br></div><div>My goal here is to replace an existing cluster of 5 nodes using clvmd + dlm + corosync to access a shared VG of 6 TB containing around 300 LVs.</div><div><br></div><div>The current solution is working fine but I find using dlm + corosync "just" for locking a bit overkill.</div><div><br></div><div>Regards,</div><div><br></div><div>Charles</div></div><div class="gmail_signature"></div>
</div></div>