[Linux-cluster] Packet loss after configuring Ethernet bonding
Digimer
lists at alteeve.ca
Sat Nov 10 02:54:33 UTC 2012
On 11/09/2012 09:26 PM, Zama Ques wrote:
> Hi All,
>
> Need help on resolving a issue related to implementing High Availability at network level . I understand that this is not the right forum to ask this question , but since it is related to HA and Linux , I am asking here and I feel somebody here will have answer to the issues I am facing .
>
> I am trying to implement Ethernet Bonding , Both the interface in my server are connected to two different network switches .
>
> My configuration is as follows:
>
> ========
> # cat /proc/net/bonding/bond0
>
> Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
>
> Bonding Mode: adaptive load balancing Primary Slave: None Currently
> Active Slave: eth0 MII Status: up MII Polling Interval (ms): 0 Up Delay
> (ms): 0 Down Delay (ms): 0
>
> Slave Interface: eth0 MII Status: up Speed: 1000 Mbps Duplex: full Link
> Failure Count: 0 Permanent HW addr: e4:e1:5b:d0:11:10 Slave queue ID: 0
>
> Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full Link
> Failure Count: 0 Permanent HW addr: e4:e1:5b:d0:11:14 Slave queue ID: 0
> ------------
> # cat /sys/class/net/bond0/bonding/mode
>
> balance-alb 6
>
>
> # cat /sys/class/net/bond0/bonding/miimon
> 0
>
> ============
>
>
> The issue for me is that I am seeing packet loss after configuring bonding . Tried connecting both the interface to the same switch , but still seeing the packet loss . Also , tried changing miimon value to 100 , but still seeing the packet loss.
>
> What I am missing in the configuration ? Any help will be highly appreciated in resolving the problem .
>
>
>
> Thanks
> Zaman
You didn't share any details on your configuration, but I will assume
you are using corosync.
The only supported bonding mode is Active/Passive (mode=1). I've
personally tried all modes, out of curiosity, and all had problems. The
short of it is that if you need more that 1 gbit of performance, buy
faster cards.
If you are interested in what I use, it's documented here:
https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial#Network
I've used this setup in several production clusters and have tested
failure are recovery extensively. It's proven very stable. :)
--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
More information about the Linux-cluster
mailing list