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

Re: [Xen-users] bonding ethernet and xen >3.2.1


  • To: "Massimiliano De Ruosi" <max.deruosi@xxxxxxxx>
  • From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>
  • Date: Wed, 17 Dec 2008 10:31:16 -0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 17 Dec 2008 10:31:58 -0800
  • 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=e6B/OZK2yyv+zvqXXbrYtx2yOdgcnD35UOPqqABPWRHj6c7Q+E5b0xCSjGStp7Gb6w zqLsrysObsRDlanpcQt13dlfkhp8lfoSveRs+k/O+/yxPRW4QTTKiYRpKkFsloYtXwS7 KUuIJF5kSaH/Jrs4v34MnGQFM5Bm71tBUoRrw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Mon, Nov 17, 2008 at 6:31 AM, Massimiliano De Ruosi <max.deruosi@xxxxxxxx> wrote:
Hello,

I've just set up xen (3.2.1 on Debian Lenny), enabled network-bridge in xend-config.sxp and all seems to work properly: great! Then I've tried a different setup: first I've created a bond device (working properly), but then, installing xen, network stops working!

I've tried then to change the xend-config.sxp with:
(network-script 'network-bridge netdev=bond0') ...nope

Is there anyone able to get xen (>3.2.1) working with bonding? If so, can you point me to the correct way?
Maybe I'm searching in the wrong direction (i.e. there are better ways to get ethernet redundancy/load-balancing)?

Thanks,
Max.

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - CSIT -Universita' di Udine


I'm not sure how xend acts on Lenny but on CentOS when it comes up it renames eth0 to peth0 and then creates a bridge called eth0 and adds peth0 to it. If this is happening on Lenny and your bond is made up of eth0 and eth1 then you can see the problem. Xend is taking away one of your physical ethernet devices and changing it's name. If the bonding driver is loaded you should be able to check the status of the bond in /proc. On CenOS we do this like this.

[ root@vs / ] cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)

Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

I'm not sure of the solution for Lenny but for CentOS you need to rename your ethernet devices so xend doesn't rename the real physical ethernet device. Here's how on CentOS. Use this as a guide to figure out how to do it on Debian. It may be completely different but at least you understant the possible problem.

http://labs.boulevart.be/index.php/2008/09/08/64-bit-xen-330-on-centos-52-with-network-bonding-8023ad/


Grant McWilliams

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.
 

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