Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

DefaultFlowMinimumBandwidthWeight set-VMswitch question

$
0
0

Hi All,

Im reading this technet article when having 2 NIC in a team, that are shared for the Host (Host, CSV, LiveMigration) and for the VMs http://technet.microsoft.com/en-us/library/891c6ec4-deb9-447b-afc1-3b01151d9e4b(WS.11)#bkmk_2

I configure QoS:

# Create a NIC team that consists of two 10GbE NICs
New-NetLbfoTeam “2x10GbE Team” –TeamMembers “10GbE NIC1”,”10GbE NIC2” –TeamNicName “2x10GbE”
# Create a Hyper-V Virtual Switch that binds to the NIC team
New-VMSwitch “20GbE switch” –NetAdapterName “2x10GbE” –MinimumBandwidthMode Weight –AllowManagementOS $false
# Create a virtual NIC in the management operating system for SMB (storage)
Add-VMNetworkAdapter –ManagementOS –Name “SMB” –SwitchName “20GbE switch”
# Create a virtual NIC in the management operating system for Live Migration
Add-VMNetworkAdapter –ManagementOS –Name “LM” –SwitchName “20GbE switch”
# Create a virtual NIC in the management operating system for Cluster
Add-VMNetworkAdapter –ManagementOS –Name “Cluster” –SwitchName “20GbE switch”
# Create a virtual NIC in the management operating system for Management
Add-VMNetworkAdapter –ManagementOS –Name “Management” –SwitchName “20GbE switch”

# Assign a weight to SMB
Set-VMNetworkAdapter –ManagementOS –Name “SMB” –MinimumBandwidthWeight 40
# Assign a weight to Live Migration
Set-VMNetworkAdapter –ManagementOS –Name “LM” –MinimumBandwidthWeight 20
# Assign a weight to Cluster
Set-VMNetworkAdapter –ManagementOS –Name “Cluster” –MinimumBandwidthWeight 5
# Assign a weight to Management
Set-VMNetworkAdapter –ManagementOS –Name “Management” –MinimumBandwidthWeight 5

# Assign a weight to each VM
Set-VMNetworkAdapter –VMName * -MinimumBandwidthWeight 1

My question is regarding the last line where I set the MinimumBandwidthWeight 1 for each of the VMs. This doesnt seem right to do, if I have 200VMs on a host wont that utilize 200% of the vSwitch? And also this cant be applied if I dont have any VM yet on the server.

Can this be done on the vSwitch it self with the command: set-VMSwitch -DefaultFlowMinimumBandwidthWeight 50.

Does this mean that the entire traffic from all of the VMs that dont have MinimumBandwidthWeight defined will be in 50% (i have 100 VMs, so each VM will use 50%/100=0.5%) or each VM will get 50% (100VM, each uses 50% = 5000%)?

Thanks

Zarko


Viewing all articles
Browse latest Browse all 19461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>