[one-users] Nebula 4.6 LVM Locking

InterNetX - Juergen Gotteswinter jg at internetx.de
Thu Jun 5 04:35:43 PDT 2014


Hello,

i am currently working on a 4 node one setup (4.6.1 currently), which
uses a Equallogic iSCSI SAN als Backend for the VM.

My Plan was to use Block LVM, but it seems like currently theres only
the single lock solution (VM Nodes LVM Metadata read only) or Cluster
LVM. CLVM is a pita, which is no Option since i had enaugh funny
experiences with dying cman Clusters because just one Node died.

But, why doesnt One Support the out of the box Locking Solution which
comes with libvirtd? That one works like a charm, for example Ovirt uses
it to make sure LVM Access is granted the right way.

http://libvirt.org/locking.html#sanlock

No RHCS, no CMAN, no CLVM pita, it just needs a shared Directory for the
locks/leases (usually NFS). Thats it, everything else gets managed by
libvirtd.

I tried to use it wie One, it worked fine until 2 Nodes wanted to work
on the same lv during the VM Creation Process. Which failed, because
Sanlock sets a non-cluster LV rw or ro, depending on the Situation.

Is there maybe already something implemented which i missed, or some
kind of extension available?

Cheers,

Juergen


More information about the Users mailing list