Univention Bugzilla – Bug 45256
Locking for virtual machines
Last modified: 2023-06-28 10:46:30 CEST
If NFS is used as shared storage, it is possible that a virtual machine is started on two hosts due to migration issues, see Ticket #2017082421000441 as an example. NFS locking is not allowed for shared storage: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-shared-storage-nfs-migration.html http://wiki.qemu.org/Documentation/Migration_with_shared_storage Maybe something like 'Virtual machine lock manager, virtlockd plugin' could solve this issue: https://libvirt.org/locking-lockd.html
Locking would be nice, if a kernel crash is dumped to an other server, which takes about 2 hours. If the host server is available again, migrated guest systems could be started here by accident.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.