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

Re: [Xen-users] slightly less random random macs



On Fri, 2006-12-01 at 19:28 +0100, Henning Sprang wrote:

> 
> One point coming to my mind would be, to implement this in python and
> directly put it into the vm config files.
> 

I do things centrally. 1 dom-u controls literally hundreds of xen
servers. I put everything into a sqlite DB, then use simple php to
enable me to :

lynx --source http://domain.com/get.php?domname=xyz > domu.cfg

from the nodes.

This allows me to signal any node to pick up a config file, and signal
my nas to create the appropriate LVM backends and viola :)

My bash scripts help create the info in the sqlite db.

If python was a spoken language I'd studder horribly, but I know it can
be accomplished with 1 or 2 lines of code. Then again I studder with
most spoken languages anyway. 

> (unfotunately I had some troubles including code in vm config files, so
> it needed to be copied in each file manually...)

Me too :)

> O.K., these are rather generic thoughts on how to add functionality to
> vm config scripts...

There's always ways to make something better, but stick with what you
know .. until you know better :) The end result : it needs to work for
you.

Best,
-Tim



_______________________________________________
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®.