[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] domain key gone from xenstore when calling offline hotplug scripts

On Fri, Dec 09, 2005 at 05:00:24AM -0600, Christopher S. Aker wrote:

> I'm using a custom vif-script and I've noticed that when the "offline" 
> mode is called, I'm unable to retrieve the domain key from xenstore, 
> most likely because the domain has already been destroyed.
> Is there any way to defer the removal of those keys until $vif-script 
> offline has been called, or possibly retain it in xend and pass it along 
> as a command arg?  The domain value is useful in the network 
> deconstruction I'm performing.

What do you mean by "the domain key"?  You get the path to the domain, the
device type and the vif ID passed as environment variables -- this should be
sufficient for you to use as a key to other databases or whathaveyou.  What
else do you require?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.