Avatar of yip459
yip459
 asked on

Load balancing & Balancing

In general: if you have say a NAS set up: and the device has 2 or more NIC's: can you combine both fail-over and load balancing functionality should you configure link agregation or channel bonding? What I mean is> can both be used?
Networking Hardware-OtherIT Administration

Avatar of undefined
Last Comment
thpipfh

8/22/2022 - Mon
Thomas Zucker-Scharff

Nt sure of your exact configuration, but our exchange 2010 setup has both load balancing and failover.
woolmilkporc

Channel bonding is a form of link aggregation, or better, kind of a superordinate term for it.

While the classic standardized link aggregation takes place in the 802.3 sublayer (optionally using LACP - Link Aggregation Control Protocol, requires LACP capable switches) the software-based Linux bonding driver and many others, like the AIX LA driver support not only 802.3ad, but also other options like round robin, active backup (one active NIC, others in standby) and adaptive balancing (no link aggregation-aware switches required).

802.3ad (standard link aggregation) provides load balancing, and this includes failover capability automatically, because any aggregated link can exist with only one active NIC.

So if you configure the bonding driver for 802.3ad you're employing classic link aggregation, if you configure one of the other methods you're using some special form of link aggregation outside the standard.

Another special form is Etherchannel, once invented by CISCO but also available in IBM AIX and some other  OSes.

The  above implies that you cannot use link aggregation and channel bonding in parallel, because both methods are in a way contained in each other.
yip459

ASKER
After re-reading my question I can see where my question was misleading on the answer I was seeking. However, you have both helped clarify my understanding. i didn't realize the connection between channel bonding/link aggregation. Thank you
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Sajid Shaik M

link aggregation and network teaming both are same..

Windows Server 2012 and our FREE Hyper-V Server 2012 include native teaming of network adapters to provide load balancing, bandwidth aggregation and failover capabilities using standard Ethernet NICs.  IT Pros have been really interested in NIC teaming, because it can provide the extra bandwidth and fault tolerance needed for business critical networks segments supporting virtual machines, clusters, live migrations and iSCSI storage - all over commodity network adapters!

refering to Channel bonding
it's a dynamic teaming:

 •      Dynamic teaming using the Link Aggregation Control Protocol (LACP) to dynamically identify links that are connected between the host and a given switch. This enables the automatic creation of a team and, in theory but rarely in practice, the expansion and reduction of a team simply by the transmission or receipt of LACP packets from the peer entity. Typical server-class switches support IEEE 802.1ax but most require the network operator to administratively enable LACP on the port.  
Both of these modes allow both inbound and outbound traffic to approach the practical limits of the aggregated bandwidth because the pool of  team members is seen as a single pipe.
rauenpc

A simple answer depends on how you connect the nas/server to your switch(es). If you make both connections to a single switch and that switch supports LAG configuration, then you can do either load balancing or failover. If the switch doesn't support LAG or you're connecting to two different switches, your only reliable choice is failover.
ASKER CERTIFIED SOLUTION
thpipfh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.