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] Problem with automatic VM (domU) creation

To: "Frank D" <mailing@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Problem with automatic VM (domU) creation
From: "Henning Sprang" <henning_sprang@xxxxxx>
Date: Thu, 22 Feb 2007 14:54:46 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Feb 2007 05:54:13 -0800
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tBHWBzv30fL81uIlUsYW7m5dVh8Q4WP+cL748besKQgk8v9FiXmsUufHa8VQwEyzninh6dgflQBCE22zhb1t4on5gDcPIc6pQTI91HZTNrrKvZc22v3jkry8YaT0RX84wsJuGVyhXW2XE01ZjLG7nfTwEVLm7AEIoT+JbE3seDo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FpWLR2bU6CWoWEI1e7cPpX3RKoGB43v0EII4IkIhxg1dtCHxN9yRSpYaqsYsCbTL8vDq+ZiN5FgJ23R+r+Ec5QZS3e7GKIyyLcqMpu75K1JjREnJ1N2tGQgSocJxZxeMGleTOgBWci3KQsQbVCeJpKFRBv1ucoGCal+PHzJu5z0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <62789.84.156.244.112.1172150188.squirrel@xxxxxxxxxxxxxxxxxxxx>
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: <62789.84.156.244.112.1172150188.squirrel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 2/22/07, Frank D <mailing@xxxxxxxxxxxxxxxx> wrote:
I worte a little perl script, which asks me how many xen guests I want to 
create, e.g. 3 , and the
it creates 3 xen-guests automatically. The basis is an installed 
debian-guest-vm, which would be
just renamed and copied, and its config file at /etc/xen.

check out xen-tools. It does not have a feature to copy a vm 3 times
with one call, but it can use image templates and adjust them,
probably it will also handle setting the hostname right.

It is made by a debian developer, mainly for debian, but it runs quite
nice on fedora and suse, too.

it boots up, but its hostname and ip address is not the (new) one i configured 
in the
/etc/xen/<newconfigfile>, but the one of the basis image!

Wheres the mistake?

Not enough doc reading about Xen and it's architecture, and the config
parameters :)

xm doesn't change the settings inside of a guest.
The "name" setting in a VM config is NOT the dns hostname, and not the
/etc/hostname.
Often, one wants to have it like that, but this is not Xen's job.

Henning

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