Deployment Guide
47 Dell EMC Solutions for Microsoft Azure Stack HCI Networking Guide
9.13 Configure DCB on Ready Nodes
This section is only necessary if DCB is used. See Chapter 4 for more information on DCB options.
Run the following commands on each of the Ready Nodes in the cluster to configure DCB:
1. Create a new QoS policy with a match condition set to 445. The TCP port dedicated for Server
Message Block (SMB) traffic is used to set the priority value to 3.
PS> New-NetQosPolicy -Name 'SMB' –NetDirectPortMatchCondition 445 –
PriorityValue8021Action 3
2. Create a new QoS policy for cluster heartbeat messages and set the priority value to 5.
PS> New-NetQosPolicy -Name 'Cluster' -Cluster -PriorityValue8021Action 5
3. Enable QoS for the network adapter ports.
PS> Enable-NetAdapterQos –InterfaceAlias 'SLOT 2 PORT 1','SLOT 2 PORT 2'
Note: The InterfaceAlias values above are determined using the Get-NetAdapter PowerShell
command.
4. Enable PFC on priority 3 and 5 traffic.
PS> Enable-NetQosFlowControl -priority 3
PS> Enable-NetQosFlowControl -priority 5
5. Enable Windows ETS allocation for Priority 3 and 5.
PS> New-NetQosTrafficClass -Name 'SMB' –Priority 3 –BandwidthPercentage 50
–Algorithm ETS
PS> New-NetQosTrafficClass -Name 'Cluster' –Priority 5 –
BandwidthPercentage 1 –Algorithm ETS
Note: The bandwidth percentages set above must match that set on the leaf switches in Table 11.
6. Disable DCBx willing mode.
PS> Set-NetQosDcbxSetting -Willing $False
7. Set DCBx mode to “Host in charge” on Mellanox adapters.
Note: The following command is applicable to the Mellanox Connect-X4 Lx adapters only. This command
also disables LLDP on the adapter.
PS> Set-NetAdapterAdvancedProperty -Name 'SLOT 2 PORT 1' -DisplayName
'Dcbxmode' -DisplayValue 'Host in charge'
PS> Set-NetAdapterAdvancedProperty -Name 'SLOT 2 PORT 2' -DisplayName
'Dcbxmode' -DisplayValue 'Host in charge'
DCB configuration on the server is verified with the Get- cmdlets shown in Section 10.11.