The vg was created as a normal vg. Ie.
vgcreate vg2 /dev/disk/by-id/dm-uuid-mpath-xxxx.
Then I installed and configured clustering (cman, clvm, fence-agents) and once cman was running I ran lvmconf --enable-cluster, vgchange -cy vg2 and finally service clvm start.
At this point /etc/init.d/clvm complains with pretty much the same error as here - I modified the script and added --monitor y to the vgchange entries and clvm does what it should. Changes were suggested in bug 833368.
I didn't find a way to modify libvirt with the same change.
Also, I've just noticed libvirt should probably use -aly for clustered volumes and not -ay as it is now.
The vg was created as a normal vg. Ie. by-id/dm- uuid-mpath- xxxx.
vgcreate vg2 /dev/disk/
Then I installed and configured clustering (cman, clvm, fence-agents) and once cman was running I ran lvmconf --enable-cluster, vgchange -cy vg2 and finally service clvm start.
At this point /etc/init.d/clvm complains with pretty much the same error as here - I modified the script and added --monitor y to the vgchange entries and clvm does what it should. Changes were suggested in bug 833368.
I didn't find a way to modify libvirt with the same change.
Also, I've just noticed libvirt should probably use -aly for clustered volumes and not -ay as it is now.