NIC Bonding
I created a NIC bond0 on RHEL 5.6 about a year ago and I noticed today that the bond works but it's doing fail over (round-robin) rather than bonding them together to get more throughput performance via my two NIC's.
I found this article: https://access.redhat.com/kb/docs/DOC-34633 My question assuming my switch supports it, what 'mode' will allow my two NIC's to operate as one and allow more throughput rather than fail over? Code:
[root@iback ~]# cat /proc/net/bonding/bond0 |
well it depends what throughput you mean. tx or rx? Well in fact the only switch support required is for recieve throughput, which is mode 4, 802.3ad, etherchannel on a Cisco switch. Note that this uses MAC or IP logic to determine the connection to use, so if it's 1 device to another, you'll still only use one connection.
but RR IS Load balancing. Why would that possibly be failover?? |
Quote:
|
even at a basic language level that surely doesn't sound right to you? they are "balanced". a round robin means to go round in a loop whever you apply the term.
|
In ifcfg-bondn there's a line for options, like this: BONDING_MODULE_OPTS='mode=active-backup miimon=100'
It's the mode setting that controls the behavior. Mine here is set up like yours, with only one member of the bond is actively arping on the bond IP at any time. There are other mode options for accomplishing load balancing. Take a look at the options here: http://www.linuxhorizon.ro/bonding.html |
All times are GMT -5. The time now is 02:34 AM. |