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] config.sxp pain - auto start?

Seems like /etc/xen/auto doesn't like sxp format.

I'm a bit of a tard in that I like using virt-install to create my domUs, a no brainer in that I don't have to know much to create a config.  I'd rather just tweak it after words.

In 3.4.1, virt-install creates domUs in the sxp format.  Would you happen to know how I can force the new version of virt-install to create in the old format?

- Brian

On Oct 8, 2009, at 11:50 AM, Grant McWilliams wrote:


On Thu, Oct 8, 2009 at 11:37 AM, Brian Krusic <brian@xxxxxxxxxx> 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 just updated to 3.4.1 and autostart stopped working. I copied the xen domU file into /etc/xen/auto and it started working again. Xendomains kept complaining that my domU file was not valid. Start there.

Grant McWilliams
_______________________________________________
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