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] auto startup and shutdown of domains

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] auto startup and shutdown of domains
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 05 Aug 2004 04:15:13 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx, mike.wray@xxxxxxxxxx
Delivery-date: Thu, 05 Aug 2004 04:35:02 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 05 Aug 2004 11:44:25 +1000." <ECEBEC5D-4A8B-449B-AF16-6BCC51E65956@mimectl>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> How do I get domains to automatically start up at boot time (or when xend 
> start) and shutdown when xend is killed? There used to be a xendomains script 
> which I never tried but it appears to be gone now, and there is a 
> /etc/xen/auto folder, but that doesn't seem to do anything either.

I'm not sure what the intended use of 'auto' is, but it would
seem to make sense to have xend check that all the VM configs specified
in /etc/xen/auto are running whenever it starts. Of course, these
configs would have to not have any input parameters (e.g. vmid).

I think I'd prefer to add another level of directory hierachy
below /etc/xen to separate the domain configs from the other
config files and scripts, perhaps an /etc/xen/xmconfigs

I'm then inclined to change the default config name from
/etc/xen/xmdefaults to /etc/xen/xmconfigs/defconfig since
'defaults' no longer really makes sense for the way 99% of people
use 'xm'. Rather than shipping a defconfig in the repo (which
always needs tailoring), we'll supply an example1 and
example2. The former will be a very simple config without any
input variables, and the 2nd will show a more complex example.

Any objections?

BTW: For those of you that have been following the Linux 2.6.7
port, it's actually quite stable now as both a dom0 and
unprivileged kernel -- I've been running LTP (Linux Test Project)
and a bunch of other tests for sometime now without
problems. There are a number of optimizations we need to turn on,
but performance isn't too bad. Expect 2.0-rc1 RSN...

Best,
Ian

 -=- MIME -=- 
--_D631781F-9CAF-4E16-A6A9-F59D7CE3605F_
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

How do I get domains to automatically start up at boot time (or when xend s=
tart) and shutdown when xend is killed? There used to be a xendomains scrip=
t which I never tried but it appears to be gone now, and there is a /etc/xe=
n/auto folder, but that doesn't seem to do anything either.

any ideas?

thanks

James

--_D631781F-9CAF-4E16-A6A9-F59D7CE3605F_
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>How do I get domains to au=
tomatically start up at boot time (or when xend start) and shutdown when xe=
nd is killed? There used to be a xendomains script which I never tried but =
it appears to be gone now, and there is a /etc/xen/auto folder, but that do=
esn't seem to do anything either.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>any ideas?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>James</FONT></DIV></BODY></HTML>

--_D631781F-9CAF-4E16-A6A9-F59D7CE3605F_--


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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