[Engine-devel] Watchdog support Feature

Hi, Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's. http://www.ovirt.org/Features/Watchdog_engine_support Your feedback is welcome! Thank you, Laszlo

----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 4:19:57 PM Subject: [Engine-devel] Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Although I'm sure you're aware of it - I'm reminding you that you should handle backward compatibility for this feature - So you should have an entry at vdc_options for this + use the FeatureEnabled infra Regarding the action types at db - I would suggest sticking to varchar.
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Hi Yair, ----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 5:01:28 PM Subject: Re: [Engine-devel] Watchdog support Feature
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 4:19:57 PM Subject: [Engine-devel] Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Although I'm sure you're aware of it - I'm reminding you that you should handle backward compatibility for this feature - So you should have an entry at vdc_options for this + use the FeatureEnabled infra
Good point, thx!
Regarding the action types at db - I would suggest sticking to varchar.
Well, at the moment all enums are stored as int, so varchar too will be something new.
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "Yair Zaslavsky" <yzaslavs@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 5:06:13 PM Subject: Re: [Engine-devel] Watchdog support Feature
Hi Yair,
----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 5:01:28 PM Subject: Re: [Engine-devel] Watchdog support Feature
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 4:19:57 PM Subject: [Engine-devel] Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Although I'm sure you're aware of it - I'm reminding you that you should handle backward compatibility for this feature - So you should have an entry at vdc_options for this + use the FeatureEnabled infra
Good point, thx!
Regarding the action types at db - I would suggest sticking to varchar.
Well, at the moment all enums are stored as int, so varchar too will be something new.
Hi, Sorry, to keep consistency let's go for int - I thought for some reason that you're in dilemma between varchar or something else ( http://www.postgresql.org/docs/9.1/static/datatype-enum.html ) and I automatically thought about one of the two options. Yair
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 4:19:57 PM Subject: [Engine-devel] Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
IIUC, this is a device in vdsm, which means it will be stored in vm-devices table once the vm is run, right? if so, no need for the boolean in the vm table, just manage the device for it as other devices..
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

On 24/01/13 17:53, Omer Frenkel wrote:
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 4:19:57 PM Subject: [Engine-devel] Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome! IIUC, this is a device in vdsm, which means it will be stored in vm-devices table once the vm is run, right? if so, no need for the boolean in the vm table, just manage the device for it as other devices..
Are all watchdogs available to all operating systems? Y.
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Yaniv Kaul" <ykaul@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 5:54:12 PM Subject: Re: [Engine-devel] Watchdog support Feature
On 24/01/2013 07:55, Yaniv Kaul wrote:
Are all watchdogs available to all operating systems?
ask libosinfo :)
Ric' Jones has a known post about it[1]. If you look into it[2], you can see a few Linux distro's are supported (Red Hat, Debian & Suse) plus I was able to get it in Fedora's default repo. For Microsoft OS's you may download drivers from Intel's web site. [1] http://rwmj.wordpress.com/2010/03/03/what-is-a-watchdog/#comment-4959 [2] http://watchdog.git.sourceforge.net/git/gitweb.cgi?p=watchdog/watchdog;a=tre...

On 24/01/2013 06:19, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
looks like a nice, simple, addition. dave, anyone more intimate with the watchdog worth giving another look?

On Fri, Jan 25, 2013 at 08:34:27AM -0800, Itamar Heim wrote:
On 24/01/2013 06:19, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
looks like a nice, simple, addition. dave, anyone more intimate with the watchdog worth giving another look?
I had a look at the ovirt feature page and asked some libvirt folks as well, and it all looks good to me except that the libvirt documentation says that an event when watchdog fires will be added in the future. That event has been added. The watchdog should work pretty much identically to the physical world: configure the virtual watchdog card in the guest hardware description and install the watchdog daemon in the guest. Dave

----- Original Message -----
From: "Dave Allan" <dallan@redhat.com> To: "Itamar Heim" <iheim@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, January 28, 2013 7:23:25 PM Subject: Re: [Engine-devel] Watchdog support Feature
On Fri, Jan 25, 2013 at 08:34:27AM -0800, Itamar Heim wrote:
On 24/01/2013 06:19, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
looks like a nice, simple, addition. dave, anyone more intimate with the watchdog worth giving another look?
I had a look at the ovirt feature page and asked some libvirt folks as well, and it all looks good to me except that the libvirt documentation says that an event when watchdog fires will be added in the future. That event has been added. The watchdog should work pretty much identically to the physical world: configure the virtual watchdog card in the guest hardware description and install the watchdog daemon in the guest.
Dave
Thanks Dave. Do you happen do know why the shutdown action is not recommended?

On Tue, Jan 29, 2013 at 08:06:44AM -0500, Doron Fediuck wrote:
----- Original Message -----
From: "Dave Allan" <dallan@redhat.com> To: "Itamar Heim" <iheim@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, January 28, 2013 7:23:25 PM Subject: Re: [Engine-devel] Watchdog support Feature
On Fri, Jan 25, 2013 at 08:34:27AM -0800, Itamar Heim wrote:
On 24/01/2013 06:19, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
looks like a nice, simple, addition. dave, anyone more intimate with the watchdog worth giving another look?
I had a look at the ovirt feature page and asked some libvirt folks as well, and it all looks good to me except that the libvirt documentation says that an event when watchdog fires will be added in the future. That event has been added. The watchdog should work pretty much identically to the physical world: configure the virtual watchdog card in the guest hardware description and install the watchdog daemon in the guest.
Dave
Thanks Dave. Do you happen do know why the shutdown action is not recommended?
Yes--it requires guest cooperation which it's unlikely to get if the guest has gotten into a state where the watchdog fires. Dave

----- Original Message -----
From: "Dave Allan" <dallan@redhat.com> To: "Doron Fediuck" <dfediuck@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Tuesday, January 29, 2013 2:42:42 PM Subject: Re: [Engine-devel] Watchdog support Feature
On Tue, Jan 29, 2013 at 08:06:44AM -0500, Doron Fediuck wrote:
----- Original Message -----
From: "Dave Allan" <dallan@redhat.com> To: "Itamar Heim" <iheim@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, January 28, 2013 7:23:25 PM Subject: Re: [Engine-devel] Watchdog support Feature
On Fri, Jan 25, 2013 at 08:34:27AM -0800, Itamar Heim wrote:
On 24/01/2013 06:19, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
looks like a nice, simple, addition. dave, anyone more intimate with the watchdog worth giving another look?
I had a look at the ovirt feature page and asked some libvirt folks as well, and it all looks good to me except that the libvirt documentation says that an event when watchdog fires will be added in the future. That event has been added. The watchdog should work pretty much identically to the physical world: configure the virtual watchdog card in the guest hardware description and install the watchdog daemon in the guest.
Dave
Thanks Dave. Do you happen do know why the shutdown action is not recommended?
Yes--it requires guest cooperation which it's unlikely to get if the guest has gotten into a state where the watchdog fires.
Dave
Yep, the guest kernel should handle an ACPI signal. I don't know in what circumstances would that work, but vdsm does not support it either, so that decision is already made.
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "Dave Allan" <dallan@redhat.com>, "Doron Fediuck" <dfediuck@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Tuesday, January 29, 2013 4:18:53 PM Subject: Re: [Engine-devel] Watchdog support Feature
----- Original Message -----
From: "Dave Allan" <dallan@redhat.com> To: "Doron Fediuck" <dfediuck@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Tuesday, January 29, 2013 2:42:42 PM Subject: Re: [Engine-devel] Watchdog support Feature
On Tue, Jan 29, 2013 at 08:06:44AM -0500, Doron Fediuck wrote:
----- Original Message -----
From: "Dave Allan" <dallan@redhat.com> To: "Itamar Heim" <iheim@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, January 28, 2013 7:23:25 PM Subject: Re: [Engine-devel] Watchdog support Feature
On Fri, Jan 25, 2013 at 08:34:27AM -0800, Itamar Heim wrote:
On 24/01/2013 06:19, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
looks like a nice, simple, addition. dave, anyone more intimate with the watchdog worth giving another look?
I had a look at the ovirt feature page and asked some libvirt folks as well, and it all looks good to me except that the libvirt documentation says that an event when watchdog fires will be added in the future. That event has been added. The watchdog should work pretty much identically to the physical world: configure the virtual watchdog card in the guest hardware description and install the watchdog daemon in the guest.
Dave
Thanks Dave. Do you happen do know why the shutdown action is not recommended?
Yes--it requires guest cooperation which it's unlikely to get if the guest has gotten into a state where the watchdog fires.
Dave
Yep, the guest kernel should handle an ACPI signal. I don't know in what circumstances would that work, but vdsm does not support it either, so that decision is already made.
Makes sense, thanks.

On 01/24/2013 04:19 PM, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Definitely nice feature, but i have a question for [1], won't it cause slow responsive guests (on highly loaded hosts) to constantly reboot? i.e it's understood that 'reboot' is a goal of this feature, but endless reboot of pinned-to-host guests for instance won't do any good right?, my point is: should watchdog 'action' have extra logic for guest-policy like placement for instance? [1] <watchdog model="i6300esb" action="reset"/> -- Michael Pasternak RedHat, ENG-Virtualization R&D

----- Original Message -----
From: "Michael Pasternak" <mpastern@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Sunday, January 27, 2013 9:27:54 AM Subject: Re: [Engine-devel] Watchdog support Feature
On 01/24/2013 04:19 PM, Laszlo Hornyak wrote:
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Definitely nice feature, but i have a question for [1], won't it cause slow responsive guests (on highly loaded hosts) to constantly reboot?
i.e it's understood that 'reboot' is a goal of this feature, but endless reboot of pinned-to-host guests for instance won't do any good right?,
my point is: should watchdog 'action' have extra logic for guest-policy like placement for instance?
[1] <watchdog model="i6300esb" action="reset"/>
--
Michael Pasternak RedHat, ENG-Virtualization R&D
Michael, good question. The device itself will not be added by default, and there are a few other actions which can be used (default action is none). So this will be in use only by someone who expects it to reboot. Additionally the watchdog is configurable to fire according to the internal drivers settings, so softdog may be configured to trigger the watchdog by several indicators and not only cpu load / time.

Hi everyone, I hope everyone is satisfied with the spec, please read it through for the last time and I will move it to implementation phase soon. Thx, Laszlo ----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 3:19:57 PM Subject: Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo

Hi Laszlo, Looks very useful. Any thoughts on what engine will do while if the VM is defined as HA while the watchdog is resetting it? ----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Wednesday, February 6, 2013 11:25:03 AM Subject: Re: [Engine-devel] Watchdog support Feature
Hi everyone,
I hope everyone is satisfied with the spec, please read it through for the last time and I will move it to implementation phase soon.
Thx, Laszlo
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 3:19:57 PM Subject: Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Hi Doron, If the watchdog is set to action="reset" and you break the kernel, the VM will stay in UP state while waiting for the watchdog to reset the VM, and will still be in UP state while rebooting. So in theory engine will not be notified about a crash. This behavior is different when the action="poweroff" because the watchdog will really put the VM in a Down state and it is engine's job to restart it if HA as soon as it receives the notification from VDSM. ----- Original Message -----
From: "Doron Fediuck" <dfediuck@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Sunday, February 10, 2013 4:40:29 PM Subject: Re: [Engine-devel] Watchdog support Feature
Hi Laszlo, Looks very useful. Any thoughts on what engine will do while if the VM is defined as HA while the watchdog is resetting it?
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Wednesday, February 6, 2013 11:25:03 AM Subject: Re: [Engine-devel] Watchdog support Feature
Hi everyone,
I hope everyone is satisfied with the spec, please read it through for the last time and I will move it to implementation phase soon.
Thx, Laszlo
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 3:19:57 PM Subject: Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "Doron Fediuck" <dfediuck@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, February 11, 2013 9:56:42 AM Subject: Re: [Engine-devel] Watchdog support Feature
Hi Doron,
If the watchdog is set to action="reset" and you break the kernel, the VM will stay in UP state while waiting for the watchdog to reset the VM, and will still be in UP state while rebooting. So in theory engine will not be notified about a crash. This behavior is different when the action="poweroff" because the watchdog will really put the VM in a Down state and it is engine's job to restart it if HA as soon as it receives the notification from VDSM.
Thanks. Just note that poweroff requires guest co-operation which we loose when kernel crashes. That's why it's not recommended.
----- Original Message -----
From: "Doron Fediuck" <dfediuck@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Sunday, February 10, 2013 4:40:29 PM Subject: Re: [Engine-devel] Watchdog support Feature
Hi Laszlo, Looks very useful. Any thoughts on what engine will do while if the VM is defined as HA while the watchdog is resetting it?
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Wednesday, February 6, 2013 11:25:03 AM Subject: Re: [Engine-devel] Watchdog support Feature
Hi everyone,
I hope everyone is satisfied with the spec, please read it through for the last time and I will move it to implementation phase soon.
Thx, Laszlo
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 3:19:57 PM Subject: Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Doron Fediuck" <dfediuck@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, February 11, 2013 5:43:20 PM Subject: Re: [Engine-devel] Watchdog support Feature
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "Doron Fediuck" <dfediuck@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, February 11, 2013 9:56:42 AM Subject: Re: [Engine-devel] Watchdog support Feature
Hi Doron,
If the watchdog is set to action="reset" and you break the kernel, the VM will stay in UP state while waiting for the watchdog to reset the VM, and will still be in UP state while rebooting. So in theory engine will not be notified about a crash. This behavior is different when the action="poweroff" because the watchdog will really put the VM in a Down state and it is engine's job to restart it if HA as soon as it receives the notification from VDSM.
Thanks. Just note that poweroff requires guest co-operation which we loose when kernel crashes. That's why it's not recommended.
That's the shutdown. http://libvirt.org/formatdomain.html#elementsWatchdog I always confuse the two :) Fortunately we will only have one.
----- Original Message -----
From: "Doron Fediuck" <dfediuck@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Sunday, February 10, 2013 4:40:29 PM Subject: Re: [Engine-devel] Watchdog support Feature
Hi Laszlo, Looks very useful. Any thoughts on what engine will do while if the VM is defined as HA while the watchdog is resetting it?
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Wednesday, February 6, 2013 11:25:03 AM Subject: Re: [Engine-devel] Watchdog support Feature
Hi everyone,
I hope everyone is satisfied with the spec, please read it through for the last time and I will move it to implementation phase soon.
Thx, Laszlo
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, January 24, 2013 3:19:57 PM Subject: Watchdog support Feature
Hi,
Watchdog support in engine will add watchdog to the ovirt UI and REST API. Watchdog cards will be mainly used in HA vm's.
http://www.ovirt.org/Features/Watchdog_engine_support
Your feedback is welcome!
Thank you, Laszlo
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (8)
-
Dave Allan
-
Doron Fediuck
-
Itamar Heim
-
Laszlo Hornyak
-
Michael Pasternak
-
Omer Frenkel
-
Yair Zaslavsky
-
Yaniv Kaul