14.09.2013 07:28, Tom Parker wrote:
> Hello All
> 
> Does anyone know of a good way to prevent pacemaker from declaring a vm
> dead if it's rebooted from inside the vm.  It seems to be detecting the
> vm as stopped for the brief moment between shutting down and starting
> up.  Often this causes the cluster to have two copies of the same vm if
> the locks are not set properly (which I have found to be unreliable) one
> that is managed and one that is abandonded.
> 
> If anyone has any suggestions or parameters that I should be tweaking
> that would be appreciated.

I use following in libvirt VM definitions to prevent this:
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>

Vladislav

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to