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

Re: [Xen-users] config.sxp pain - auto start?


  • To: James Pifer <jep@xxxxxxxxxxxxxxxx>
  • From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
  • Date: Fri, 9 Oct 2009 12:33:30 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 09 Oct 2009 12:34:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ftUbGJqUMYHwZ7H0dceng4uE8yNaNdxWOkJEdOSZw/TFc+bzmylNJ9RRFmPN1HJMqk R7k69l4qs+sU/Id+vsZSc3d3lwxejXQmEts1ZtFXraeYofvoU3i4hbQZyJ0Wfgnjiyh0 xfqGoEl6hn2rk9cYxDk+GSPIRoKCDwtVdMz8k=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


On Fri, Oct 9, 2009 at 12:22 PM, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
On Thu, 2009-10-08 at 11:37 -0700, Brian Krusic wrote:
> Hi all,
>
> In the older format using Xen 3.0.3 (domains created via xm), I simply
> created a sym link from /etc/xen/domU config file to /etc/xen/auto.
>
> I am now using virt-install (Xen 3.4.1) which creates the domU config
> in /var/lib/xend/domains/UUID_#_of_domU/config.sxp.
>
> So I sym link this to a file in /etc/xen/auto/hostname_of_domU and
> noticed that no auto starting of the domU happens.
>
> I've looked in both my Xen books and only find that /etc/xen/auto is
> the place to auto start domUs.
>
> Any ideas on how to auto start gracefully while not writing a script
> in /etc/rc3.d every time a new domU comes on line?
>
> And why are xm create and virt-install so diff in how they approach
> domU configs? ÂThis is confusing.
>
> - Brian

I've read through this thread. Is there a consensus here? When I first
started on xen it used the files in /etc/xen/vm for configs, and to
autostart on boot you would put a softlink under /etc/xen/auto.


Should I be doing this a different way?

Thanks,
James
ps- sorry this got so long....


You know I could be wrong on this but I think the config.sxp way has to do with
libvirt. Virt-install and virsh manage libvirt domains I believe. The first thing I do
to a Xen Dom0 is shutdown libvirtd or delete the bridge that it creates so I can manage
everything I do myself. This also means I create /etc/xen/config files from template.

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

 


Rackspace

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