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

[Xen-users] installing DomU with two network bridges via virt-install

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] installing DomU with two network bridges via virt-install
From: Steven Timm <timm@xxxxxxxx>
Date: Wed, 01 Apr 2009 14:42:37 -0500 (CDT)
Delivery-date: Wed, 01 Apr 2009 12:43:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I have a Xen DomU configuration that was made in the days before
libvirt and virt-install.   In this configuration
I have:

vif = [ 'mac=00:16:3e:05:06:01, bridge=xenbr0', 'mac=00:16:3e:05:06:0a, bridge=xenbr1' ]

and then in xend-config.sxp I define

(network-script my-network-bridge)

where my-network-bridge is in the scripts directory and looks like this:

[root@fermigrid6 xen]# more scripts/my-network-bridge
#!/bin/sh
# start bridges on both eth0 and eth1

XENDIR="/etc/xen/scripts"

$XENDIR/network-bridge "$@" netdev=eth0 bridge=xenbr0 vifnum=0
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1


Is there a way to automate all or part of this with virt-install?
I'm guessing that I would still have to hack the xend-config.sxp
to get xenbr0 and xenbr1 started on dom0 in the first place,
but once that is done, would it be possible to have
two network interfaces specified via the --bridge argument
of virt-install, where one would have --bridge=xenbr0 and the other
would have --bridge=xenbr1?

Thanks

Steve Timm


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

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

<Prev in Thread] Current Thread [Next in Thread>