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] Supported/normal way of creating domains at start-up?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Supported/normal way of creating domains at start-up?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 17 Oct 2005 19:18:22 +0100
Cc: Tom Brown <tbrown@xxxxxxxxxxxxx>
Delivery-date: Mon, 17 Oct 2005 18:14:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0510161123060.30660-100000@xxxxxxxxxxxxxxxxxx>
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: <Pine.LNX.4.44.0510161123060.30660-100000@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
On Sunday 16 October 2005 19:24, Tom Brown wrote:
> On Sun, 16 Oct 2005, Matus Harvan wrote:
> > On 2005-10-16 19:55, Eric wrote:
> > > Hi! I'm a new xen user, and I've searched the docs and list archives,
> > > but I can't seem to find the "official" or recommended way for starting
> > > domUs at machine start-up and shutting them down (safely) at
> > > shutdown. What do people normally do ?
> >
> > put a symlink to the xen domU config files into /etc/xen/auto/
>
> that covers startup, but is there anything in xen to send a signal to init
> in the domUs to request a shutdown?

As Matus Harvan also mentioned, the init script should handle this too.  It 
sends a shutdown request to each domain, which should shut itself down 
politely and then go away.

Note that "rude" or malicious domains can hold up dom0 arbitrarily long by not 
shutting themselves down on request...  You'll want to bear this in mind: you 
must a reasonable confidence that the domains won't do this all the time, or 
at least that you'll notice and come and kill them.

Cheers,
Mark

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

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