libxl-lockd.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. # Flag to determine whether we allow starting of guests
  10. # which do not have any <lease> elements defined in their
  11. # configuration.
  12. #
  13. # If 'auto_disk_leases' is disabled, this setting defaults
  14. # to enabled, otherwise it defaults to disabled.
  15. #
  16. #require_lease_for_disks = 1
  17. #
  18. # The default lockd behaviour is to use the "direct"
  19. # lockspace, where the locks are acquired against the
  20. # actual file paths associated with the <disk> devices.
  21. #
  22. # Setting a directory here causes lockd to use "indirect"
  23. # lockspace, where a hash of the <disk> file path is
  24. # used to create a file in the lockspace directory. The
  25. # locks are then held on these hash files instead.
  26. #
  27. # This can be useful if the file paths refer to block
  28. # devices which are shared, since /dev fcntl() locks
  29. # don't propagate across hosts. It is also useful if
  30. # the filesystem does not support fcntl() locks.
  31. #
  32. # Typically this directory would be located on a shared
  33. # filesystem visible to all hosts accessing the same
  34. # storage.
  35. #
  36. #file_lockspace_dir = "/var/lib/libvirt/lockd/files"
  37. #
  38. # When using LVM volumes that can be visible across
  39. # multiple, it is desirable to do locking based on
  40. # the unique UUID associated with each volume, instead
  41. # of their paths. Setting this path causes libvirt to
  42. # do UUID based locking for LVM.
  43. #
  44. # Typically this directory would be located on a shared
  45. # filesystem visible to all hosts accessing the same
  46. # storage.
  47. #
  48. #lvm_lockspace_dir = "/var/lib/libvirt/lockd/lvmvolumes"
  49. #
  50. # When using SCSI volumes that can be visible across
  51. # multiple, it is desirable to do locking based on
  52. # the unique UUID associated with each volume, instead
  53. # of their paths. Setting this path causes libvirt to
  54. # do UUID based locking for SCSI.
  55. #
  56. # Typically this directory would be located on a shared
  57. # filesystem visible to all hosts accessing the same
  58. # storage.
  59. #
  60. #scsi_lockspace_dir = "/var/lib/libvirt/lockd/scsivolumes"