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] Xen virtual interface settings

To: "Thomas Halinka" <lists@xxxxxxxxx>
Subject: Re: [Xen-users] Xen virtual interface settings
From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>
Date: Thu, 11 Dec 2008 23:29:05 -0800
Cc: "Gary W. Smith" <gary@xxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Dec 2008 23:29:54 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=D0aHX15ws9DLHo6C4i77eIIFqG1PLlpHxgz8LauVPz8=; b=AUMOj+OmPAH7MTPc7T3OHAfKBspOqqqlJub1LmKILeui5JrkQfu4lrfkV0uz47MXVW C8s0dfwimoT7+rqnizozG/MlZbJk5dCCzhuVyZ3rFcZghGxUL/r9ZcgdIl3lh5omXEFK ag/AJ19BIqblb9fvV9xZAklHE0tItvX42Tk70=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=sJhjfCG6OIGyb2iuZZg81YRpREJReQvSDOuMibZJPGia8myrOzEh6I/v9W+t36qwPU GkBVZCLhknM9kJRO2JljxUeAQUsczavX0dMZm4BXS+234dmKfppsbk88ypague9q7aMS oQ7WFZm9Se5lukhQlOfiuF/LG38lnwc11raXE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1229029805.21353.6.camel@ubu32>
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: <ed123fa30812111236y65bba33m261dd84e539b6e88@xxxxxxxxxxxxxx> <417DD550405AF84F95040DA44520C8E505192B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1229029805.21353.6.camel@ubu32>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Thu, Dec 11, 2008 at 1:10 PM, Thomas Halinka <lists@xxxxxxxxx> wrote:
Am Donnerstag, den 11.12.2008, 12:38 -0800 schrieb Gary W. Smith:
> Grant,
>
> I tried something similar some time ago to no avail.  What I ended up
> doing is setting the IP in the script that I used to build the image
> on the fly (i.e. mount the image, add
> custom /etc/sysconfig/network-scripts/ifcfg-eth0 -- in RH based).
>

I was thinking about this. I could probably losetup the image and copy the network config to it.
 

> Altertavitvely you could leave it on DHCP and set all of the mac
> addresses and then create a DHCP pool that is only allocated to
> those MAC addresses.
>
> In short, IP in config for me has never succeeded but fixed MAC's
> have.
but a combination works too, e.g.

vif         = [ 'mac=00:16:3E:5A:A4:A5, ip=192.168.100.1' ]

The Problem if you do _not_ set a mac-adress in domu-config, the
mac-adress for this domu changes on each startup.

>
> Gary

I'm figuring this out. What mac are you setting by using this line then? I'm not sure what the point is.
You say that fixed macs have worked. I set the mac and my dhcp server but the mac that gets sent is the one of the domU which
is not the one I set in the DomU config. What IS the domU mac= or ip= lines for?
 


and to these topic:
.... All of the students VMs will be copies (or using qcow2 backing
file) of  a base image so will be identical to save space and setup
time.
....

Create your "Master-Image" as LVM-Volume and give those domus a snapshot
from this volume. Since lvm supports copy-on-write this is really cool,
e-g- for a web-server-cluster or anything where a "golden-image" and the
guests have only minor changes... .

Just my 2cents

Thomas

Thomas, LVM is very expensive when you have a mass of snapshots though. LVM snapshots are great for backing up but 100 snapshots are going to be a mess.

Grant
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>