Using LACP with a vSphere Distributed Switch 5.1

by Chris Wahl on Oct 15th, 2012 | 6,347 views

One of the more exciting and eagerly anticipated announcements in vSphere 5.1 (at least for me) were all the distributed switch enhancements. Among the new feature list is the ability to use LACP (Link Aggregation Control Protocol) on a distributed switch. Formerly, the switch was limited to a static EtherChannel or use of a third party switch, such as the Cisco 1000v, if LACP was desired. This post will go into how to actually configure and enable LACP on the latest vSphere Distributed Switch 5.1.

Want more details on the new features? Check out my Deep Dive on vSphere Distributed Switch 5.1 Features posts.

vSphere Distributed Switch Configuration

To start with, you’ll need a VDS running version 5.1. Additionally, you’ll need to pay heed to the list of caveats below:

  • vSphere supports only one LACP group per distributed switch and only one LACP group per host.
  • LACP does not support Port mirroring
  • LACP settings do not exist in host profiles
  • LACP only works with IP Hash load balancing and Link Status Network failover detection
  • LACP between two nested ESXi hosts is not possible

Source KB

I highlighted the last one for those who are running nested ESXi labs. Sorry!

In my lab environment, I have created a VDS named “VDS-LACP” and a single port group named “LACP-TEST”. Make sure to set the load balancing method to IP Hash and ensure that all uplinks are active.

The LACP-TEST port group configuration details

One additional step remains: you must enable LACP on the uplink port group. This must be done via the vSphere Web Client. Navigate to the uplink port group, click the Manage tab, and then select the Settings button and click Edit.

Have no fear, I’ve drawn you a GUI map!

Uplinks > Manage > Settings > Properties > Edit … say that 3 times fast

Once there, enable LACP and set it to Active.


Physical Switch Configuration

Ensure that your vSphere uplinks are plumbed into a physical switch that is configured properly for LACP. In my case, this means creating a Link Aggregation Group (LAG) on my HP V1910 switch in the lab, shown below:

The LAG creation screen on my V1910

Note that I have clicked the radio button for “Dynamic (LACP Enabled)” for the interface type. For instructions on how to create a static EtherChannel, you can refer to this video “Creating a Link Aggregation Group for a vSphere Lab” that I posted a while back.

Results

If you’ve done everything right, the LACP status should show all members as active. If you forgot to enable LACP on the VDS uplinks, you’ll get an error and one or more of the ports will be in standby mode as shown below:

This most likely means that you did not enable LACP on the VDS uplink port group

You’ll also get a neat new item on the ESXTOP list called “LACP_MgmtPort”. I assume this handles the LACP negotiation on behalf of the VDS.


Thoughts

I’m really glad to see LACP join the ranks of native features in the VDS, and am a little surprised it took this long to get it included. After all, this is a feature limited to those with the highest licensing level: Enterprise Plus. I haven’t had a lot of stick time with the feature yet so I can’t comment on any pros or cons from a troubleshooting or reliability standpoint, but the configuration process was simple enough.

If you are running, or plan to run, LACP on your VDS 5.1 and care to share your experiences please leave a comment below!

Using LACP with a vSphere Distributed Switch 5.1的更多相关文章

  1. vNetwork Standard Switch(vSS)和vNetwork Distributed Switch(vDS)的区别

    vSS: vSwitches are configured on each ESXi/ESX host. vDS: The configuration of vDS is centralized to ...

  2. day3:vcp考试

    Q41. An administrator creates a custom ESXi firewall rule using an XML file, however the rules do no ...

  3. VMware vSphere 5.x 与 vSphere 6.0各版本功能特性对比

    各版本中的新特性及功能对比:   VMware vSphere 5.0 VMware vSphere 5.1 VMware vSphere 5.5 VMware vSphere 6.0 ESXi 5. ...

  4. 原创:vsphere概念深入系列四:Nic Teaming若干问题

    参考文档:http://www.hyper-v.nu/archives/marcve/2013/01/lbfo-hyper-v-switch-qos-and-actual-performance-pa ...

  5. [转载]【虚拟化系列】VMware vSphere 5.1 网络管理

    转载自:http://mabofeng.blog.51cto.com/2661587/1020375 网络是VMware vSphere 5.1的基础,所有虚拟机都需要网络来进行通信.如果将所有的虚拟 ...

  6. VLAN 模式下的 OpenStack 管理 vSphere 集群方案

    本文不合适转载,只用于自我学习. 关于为什么要用OpenStack 管理 vSphere 集群,原因可以有很多,特别是一些传统企业,VMware 的使用还是很普遍的,用 OpenStack 纳管至少会 ...

  7. VMware vSphere 组件和功能

    https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.introduction.doc_50%2FGUID- ...

  8. 【虚拟化系列】VMware vSphere 5.1 网络管理

       网络是VMware vSphere 5.1的基础,所有虚拟机都需要网络来进行通信.如果将所有的虚拟机都看成是物理机,则在网络拓扑上,需要网卡和交换机等不同的网络连接设备和方式.而在虚拟化中,这些 ...

  9. 在 vSphere 5.x/6.0 中配置 Network Dump Collector 服务 (2002954)

    vmware KB: https://kb.vmware.com/s/article/2002954?lang=zh_CN 重点配置命令: 使用 vSphere Client 连接到 vCenter ...

随机推荐

  1. Android 应用开发特色

    Android 系统到底提供了哪些东西,供我们可以开发出优秀的应用程序.1. 四大组件Android 系统四大组件分别是活动(Activity).服务(Service).广播接收器(Broadcast ...

  2. C#编程(六十四)----------并行扩展

    并行的扩展 扩展1. Parallel的使用: 在Parallel下面有三个常用的方法Invoke,For,ForEach Parallel.Invoke()方法是最简单,最简洁的将串行的代码并行化. ...

  3. 1300多万条数据30G论坛大数据优化实战经验小结

    最近由于某大型网站社区论坛运行效率比较低用户反馈论坛有些卡需要对系统进行优化,论坛性能影响了公司的形象还有网站的流量,当然这也会影响到公司的收入,而且后期还需要长期维护网站的社区论坛服务. 1:并发访 ...

  4. VisualStudio:让 XML 支持智能提示

    将 XSD 文件拷贝到 VS 下的指定目录,我的电脑上的目录为:C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages ...

  5. 解决VS2010连接VSS时,Access to file"\\***\rights.dat" denied

    1.通过VS2010打开项目链接VSS后,提示 Access to file"\\***\rights.dat" denied. 该提示是指没有网络访问的权限,用户要在共享文件夹有 ...

  6. ImageView和onTouchListener实现,点击查看图片细节

    这是来自疯狂android讲义上的例子,其实没啥意思.就是用监听器获取到手指的坐标,然后根据这个坐标开始绘制一个图片.(这里的绘制方式有些问题,所以凑合看看吧.) 首先,还是布局文件(两个ImageV ...

  7. 对Java通配符的个人理解(以集合为例)

    对Java通配符的个人理解(以集合为例) 前言:最近在学习Java,当学到了泛型的通配符时,不是很理解PECS(Producer Extends Consumer Super)原则,以及<? e ...

  8. VS Code搭建.NetCore开发环境(二)

    一.安装VS Code for C#的相关插件 1.C# :https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp 2 ...

  9. Chapter 1 -- UsingAndAvoidingNull

    "Null sucks." -Doug Lea "Null 很恶心!" "I call it my billion-dollar mistake.&q ...

  10. go语言之进阶篇接口的定义和实现以及接口的继承

    1.接口的定义和实现以及接口的继承 示例: package main import "fmt" //定义接口类型 type Humaner interface { //方法,只有声 ...