Forum Discussion
Cucumber
Oct 23, 2024Copper Contributor
Hyper-V external Virtual Switch
Hello, I´ve a problem with external Virtual Switches and FailoverCluster(LiveMigration) configured. What is the recommended configuration for that? We have dropped SCVMM. old Hosts via SCVMM202...
kyazaferr
Nov 13, 2024MCT
# Set the bandwidth reservation mode for Live Migration to Absolute
Set-VMHostNetworkAdapter -VMHost $VMHost -Name "vEthernet (External)" -BandwidthReservationMode Absolute
# Set the absolute minimum bandwidth for Live Migration to 1 Gbps
Set-VMHostNetworkAdapter -VMHost $VMHost -Name "vEthernet (External)" -DefaultFlowMinimumBandwidthAbsolute 1000000000
Set the bandwidth percentage reserved for Live Migration (e.g., 10%)
Set-VMHostNetworkAdapter -VMHost $VMHost -Name "vEthernet (External)" -BandwidthPercentage 10
This configuration ensures that Live Migration will always have at least 1 Gbps of bandwidth, with up to 10% of the total network bandwidth reserved for migration operations. The rest of the bandwidth will be available for other VM and cluster traffic.
Conclusion
- Use Absolute for Live Migration to guarantee bandwidth.
- Set the DefaultFlowMinimumBandwidthAbsolute to a value that ensures adequate performance for Live Migration (e.g., 1 Gbps).
- Use BandwidthPercentage or Weight to manage relative bandwidth for other network flows in your Hyper-V environment.
- Test the configuration in a staging environment and monitor the performance of Live Migration to adjust the settings if necessary.