博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Teaming NICs achieves load balance and failover on VMware ESX
阅读量:7024 次
发布时间:2019-06-28

本文共 3942 字,大约阅读时间需要 13 分钟。

Network interface card (NIC) teaming means grouping several NICs into a single NIC. If properly configured, NIC teaming on VMware ESX provides both inbound and outbound load balancing for your guest virtual machines (VMs). Load balancing evens out use of the multiple NICs available on most servers; thus, providing failover to your guest virtual machines by allowing them to stay active even if one NIC, cable or switch is lost.

The case for NIC teaming

While a lot of options for configuring virtual networks is possible with VMware ESX Server, many administrators configure their server in the following way:

As you can see in the graphic above, both management networks have two physical adapters. The VM network (where the guest VMs reside) also has two physical adapters. Doing this allows for a number of fault tolerance benefits:

  1. If a physical adapter goes out, the other adapter takes over.
  2. If a cable going to a physical adapter goes out, the other adapter (with the good cable) takes over.
  3. Assuming that both NICs go to different switches, if a switch fails, the NIC connected to the available switch takes over.

Despite the , basic NIC teaming only provides outbound load balancing. To get inbound load balancing with NIC teaming, however, you must go the extra step and configure VLAN trunking and the port channel on the Ethernet switch to which these VMware ESX Server physical adapters are connected.

SearchVMware.com author Scott Lowe has written some excellent articles about VLAN configuration that I recommend before continuing:

Configuring NIC teaming in VMware ESX Server

Two or more NIC cards are required to use NIC teaming in your ESX server.  in VMware ESX Server is actually very simple. First, you need at least two physical adapters on your ESX Server. Per the graphic above, most administrators separate the management and the virtual guest networks. Thus, for our example, say that we have three adapters on our server and one of those adapters is put into a separate virtual switch for the management network, leaving two physical adapters for our virtual machine network. Let's say that you also already have a vSwitch0. I typically leave that for the management network and VMnet0.

While you may want to do a NIC team on both the management network (for VMkernel and iSCSI) and for the virtual machine (VM) network (for guest machines), let's say that, in our case, we are only doing a NIC team on the VM network. To do this, create a new vSwitch and give it a network label like "VM Network." Most likely, this new vSwitch will be called vSwitch1.

Add your two physical adapters to your new vSwitch.

Finally, you need to modify each of your VM guest systems to use the new port group by modifying each of them and pointing them to the new port group. When done, here is how your new vSwitch might look:

You should note the two physical adapters that are going to provide NIC teaming for all the VM guests in this port group. If you go into the properties of the vSwitch and look at the NIC Teaming tab, your configuration should look similar to this:

Conclusions

These options for load balancing and network failover detection will give you the basic outbound load balancing and NIC redundancy that you need from NIC teaming. There are a lot of options that can be configured in the load balancing and failover policy. For more information, please check out Scott Lowe's articles (links above) and the official VMware ESX Server documentation.

ABOUT THE AUTHOR: David Davis (CCIE #9369, VCP, CWNA, MCSE, CISSP, Linux+, CEH) has been in the IT industry for 15 years. Currently, he manages a group of systems/network administrators for a privately owned retail company and authors IT-related material in his spare time. He has written hundreds of articles, six video training courses – including the Train Signal VMware ESX Server video training series. His websites are Happy Router.com and VMware Videos.com.

 

转载地址:http://jjsxl.baihongyu.com/

你可能感兴趣的文章
D3DFVF浅谈------ D3DFVF_XYZ 和 D3DFVF_XYZRHW 的区别
查看>>
利用OpenVSwitch构建多主机Docker网络
查看>>
云计算的五大进展:云操作系统是里程碑
查看>>
云存储的隐性成本
查看>>
数据中心安全管理的创新构想
查看>>
docker的下载安装和运行gitlab、rabbitmq的方式
查看>>
从算法原理,看推荐策略
查看>>
下一代磁盘加密:Bitlocker管理和监控
查看>>
Joyent 扩展了Triton 弹性容器基础设施,可在裸机上直接运行容器
查看>>
Bitmap获取图片内存溢出
查看>>
oracle初使用遇到的问题
查看>>
在MFC程序中添加全屏显示功能
查看>>
学习笔记TF060:图像语音结合,看图说话
查看>>
ffmpeg 中的GNU语法
查看>>
高精度三维空间测量、定位与追踪(下)
查看>>
《中国人工智能学会通讯》——6.33 和我们有什么关系吗 ?
查看>>
爱点击重磅推出中国首个“程序化营销平台PMP”
查看>>
探秘人工智能背后的异构超算服务器
查看>>
国际国内云计算发展现状及未来前景
查看>>
ARM强势收购Sansa 以提升物联网安全
查看>>