17.09.2013 20:51, Tom Parker wrote:
> 
> On 09/17/2013 01:13 AM, Vladislav Bogdanov wrote:
>> 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
> Does this not show as a lot of failed operations?  I guess they will
> clean themselves up after the failure expires.

Exactly. And this is much better than data corruption.

_______________________________________________
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