VMware vCenter Server
VMware vSphere ESXi
Before Configuration Occurs:
An abbreviated summary of this process can be accessed by clicking the Migrating Network Traffic to LAGs button in the LACP configuration panel.
Create the LAG:
Configure teaming and failover for LACP:
You will need to edit the teaming and failover policies for all port groups that will be connecting via the LAG.
After you have successfully completed all steps on this page to establish the LAG, you can move the LAG uplink to Active on each port group and move all individual uplinks to Unused to match the recommended configuration.
Assign NICs to the LAG:
The next step is to safely move NIC(s) over to the LAG and ensure all portgroups are using the LAG as the Active uplink. To ensure connectivity remains up VMware by Broadcom recommends performing the following steps with your network vendor and/or local networking team that has access to make changes to the physical switch during this process.
Example:
NOTE: This is a sample and actual adapters and VMNIC numbers may be different for each environment and the steps should be applied to all Hosts that will be using the LAG
NOTE: If at this point, the management vmkernel (generally vmk0) is currently on a Standard vSwitch and will be moved to a vDS portgroup that will have the LAG applied, the management vmk will need to be migrated to the appropriate management vDS portgroup by using the Add and Manage Hosts wizard for all Hosts that will be using the LAG. Then continue with steps below:
NOTE: On all the DVS port group you need to use default load balancing "Route based on the originating virtual port"
Note: For more information, see vSphere Networking This guide contains definitive information. If there is a discrepancy between the guide and the article, assume the guide is correct.
Note: Changing the vDS LACP to Active mode from Passive mode creates a bilateral negotiation where both the virtual and physical switches actively maintain the health of the LAG. Because the protocol transitions from unilateral to bilateral negotiation, the state change is generally transparent to existing traffic.