Configure DCB and MPIO - Paiet/Tech-Journal-for-Everything GitHub Wiki

Configure DCB and MPIO

Datacenter Bridging IEEE Standard protocol suite Install Data Center Bridging (DCB) in Windows Server 2016 or Windows 10 Converged Network Adapter must be installed a combo NIC with ethernet as well as a storage host bus adapter https://docs.microsoft.com/en-us/windows-hardware/drivers/network/overview-of-data-center-bridging https://docs.microsoft.com/en-us/windows-server/networking/technologies/dcb/dcb-install #Install Data Center Bridging (DCB) Feature Install-WindowsFeature Data-Center-Bridging #Accept remote DCB configuration Set-NetQosDcbxSetting -Willing $true #Enable RDMA on desired adapter Enable-NetAdapterRDMA -Name "Ethernet 4" #Verify Get-NetAdapterRDMA #Create QoS rules New-NetQosPolicy "SMB" -NetDirectPortMatchCondition 445 -PriorityValue8021Action 6 New-NetQosPolicy "Undefined" -Default -PriorityValue8021Action 1 #Define traffic classes New-NetQosPolicy "SMB" -Priority 6 -Algorithm ETS -Bandwidth 30 #Enable DCB on interfaces Enable-NetAdapterQos -InterfaceAlias "Ethernet 1"

#iSCSI= TCP or UDP 3260 #NFS= TCP or UDP 2049 #LiveMigration= TCP or UDP 2049 #NetDirect portnumer to match specified port #Default matches all traffic not otherwise classified

#Clean up lab Remove-NetQosTrafficClass -Confirm:$False Remove-NetQosPolicy -Confirm:$false Remove-WindowsFeature Data-Center-Bridging

Configure Multi-Path IO (MPIO) http://www.paulodossantos.ch/Documentation/Windowserver/Shared%20Documents/Server%20-%20MPIO%20Users%20Guide%20For%20Windows%20Server%202012.pdf Microsoft Multipath I/O (MPIO) is a Microsoft-provided framework that allows storage providers to develop multipath solutions that contain the hardware-specific information needed to optimize connectivity with their storage arrays. These modules are called device-specific modules (DSMs). MPIO is protocol-independent and can be used with Fibre Channel, Internet SCSI (iSCSI), and Serial Attached SCSI (SAS) interfaces. a storage array manufacturer's device-specific module (DSM) incorporates knowledge of the manufacturer's hardware. A DSM interacts with the MPIO driver. The DSM plays a crucial role in device initialization and I/O request handling, including I/O request error handling.

MPIOCPL.EXE

PowerShell Cmdlets https://docs.microsoft.com/en-us/powershell/module/mpio/?view=win10-ps&viewFallbackFrom=winserverr2-ps `Enable-WindowsOptionalFeature -Online -Featurename MultipathIO` Restart Server Manager > MPIO Add support for iSCSI under Discover multipaths tab.