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/
Home Products Support Community News


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

To: Brian Krusic <brian@xxxxxxxxxx>
Subject: Re: [Xen-users] config.sxp pain - auto start?
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Thu, 8 Oct 2009 11:50:10 -0700
Cc: xen-users users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Oct 2009 11:51:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=akw3yQ8gUoHNUGRToPZ0h2m+HkJm+JhYbjdTBaaDj30=; b=WCe130tSVaYfHZsyt4bRD7nBfPWklBZoqD+m77Yx9UJiSJ4m+091dVb4lgbG3U4flb atR2eNxM5V3zbxhDYUW1o7X6yLSAgOgXNRMrKi+pSR2Nox0X3C53A3jYFiwjhp3Rtp53 WaHK4bX6Vo/UbDXQ2UFPtR64YJB6hKJ8iUhr0=
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=j3R6iL3zy4f62WeFt5El2gPK2Om4vcFJDgc7e+Fh0vpzpGqfcLq3eSLtwgmPz5XrNl RNDzUaIurWUDHhZ9AVjXrgqdKNfpJIepKA5d+q/R+9mcu2XszkZmzSPUo3cVzOIuaGKk jPpBXrtOYJtcKyqD05gdXWjQ7l+lq3L0HCR0k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C72F1C34-24F8-4DDD-90E8-6D7936C31C7A@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <C72F1C34-24F8-4DDD-90E8-6D7936C31C7A@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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