On 08/26/2013 12:03 AM, Wolfgang Hennerbichler wrote:
hi list,
I realize there's a command called "rbd lock" to lock an image. Can libvirt use
this to prevent virtual machines from being started simultaneously on different
virtualisation containers?
wogri
Yes - that's the reason for lock command's existence. You have
to be careful with things like live migration though, which will have
the device open in two places while migration completes. If libvirt
could use rbd locks like it uses its sanlock plugin, it would be
able to deal with this correctly.
Josh
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com