[libvirt] implementing locking with libvirt on ubuntu
Hi I am trying to implement locking i,e two vms are not started with same disk on ubuntu. Using libvirt 0.9.7 (Installed it from source) qemu-kvm 0.14.1 kernel 3.0.0-13-server Steps followed while installing from source cd libvirt-0.9.7 ./configure make make install I found that sanlock or virtlockd (fcntl) daemons can do that,but not able implement it. I dont find virtlockd daemon running.
From below link http://www.redhat.com/archives/libvir-list/2011-July/msg00337.html
it is said to create lockd directory under /var/lib/libvirt I dont find this directory after installation from source Am i missing something ? Please guide me in implementing locking on ubuntu. -- Thanks and Regards, Upendra.M
On 02.12.2011 07:08, Upendra Moturi wrote:
Hi I am trying to implement locking i,e two vms are not started with same disk on ubuntu.
Using libvirt 0.9.7 (Installed it from source) qemu-kvm 0.14.1 kernel 3.0.0-13-server
Steps followed while installing from source cd libvirt-0.9.7 ./configure
At the end, configure script prints some information which features are to be build, what libraries were detected, or if we are building with or without sanlock support; So if you see 'sanlock: no' you are probably missing sanlock libraries. Moreover, --with-sanlock takes a path so sanlock sources as an argument too. Michal
How to install the Sanlock development package on ubuntu? Or start virtlockd deamon on ubuntu.? On Fri, Dec 2, 2011 at 12:53 PM, Michal Privoznik <mprivozn@redhat.com> wrote:
On 02.12.2011 07:08, Upendra Moturi wrote:
Hi I am trying to implement locking i,e two vms are not started with same disk on ubuntu.
Using libvirt 0.9.7 (Installed it from source) qemu-kvm 0.14.1 kernel 3.0.0-13-server
Steps followed while installing from source cd libvirt-0.9.7 ./configure
At the end, configure script prints some information which features are to be build, what libraries were detected, or if we are building with or without sanlock support; So if you see 'sanlock: no' you are probably missing sanlock libraries. Moreover, --with-sanlock takes a path so sanlock sources as an argument too.
Michal
-- Thanks and Regards, Upendra.M As a leading developer of IT infrastructure software solutions, Hexagrid developed the first cloud computing platform that directly aligns with the real-world IT delivery models of both solution providers and enterprises. Hexagrid provides all the software and support that IT organizations need to successfully build public, private, or hybrid clouds that fit their specific business and end-user requirements. Hexagrid cloud solutions truly simplify and expedite virtual IT management, empowering successful cloud computing strategies that quickly increase profits by pooling resources, delivering control, and building value. Our Software, Your Cloud. For more information, visit www.hexagrid.com and follow @Hexagrid on Twitter
participants (2)
-
Michal Privoznik -
Upendra Moturi