source: npl/virt/libvirt_conf/root/etc/libvirt/qemu-lockd.conf

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 2.1 KB
Line 
1#
2# The default lockd behaviour is to acquire locks directly
3# against each configured disk file / block device. If the
4# application wishes to instead manually manage leases in
5# the guest XML, then this parameter can be disabled
6#
7#auto_disk_leases = 0
8
9#
10# Flag to determine whether we allow starting of guests
11# which do not have any <lease> elements defined in their
12# configuration.
13#
14# If 'auto_disk_leases' is disabled, this setting defaults
15# to enabled, otherwise it defaults to disabled.
16#
17#require_lease_for_disks = 1
18
19
20#
21# The default lockd behaviour is to use the "direct"
22# lockspace, where the locks are acquired against the
23# actual file paths associated with the <disk> devices.
24#
25# Setting a directory here causes lockd to use "indirect"
26# lockspace, where a hash of the <disk> file path is
27# used to create a file in the lockspace directory. The
28# locks are then held on these hash files instead.
29#
30# This can be useful if the file paths refer to block
31# devices which are shared, since /dev fcntl() locks
32# don't propagate across hosts. It is also useful if
33# the filesystem does not support fcntl() locks.
34#
35# Typically this directory would be located on a shared
36# filesystem visible to all hosts accessing the same
37# storage.
38#
39#file_lockspace_dir = "/var/lib/libvirt/lockd/files"
40
41
42#
43# When using LVM volumes that can be visible across
44# multiple, it is desirable to do locking based on
45# the unique UUID associated with each volume, instead
46# of their paths. Setting this path causes libvirt to
47# do UUID based locking for LVM.
48#
49# Typically this directory would be located on a shared
50# filesystem visible to all hosts accessing the same
51# storage.
52#
53#lvm_lockspace_dir = "/var/lib/libvirt/lockd/lvmvolumes"
54
55
56#
57# When using SCSI volumes that can be visible across
58# multiple, it is desirable to do locking based on
59# the unique UUID associated with each volume, instead
60# of their paths. Setting this path causes libvirt to
61# do UUID based locking for SCSI.
62#
63# Typically this directory would be located on a shared
64# filesystem visible to all hosts accessing the same
65# storage.
66#
67#scsi_lockspace_dir = "/var/lib/libvirt/lockd/scsivolumes"
Note: See TracBrowser for help on using the repository browser.