[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] bonding with trunking AND iscsi
On Fri, Feb 11, 2011 at 3:39 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote: [..] > I'm pretty sure you can choose round robin in Linux. From iputils' > README.bonding: > mode > ÂÂ Â Â ÂSpecifies one of the bonding policies. The default is > ÂÂ Â Â Âbalance-rr (round robin). ÂPossible values are: > ÂÂ Â Â Âbalance-rr or 0 > ÂÂ Â Â Â Â Â Â ÂRound-robin policy: Transmit packets in sequential > ÂÂ Â Â Â Â Â Â Âorder from the first available slave through the > ÂÂ Â Â Â Â Â Â Âlast. ÂThis mode provides load balancing and fault > ÂÂ Â Â Â Â Â Â Âtolerance. If you switch "mode" to LACP (802.3ad), bonding uses a hash algorithm to decide which slave to transmit any frame over. Documentation/networking/bonding.txt.gz: [..] mode Specifies one of the bonding policies. The default is balance-rr (round robin). Possible values are: [..] 802.3ad or 4 IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification. Slave selection for outgoing traffic is done according to the transmit hash policy, which may be changed from the default simple XOR policy via the xmit_hash_policy option, documented below. Note that not all transmit policies may be 802.3ad compliant, particularly in regards to the packet mis-ordering requirements of section 43.2.4 of the 802.3ad standard. Differing peer implementations will have varying tolerances for noncompliance. [..] >> >> This is why I dropped the VLAN over LACP trunk idea. ;-) >> > > IMHOÂVLAN over bonding is a good idea. Just make sure you manage the setup > using OS' configuration (/etc/sysconfig/network-scripts/ifcfg-* on RH), and > NOT rely on xend's default network-bridge script. Sure. You could, for instance, create a bond using two interfaces, each connected to a different switch, and use "active-backup" to avoid losing storage connectivity if one switch fails (resulting in loss of link). If you want to use some load balancing not recognized by any network equipment in your flow path, you should test for possible side effects first. Regards, Linus _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |