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

Re: [Xen-users] Problem with automatic VM (domU) creation


  • To: "Frank D" <mailing@xxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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