search for: auto_disk_leases

Displaying 4 results from an estimated 4 matches for "auto_disk_leases".

2012 Feb 22
1
[libvirt] a question about sanlock
Hi Daniel, I got a question about lock manager, if I enable 'sanlock' in qemu.conf and uncomment 'auto_disk_leases = 1' in qemu-sanlock.conf then restart libvirtd service, libvirtd will be dead, I know I should also uncomment 'host_id = 1' in qemu-sanlock.conf, because I enable 'auto_disk_leases'. The question is the libvirtd must die due to a error users configuration? or could we give s...
2012 Mar 13
2
libvirt with sanlock
Hello, I configured libvirtd with the sanlock lock manager plugin: # rpm -qa | egrep "libvirt-0|sanlock-[01]" libvirt-lock-sanlock-0.9.4-23.el6_2.4.x86_64 sanlock-1.8-2.el6.x86_64 libvirt-0.9.4-23.el6_2.4.x86_64 # egrep -v "^#|^$" /etc/libvirt/qemu-sanlock.conf auto_disk_leases = 1 disk_lease_dir = "/var/lib/libvirt/sanlock" host_id = 4 # mount | grep sanlock /dev/mapper/kvm--shared-sanlock on /var/lib/libvirt/sanlock type gfs2 (rw,noatime,hostdata=jid=0) # cat /etc/sysconfig/sanlock SANLOCKOPTS="-R 1 -o 30" I increased the sanlock io_timeout to 30...
2017 Nov 08
2
Does libvirt-sanlock support network disk?
...now, libvirt sanlock support file type storage. I wonder *if it supports network storage.* I tried *iSCSI*, but found it didn't generate any resource file: Version: *qemu-2.10 libvirt-3.9 sanlock-3.5* 1. Set configuration: qemu.conf: *lock_manager = "sanlock"* qemu-sanlock.conf: *auto_disk_leases = 1disk_lease_dir = "/var/lib/libvirt/sanlock"host_id = 1user = "sanlock"group = "sanlock"* # systemctl restart sanlock # systemctl restart libvirtd 2. Start a VM with iSCSI disk and check *resource file* VM disk xml: <disk type='network' device='d...
2012 Apr 08
0
NFS + sanlock problems
...libvirt-client-0.9.4-23.el6_2.7.x86_64 libvirt-0.9.4-23.el6_2.7.x86_64 libvirt-lock-sanlock-0.9.4-23.el6_2.7.x86_64 They share two NFS folders, one for filesystems ( net set up as a libvirt storage pool ) and one for sanlock. sanlock is started without watchdog. /etc/libvirt/qemu-sanlock.conf: auto_disk_leases = 1 disk_lease_dir = "/opt/mln/sanlock" host_id = 51 ( host_id is 52 on H2 ) cat /etc/libvirt/qemu.conf | grep sanlock lock_manager = "sanlock" A virtual machine is created ( with virsh create ) on H1 using the following xml: <domain type='kvm' > <name>r...