Question re: Hyper-V External Switch for SET Switch Embedded Team
Hi All,
Is the following the best practice / correct way to configure VMSwitches on a bare metal server?
It will consist of 2 x VMs (VM#1 DC, VM#2 File/Print)
I have an HPE DL380 Gen11 and the Hyper-V Role installed, with the following interfaces:
Get-NetAdapter
Name InterfaceDescription ifIndex Status
—- ——————– ——- ——
PCIe Slot 15 Port 1 Broadcom NetXtreme Gigabit Ethernet 11 Up
PCIe Slot 15 Port 2 Broadcom NetXtreme Gigabit Ethernet #2 8 Up
PCIe Slot 15 Port 3 Broadcom NetXtreme Gigabit Ethernet #3 9 Up
PCIe Slot 15 Port 4 Broadcom NetXtreme Gigabit Ethernet #4 6 Up
vEthernet (Hyper V Swi… Hyper-V Virtual Ethernet Adapter 2 Up
Just configure the PCIe Slot 15 Port 1 Broadcom NetXtreme Gigabit Ethernet as a normal physical NIC
Assign TCP/IP configuration as normal
No need to create a “Management OS” VSwitch and “Allow management operating system to share this network adapter”
Remaining NICs for VM traffic using SET:
PCIe Slot 15 Port 2
Broadcom NetXtreme Gigabit Ethernet#2
PCIe Slot 15 Port 3
Broadcom NetXtreme Gigabit Ethernet3
PCIe Slot 15 Port 4
Broadcom NetXtreme Gigabit Ethernet#4
Create a NewVMSwtich Switch Embedded Teaming (SET)
New-VMSwitch -Name “SET-Team” -NetAdapterName “PCIe Slot 15 Port 2″,”PCIe Slot 15 Port 3″,”PCIe Slot 15 Port 4” -EnableEmbeddedTeaming $true -AllowManagementOS $false
Set-VMSwitchTeam -Name “SET-Team” -LoadBalancingAlgorithm Dynamic
Get-VMSwitchTeam -Name “SET-Team” | FL
Get-VMSwitch
The SET-TEAM VMSwitch is used by the VMs for VM traffic,as it is best practice to isolate VM traffic from management traffic.
We dont “Allow the management OS to share this network adapter” as it can lead to resource contention and degraded performance for both the VMs and the management OS.
Distribution Modes
We have a choice of 2 LB distribution modes for SET Teams
Hyper-V Port
Dynamic
We use Dynamic as “Hyper-V port mode is not the best if you are only hosting a few VMs due to it not being granular enough to achieve a well-balanced distribution”
Thanks!
Hi All,Is the following the best practice / correct way to configure VMSwitches on a bare metal server? It will consist of 2 x VMs (VM#1 DC, VM#2 File/Print)I have an HPE DL380 Gen11 and the Hyper-V Role installed, with the following interfaces:Get-NetAdapterName InterfaceDescription ifIndex Status—- ——————– ——- ——PCIe Slot 15 Port 1 Broadcom NetXtreme Gigabit Ethernet 11 UpPCIe Slot 15 Port 2 Broadcom NetXtreme Gigabit Ethernet #2 8 UpPCIe Slot 15 Port 3 Broadcom NetXtreme Gigabit Ethernet #3 9 UpPCIe Slot 15 Port 4 Broadcom NetXtreme Gigabit Ethernet #4 6 UpvEthernet (Hyper V Swi… Hyper-V Virtual Ethernet Adapter 2 UpJust configure the PCIe Slot 15 Port 1 Broadcom NetXtreme Gigabit Ethernet as a normal physical NICAssign TCP/IP configuration as normalNo need to create a “Management OS” VSwitch and “Allow management operating system to share this network adapter” Remaining NICs for VM traffic using SET:PCIe Slot 15 Port 2Broadcom NetXtreme Gigabit Ethernet#2PCIe Slot 15 Port 3Broadcom NetXtreme Gigabit Ethernet3PCIe Slot 15 Port 4Broadcom NetXtreme Gigabit Ethernet#4Create a NewVMSwtich Switch Embedded Teaming (SET)New-VMSwitch -Name “SET-Team” -NetAdapterName “PCIe Slot 15 Port 2″,”PCIe Slot 15 Port 3″,”PCIe Slot 15 Port 4” -EnableEmbeddedTeaming $true -AllowManagementOS $falseSet-VMSwitchTeam -Name “SET-Team” -LoadBalancingAlgorithm DynamicGet-VMSwitchTeam -Name “SET-Team” | FLGet-VMSwitchThe SET-TEAM VMSwitch is used by the VMs for VM traffic,as it is best practice to isolate VM traffic from management traffic.We dont “Allow the management OS to share this network adapter” as it can lead to resource contention and degraded performance for both the VMs and the management OS.Distribution ModesWe have a choice of 2 LB distribution modes for SET TeamsHyper-V PortDynamicWe use Dynamic as “Hyper-V port mode is not the best if you are only hosting a few VMs due to it not being granular enough to achieve a well-balanced distribution”Thanks! Read More