WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Watchdog support in XEN?

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Watchdog support in XEN?
From: "Eric S. Johansson" <esj@xxxxxxxxxx>
Date: Wed, 27 Jul 2005 15:23:17 -0400
Cc: "Andreas Bach Aaen \(AH/TED\)" <andreas.bach.aaen@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Jul 2005 19:22:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200507262113.22944.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200507262153.54570.andreas.bach.aaen@xxxxxxxxxxxx> <200507262113.22944.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
Mark Williamson wrote:
So my question does XEN provide a "hardware" watchdog that the user domains
can use?
It might be safer that the counter and trigger resides in the XEN domain
than in the user domains.


A sensible and straightforward way to do this would be to wait for the XenStore code to be fully merged, then set up an attribute in the XenStore which is written to periodically by the domU to say that it's live. A daemon in dom0 can watch this and restart the domain if the attribute isn't updated for a while. The hypervisor won't need to know about this.

forgive me if I'm misunderstanding something but it seems to me that one would want to use a hardware watchdog on dom0 so if the system should well and truly fail, an undeniable reset could be applied to the entire system. But if dom0 is healthy, then yes, a software watchdog in dom0 paying attention to and deciding when to reset the various domU's should be sufficient.

---eric


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>