Backlog #2651

Implement mailbox to prevent vm from running twice

Added by Stefan Kooman over 7 years ago. Updated over 7 years ago.

Status:PendingStart date:01/16/2014
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Drivers - VM
Target version:-

Description

In order to prevent vm's from running more than once in case of a split-brain / host failure / transient network failure a "mailbox" machanism might be useful, at least in shared filesystem environments. Before a virtual machine is allowed to start this mailbox file should be checked for a "heartbeat". If this mailbox file isn't updated for $timeout by the host the vm was running on (or still is but cannot be reached because of netwerk problems) the vm can safely be started with the host id of the hypervisor it is running on. If however this file is still actively updated (every $heartbeat_interval) the vm should not be re-created on another hypervisor. A host should check this mailbox file regularly and if it finds a host id other than it's own and is still "running" the vm it should kill the instance immediatly. This will prevent vm's from running twice. It's just another safe guard that might help Virtual Machines High Availability (http://archives.opennebula.org/documentation:rel4.4:ftguide).

History

#1 Updated by Ruben S. Montero over 7 years ago

  • Tracker changed from Feature to Backlog
  • Category set to Drivers - VM
  • Priority changed from Normal to High

Thanks for the feedback!

Moving this to backlog

Also available in: Atom PDF