Re: [Engine-devel] Watchdog support Feature

2013-02-11 Thread Laszlo Hornyak


- Original Message -
> From: "Doron Fediuck" 
> To: "Laszlo Hornyak" 
> Cc: "engine-devel" 
> Sent: Monday, February 11, 2013 5:43:20 PM
> Subject: Re: [Engine-devel] Watchdog support Feature
> 
> 
> - Original Message -
> > From: "Laszlo Hornyak" 
> > To: "Doron Fediuck" 
> > Cc: "engine-devel" 
> > 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" 
> > > To: "Laszlo Hornyak" 
> > > Cc: "engine-devel" 
> > > 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" 
> > > > To: "engine-devel" 
> > > > 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" 
> > > > > To: "engine-devel" 
> > > > > 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
> > 
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-02-11 Thread Doron Fediuck

- Original Message -
> From: "Laszlo Hornyak" 
> To: "Doron Fediuck" 
> Cc: "engine-devel" 
> 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" 
> > To: "Laszlo Hornyak" 
> > Cc: "engine-devel" 
> > 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" 
> > > To: "engine-devel" 
> > > 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" 
> > > > To: "engine-devel" 
> > > > 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
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-02-10 Thread Laszlo Hornyak
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" 
> To: "Laszlo Hornyak" 
> Cc: "engine-devel" 
> 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" 
> > To: "engine-devel" 
> > 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" 
> > > To: "engine-devel" 
> > > 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


Re: [Engine-devel] Watchdog support Feature

2013-02-10 Thread Doron Fediuck
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" 
> To: "engine-devel" 
> 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" 
> > To: "engine-devel" 
> > 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


Re: [Engine-devel] Watchdog support Feature

2013-02-06 Thread Laszlo Hornyak
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" 
> To: "engine-devel" 
> 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


Re: [Engine-devel] Watchdog support Feature

2013-01-29 Thread Doron Fediuck


- Original Message -
> From: "Laszlo Hornyak" 
> To: "Dave Allan" , "Doron Fediuck" 
> Cc: "engine-devel" 
> Sent: Tuesday, January 29, 2013 4:18:53 PM
> Subject: Re: [Engine-devel] Watchdog support Feature
> 
> 
> 
> - Original Message -
> > From: "Dave Allan" 
> > To: "Doron Fediuck" 
> > Cc: "engine-devel" 
> > 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" 
> > > > To: "Itamar Heim" 
> > > > Cc: "engine-devel" 
> > > > 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.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-29 Thread Laszlo Hornyak


- Original Message -
> From: "Dave Allan" 
> To: "Doron Fediuck" 
> Cc: "engine-devel" 
> 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" 
> > > To: "Itamar Heim" 
> > > Cc: "engine-devel" 
> > > 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
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-29 Thread Dave Allan
On Tue, Jan 29, 2013 at 08:06:44AM -0500, Doron Fediuck wrote:
> 
> 
> - Original Message -
> > From: "Dave Allan" 
> > To: "Itamar Heim" 
> > Cc: "engine-devel" 
> > 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
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-29 Thread Doron Fediuck


- Original Message -
> From: "Dave Allan" 
> To: "Itamar Heim" 
> Cc: "engine-devel" 
> 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?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-28 Thread Dave Allan
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
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-27 Thread Doron Fediuck


- Original Message -
> From: "Michael Pasternak" 
> To: "Laszlo Hornyak" 
> Cc: "engine-devel" 
> 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] 
> 
> --
> 
> 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.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-26 Thread Michael Pasternak
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] 

-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-26 Thread Doron Fediuck

- Original Message -
> From: "Itamar Heim" 
> To: "Yaniv Kaul" 
> Cc: "engine-devel" 
> 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=tree
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-25 Thread Itamar Heim

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?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-24 Thread Itamar Heim

On 24/01/2013 07:55, Yaniv Kaul wrote:

Are all watchdogs available to all operating systems?


ask libosinfo :)
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-24 Thread Yaniv Kaul

On 24/01/13 17:53, Omer Frenkel wrote:


- Original Message -

From: "Laszlo Hornyak" 
To: "engine-devel" 
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


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-24 Thread Omer Frenkel


- Original Message -
> From: "Laszlo Hornyak" 
> To: "engine-devel" 
> 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
> 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-24 Thread Yair Zaslavsky


- Original Message -
> From: "Laszlo Hornyak" 
> To: "Yair Zaslavsky" 
> Cc: "engine-devel" 
> Sent: Thursday, January 24, 2013 5:06:13 PM
> Subject: Re: [Engine-devel] Watchdog support Feature
> 
> Hi Yair,
> 
> - Original Message -
> > From: "Yair Zaslavsky" 
> > To: "Laszlo Hornyak" 
> > Cc: "engine-devel" 
> > Sent: Thursday, January 24, 2013 5:01:28 PM
> > Subject: Re: [Engine-devel] Watchdog support Feature
> > 
> > 
> > 
> > - Original Message -
> > > From: "Laszlo Hornyak" 
> > > To: "engine-devel" 
> > > 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
> > > 
> > 
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-24 Thread Laszlo Hornyak
Hi Yair,

- Original Message -
> From: "Yair Zaslavsky" 
> To: "Laszlo Hornyak" 
> Cc: "engine-devel" 
> Sent: Thursday, January 24, 2013 5:01:28 PM
> Subject: Re: [Engine-devel] Watchdog support Feature
> 
> 
> 
> - Original Message -
> > From: "Laszlo Hornyak" 
> > To: "engine-devel" 
> > 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
> > 
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Watchdog support Feature

2013-01-24 Thread Yair Zaslavsky


- Original Message -
> From: "Laszlo Hornyak" 
> To: "engine-devel" 
> 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
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel