I am migrating from a Dell switch stack to a stack of X440 switches. I have 3 VMware ESXi hosts to attach to the stack; each host uses a link aggregate of 6 physical connections.
VMware's knowledge base states that ESXI only supports an "IP HASH" load sharing algorithm. This is a Cisco term that does not appear in the xOS documentation.
My SummitStack will support address-based load sharing, but what is the correct algorithm for ESXi?
You can use the default (L2) but then ESXi won't perform the load sharing, which defeats the purpose of having a link aggregate.
The Dell switch stack uses "Source IP address and source port". There is no corresponding xOS algorithm.
L3 uses both the source and destination IP Addresses; L3_L4 uses the source and destination IP addresses and ports.
I would suggest the following KB article to assist you in addressing this question:
How do I configure EXOS for NIC teaming with route based on an IP hash in ESXi?
I hope this helps.
configure sharing address-based custom ipv4 source-onlyNote that this will only use the L3 address, not the L4 port.
enable sharing 1 grouping 1-2 algorithm address-based custom
You can find more information on this in the EXOS User Guide, under Link Aggregation Standard and Custom Algorithms.
In the legend of "show port #:# sharing" I see "L3-and-L4" as a custom algorithm option. But this doesn't appear to be any different from the standard L3_L4 algorithm.
After configuring a group with L3_L4 load sharing and connecting a host to it, the host is communicating with the vCenter server (running on a host still connected to the Dell switches), but there are HA related issues that I want to hear back from VMware about before coming to any conclusions.
Anyway, after making the configuration changes, and putting some load on the ESXi host, the utilization statistics look encouraging:
Slot-1 Stack.1 # show port A,B,C,D,E,F utilizationSince the algorithm uses both source and destination, transmits and receives will have different hashes and may go across different member ports. Since there are 3 VLANs, it's possible that all 6 (=3x2) member ports will be used.
Link Utilization Averages Mon Sep 28 15:37:26 2015
Port Link Rx Peak Rx Tx Peak Tx
State bytes/sec bytes/sec bytes/sec bytes/sec
A A 0 556377 53318556 53318556
B A 0 143009 70 128803140
C A 0 3209 11 130255665
D A 521464 845687 105 64082
E A 11 9572 64616223 64616223
F A 175927 2129075 94 1803197