Displaying 2 results from an estimated 2 matches for "disk_lease_dir".
2012 Mar 13
2
libvirt with sanlock
...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 seconds (default =...
2012 Apr 08
0
NFS + sanlock problems
...-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>rhel1.locktest</n...