File Server : Configure SMB Multi Channel2020/12/28 |
To configure SMB Multi Channel feature that is implemented in SMB 3.0, it's possible to use multiple network interfaces for file service.
|
|
To use SMB Multi Channel feature, it must satisfy at least one of the following conditions.
* Network adopters support RSS (Receive Side Scaling)
Refer to more details follows.* Network adopters are grouped with NIC Teaming * Network adopters support RDMA (Remote Direct Memory Access) ⇒ https://docs.microsoft.com/ja-jp/archive/blogs/josebda/the-basics-of-smb-multichannel-a-feature-of-windows-server-2012-and-smb-3-0 |
|
[1] | Run PowerShell with Admin Privilege and Configure. |
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # confirm the feature is enabled or not (enabled by default) PS C:\Users\Administrator> Get-SmbServerConfiguration | Out-String -Stream | Select-String "EnableMultiChannel" EnableMultiChannel : True # if disabled, enable like follows PS C:\Users\Administrator> Set-SmbServerConfiguration -EnableMultiChannel $True # confirm network interfaces PS C:\Users\Administrator> Get-SmbServerNetworkInterface Scope Name Interface Index RSS Capable RDMA Capable Speed IpAddress ---------- --------------- ----------- ------------ ----- --------- * 3 True False 100 Gbps fe80::7494:7d50:b117:fb7f * 7 True False 100 Gbps fe80::6c2e:c49f:a87c:e46a * 3 True False 100 Gbps 10.0.0.111 * 7 True False 100 Gbps 10.0.0.101 # set Multi Channel # -ServerName : (hostname) # -InterfaceIndex : (network interface to be used) PS C:\Users\Administrator> New-SmbMultichannelConstraint -ServerName "rx-7" -InterfaceIndex 3, 7 -Force InterfaceAlias : Ethernet 2 InterfaceGuid : {2306e939-d659-457f-a5a7-a74732d811fb} InterfaceIndex : 3 ServerName : rx-7 PSComputerName : InterfaceAlias : Ethernet InterfaceGuid : {fdad18a7-270b-414c-938d-3fbeb45f507f} InterfaceIndex : 7 ServerName : rx-7 PSComputerName : # confirm settings PS C:\Users\Administrator> Get-SmbMultichannelConstraint InterfaceAlias : Ethernet 2 InterfaceGuid : {2306e939-d659-457f-a5a7-a74732d811fb} InterfaceIndex : 3 ServerName : rx-7 PSComputerName : InterfaceAlias : Ethernet InterfaceGuid : {fdad18a7-270b-414c-938d-3fbeb45f507f} InterfaceIndex : 7 ServerName : rx-7 PSComputerName : # if remove settings, configure like follows PS C:\Users\Administrator> Remove-SmbMultichannelConstraint -ServerName "rx-7" Confirm Are you sure you want to perform this action? Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'rx-7,{2306e939-d659-457f-a5a7-a74732d811fb}'. [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y Confirm Are you sure you want to perform this action? Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'rx-7,{fdad18a7-270b-414c-938d-3fbeb45f507f}'. [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y |
[2] |
Verify file transfer speed to access to the target file service from any client computer.
|
Sponsored Link |
|