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

xen-users

[Top] [All Lists]

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

To: Ligesh <myself@xxxxxxxxxx>
Subject: Re: [Xen-users] Re: Problem with automatic VM (domU) creation
From: Tim Post <tim.post@xxxxxxxxxxxxxxx>
Date: 2007年2月22日 23:29:13 +0800
Cc: Henning Sprang <henning_sprang@xxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Frank D <mailing@xxxxxxxxxxxxxxxx>
Delivery-date: 2007年2月22日 07:29:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070222150056.GA7550@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/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>
Organization: Net Kinetics
References: <62789.84.156.244.112.1172150188.squirrel@xxxxxxxxxxxxxxxxxxxx> <5bb00b3f0702220554x849eb34j13ff35a7b726386@xxxxxxxxxxxxxx> <20070222150056.GA7550@xxxxxxxxxx>
Reply-to: tim.post@xxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2007年02月22日 at 20:30 +0530, Ligesh wrote:
> On Thu, Feb 22, 2007 at 02:54:46PM +0100, Henning Sprang wrote:
> > 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.
>
> > but this is not Xen's job.
>
> And how's that? It is not the job of xen:the hyperVisor of course, but it 
> should be part of the xen, the platform. 
> Does XenEnterprise do this at least?
>
>
> Thanks
cat << EOF > /pathto/mounted/vm/fs/etc/hosts
127.0.0.1 localhost.localdomain localhost
1.2.3.4 ${VMLONGNAME} ${VMSHORTNAME}
EOF
cat << EOF > /pathto/mounted/vm/fs/etc/network/interfaces
auto eth0
iface eth0 inet static
 address ${VM_IPADDR}
 ... and so on
EOF
Unmount, and boot it.
It is very, very easy to make scripts to setup guests. Parse a .csv file
that you obtain centrally if you wish, or spend the 3 - 5 hours needed
to do something with php/mysql centrally and use lynx or whatever else
you want to fetch the values to feed the scripts you make. 
There is almost an infinite amount of ways to have your guests ready to
roll in just a few minutes with a little scripting.
Xen is like Leggos. Snap together how you like and incorporate it how
you like, or use one of any number of tools to do this. I think the
reason so many system integrators really love Xen is because its so easy
to work into any scenario. 
In 10 seconds, I can create a paravirtualized guest with networking
setup, filesystems formatted and ready, root password, hostname,
everything set that needs to be.
I fill in about a dozen values in a csv file , run one script and I'm
done. That script took all of .. 2 hours to throw together. Elegant,
no .. effective predictable and reliable, yes :)
Its really not Xen's job to do this. I use Xen mostly in distributed
grids where my domname means something completely different than the
system's hostname. So many uses for xen way beyond the simple creating
of PV guests, if they started doing too much for me, I'd just have quite
a bit of stuff to un-do.
Xen (open source) is a set of very powerful tools that need somewhat
skilled hands to use them. I think if the project shifted focus such as
you suggest, it would lose some of its support and community.
Best,
--Tim
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] invalid or unsupported executable format , Ken Dyke
Next by Date: [Xen-users] Re: Problem with automatic VM (domU) creation , Ligesh
Previous by Thread: [Xen-users] Re: Problem with automatic VM (domU) creation , Ligesh
Next by Thread: [Xen-users] Re: Problem with automatic VM (domU) creation , Ligesh
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /