In this article on using VMware ESX Virtual Switch Tagging (VST) with HP Virtual Connect, I showed you how to use the Multiple VLANs setting to map multiple VLANs onto a network connection so that the VLAN tags would pass all the way up to the VMware ESX/ESXi host—a necessary prerequisite for making VST work.
However, there is a key caveat to this approach that applies when using HP Virtual Connect Flex-10 and HP blades that have Flex-10 LOM (LAN on Motherboard) interfaces. As you might already know, Flex-10 LOMs have the ability to “subdivide” themselves into four logical instances, each of them a valid PCIe function, which are called FlexNICs. These FlexNICs appear as real, actual, physical NICs to the operating system installed on the blades. This includes VMware ESX/ESXi. In the Virtual Connect Manager, though, you have the ability to fine-tune the amount of bandwidth allocated to each of these FlexNICs, up to the shared maximum of 10Gbps.
This is pretty cool, but there is one limitation of which you must be aware—a limitation that is particularly significant in VMware ESX/ESXi environments. When you use the Multiple Networks option to map multiple VLANs onto a FlexNIC, you can’t map the same VLAN onto two different FlexNICs from the same LOM.
The FlexNICs are noted as LOM 1:a, LOM 1:b, LOM 2:a, etc. Again, as noted earlier, up to four FlexNICs are presented to the operating system on the blade. When you start assigning network connections in a Server Profile in Virtual Connect Manager, these network connections will bounce back and forth between the LOMs (assuming there are no other network interface cards in the server blade):
First network connection > LOM 1:a
Second network connection > LOM 2:a
Third network connection > LOM 1:b
Fourth network connection > LOM 2:b
…
Seventh network connection > LOM 1:d
Eighth network connection > LOM 2:d
As far as I know, there is no way to change this behavior.
With that in mind, what this means is that you can’t map the same VLANs to the first, third, fifth, and seventh network connections, or to the second, fourth, sixth, or eighth network connections. Why? Because each of these connections are logical FlexNICs on the same LOM, and you can’t map the same VLANs to more than one FlexNIC on the same LOM.
Perhaps an example would help. Consider the configuration shown in this figure, in which multiple VLANs are mapped to all eight connections in Virtual Connect Manager:

This screenshot shows how the VLANs are mapped for each of those eight network connections:

As you can see, I have the same set of five VLANs mapped onto all eight network connections (all eight logical FlexNIC instances). But only the first two show OK—the rest show Critical. Why? Because these logical FlexNICs have the same VLANs mapped to them as were mapped to the first FlexNIC, and therefore Virtual Connect Manager has placed them into a Critical state (they’ll be reported as “Down” to an operating system on the blade).
This behavior is the strange behavior I tweeted about a few days ago, where I couldn’t figure out why Virtual Connect was behaving in the way that it was. Now I know why!
Contrast that first configuration with the configuration shown in this screenshot:

In this case, you’ll note that I do not have the same VLANs mapped to more than one FlexNIC on the same LOM. As a result, Virtual Connect Manager does not place any of the FlexNICs into a Critical state, and all eight show OK (and will be reported as Up to an operating system on the blade).
So what does this mean? In its simplest terms, it means you can’t use VST on all the FlexNICs—some of the FlexNICs will have to carry “ordinary” traffic to VMware ESX/ESXi port groups that have no VLAN ID specified. In the image above, you can see that the first three pairs of FlexNICs each carry a specific type of traffic. The matching output of esxcfg-vswitch --list for this VMware ESX host shows that the port groups on each of the three matching vSwitches do not have any VLAN IDs specified. This is because, in this configuration, these three pairs of FlexNICs carry only a single type of traffic, and that single type of traffic has no VLAN tags attached. Therefore, the VMware ESX/ESXi port groups must not have a VLAN ID specified in order for traffic to flow.
But it also presents some other interesting design considerations. If your VMware ESX Service Console (or VMware ESXi Management interface) is on the same VLAN as some of your virtual machines, you’ll run into an issue—you won’t be able to map the VLAN to one set of FlexNICs for Service Console traffic and then map that same VLAN to another set of FlexNICs for other virtual machine traffic. In effect, it greatly reduces the extent to which you can use VST on VMware ESX/ESXi hosts.
Of course, the other way of handling it is to assign only two network connections, map multiple VLANs to those network connections, assign the full 10Gbps of throughput to those two FlexNICs (network connections), and use a single vSwitch design.
As far as I can tell, this is not documented by HP in the Virtual Connect (or Flex-10) documentation. So, you might want to bookmark this article, or post it to Delicious.com or similar. Finally, as always, I’d love to hear any feedback or clarifications in the comments. Thanks!
Tags: Hardware, HP, Networking, Virtualization
-
Scott,
Let me fill you in on a few other limitations of Virtual Connect and Flex-10 right now.
If you need to make any changes to a server profile like adding a VLAN or adjusting the bandwidth of the Flex NICs you have to reboot the host. It is an issue in our environment where we have many VLANs and having to add one to an ESX host to support a new VM is not unusual.
The previous Virtual Connect firmware version had a limitation that you could only map up to 32 VLANs from an uplink set. Again we use many VLANs and were bordering on this limit. The new firmware has increased this to 64. But the other limitation of the previous firmware is that you could map up to 28 vNetworks(VLANs) to a single FlexNIC. We have not got confirmation from HP that this number has increased with the latest firmware.
Virtual Connect can’t take down the link of an individual FlexNIC, it can only take down the link of the whole physical NIC(all 4 FlexNICs). This is a problem if you use link status to do ESX network fault tolerance. Virtual Connect has a feature called Smart Link that if a Virtual Connect uplink goes down it will take down the server links. But again it can only take down the whole physical NIC and only if the all uplinks for all the vNetworks that are mapped to all 4 FlexNICs go down.
I know HP is aware of some of these limitations and has stated they will be addressed in future firmware releases.
-
Thanks for taking the time to write this article, very useful as we are deploying vSphere on BL685s with Flex-10 VC modules.
Does this scenario only happen with VLAN mapping or does it apply to VLAN tunelling as well?
-
Scott,
Thanks for taking the time to evaluate Virtual Connect. HP’s Virtual Connect with Flex-10 enables our customers to use VST on all FlexNICs providing they use different VLANs on each FlexNIC LOM. Replicating FlexNIC configurations between LOMs allows for teaming and chip-level redundancy. There is no advantage to using the same VLANs one each FlexNIC beyond the additional bandwidth; something easily tuned using the bandwidth parameter on each individual FlexNIC.
Another alternative to mapping a VLAN to independent sets of FlexNICs for Console traffic and VM traffic would be to define two different Virtual Connect networks, one for service console traffic, and the other for the VM traffic. Virtual Connect will keep these two networks completely isolated, but you can bridge them externally. In many cases, it is desirable to keep those two separate anyway.
Thanks again, we look forward to more insight.
Chris
-
I’m implimenting Flex-10 on BL460-G6 blades. I really don’t need the Flex-NICs, I’m just tunneling all the VLANs to the ESx servers. What I find anoying is the 6 dead links with no links, it is two bad there isn’t a way to make the unused Fle-NICs to go away. The bigger problem I have is a poorly documented problem, you can mix Virtual connect modules in one chassis, but a Flex-10 can not be in a slot next to a VC ethernet module. Anybody want to swap a VC ethernet for a Flex-10 module?
-
Scott,
In this article you said: “you have the ability to fine-tune the amount of bandwidth allocated to each of these FlexNICs, up to the shared maximum of 10Gbps.”
Question: Is the “Allocated” bandwidth for a FlexNIC a maximum not-to-exceed bandwidth? Or, is “Allocated” bandwidth a minimum guaranteed bandwidth with the ability to go higher if bandwidth is unused/available?
In other words, suppose I have (2) FlexNICs on the same LOM port, each with an “Allocated” bandwidth setting of 5Gbps. If FlexNIC #1 is idle, not using any bandwidth, is FlexNIC #2 able to use 10Gbps? Or, in this scenario, is FlexNIC #2 still limited to a maximum of 5Gbps?
Thanks,
Brad -
There is a lot of meat in this post, so I am guessing it will take a bit of time to tackle specifics. If you do have Flex10 technical questions, posting them on the HP Blade Connect community is the best way to get a direct response from an HP resource.
http://h18006.www1.hp.com/products/blades/components/bladeconnect.htmlI can’t comment on specific feature enhancements or firmware updates, so I will try to address your comments as best possible in those areas.
Yes, there are some profile related annoyances noted by Rob and Scott. Originally Virtual Connect had the ability to change network mappings on the fly without powering off the blade. But with a recent flurry of Virtual Connect enhancements including Flex10, some of those features were temporarily disabled. We have added tons of enhancements over the last 2+ years, and I expect that you will see positive changes in the areas you noted.
With regard to VLAN tunneling (multiple networks per FlexNIC), I have worked with VC and Flex10 extensively but have not come across many customers interested in tunneling large numbers of VLANs across a single FlexNIC. Obviously there is nothing wrong with doing that, just that experience has shown limited interest in that type of design. It would help to understand that VLAN strategy a little better to be able to comment more appropriately.
Experience with VMware customers using Flex10 has shown that most are using a smaller number of VLANs to support VMs running on an ESX farm, and that Flex10 provides greater bandwidth and better LAN fault tolerance for VMware environments than was previously available. The big thing here was increasing the number of physical NICs presented to the OS and simultaneously increasing bandwidth (regardless of OS or application) – and at the same time lowering core uplink and edge interconnect costs.
With respect to the limitations on SmartLink, there is logic there which requires a more detailed design discussion to fully address. Suffice to say that rules/reactions are different for FlexNICs with mapped (Single VLAN) and tunneled FlexNICs (Multiple networks). The SmartLink rules depend specifically on how your uplinks to the data center are configured, in addition to your VLAN selection on the FlexNIC. These need to be planned for on a customer by customer basis.
I will keep posting as time allows.




9 comments
Comments feed for this article
Trackback link: http://blog.scottlowe.org/2009/07/09/using-multiple-vlans-with-hp-virtual-connect-flex-10/trackback/