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-devel

Re: [Xen-devel] xenstore reboot/crash watch

To: Ashwin Pankaj <ashwin.pankaj@xxxxxxx>
Subject: Re: [Xen-devel] xenstore reboot/crash watch
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Wed, 04 Nov 2009 11:12:55 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 04 Nov 2009 03:09:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AF003FD.4080902@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4AF003FD.4080902@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20091001)
Ashwin Pankaj wrote:
Hi,

I tried googling this one - but documentation on @releaseDomain key in xenstore seems scanty.

   1. If a client registers a watch for this key - does it get called
      every time a domain restarts / crashes ?
yes
   2. Why can't xenstore-ls, xenstore-read et al "see" this key ?
this is not a database key. this is just a special event.
        So would the following python code register watch for  restart
      events of ANY domain - 'watch = xswatch("@releaseDomain",
      watch_func, xshandle())' ?
yes it seems right.
but it's not a restart event, the event is there to notify that one or multiple domain(s) are dead.

--
Vincent

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

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