When you are using NIC Teaming you have a number of possible options to define the failover criteria. The failover criteria define when a NIC Team will switch from an active to a standby NIC. When you examine the HostNicFailureCriteria object in the API Reference Guide, you will notice that there are more criteria available than those that are accessible through the vSphere Client.In the vSphere client you can define which are you Active NICs and which are your Standby NICs. The failover in this case will happen when the active NIC goes down.
In the HostNicFailureCriteria object you can specify that the failover will occur based on the link’s
- error percentage.
For all these failure criteria you will have to configure the vSwitch or Portgroup to use beacon probing. The default link status only option will not support the “hidden” failover criteria above. Also note that the vSwitch needs to have beacon probing before you can use beacon probing on any of the portgroups.
The folllowing example script shows how you can set up NIC teaming with a failure criteria on the duplexity. When the Active NIC looses it’s full duplex mode, the team will switch over the Standby NIC.