収束 NIC 構成のトラブルシューティングTroubleshooting Converged NIC Configurations
適用先:Windows Server (半期チャネル)、Windows Server 2016Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016
次のスクリプトを使用して、Hyper-v ホストで RDMA 構成が正しいかどうかを確認できます。You can use the following script to verify whether the RDMA configuration is correct on the Hyper-V host.
また、次の Windows PowerShell コマンドを使用して、収束 Nic の構成をトラブルシューティングし、検証することもできます。You can also use the following Windows PowerShell commands to troubleshoot and verify the configuration of your converged NICs.
Get-NetAdapterRdmaGet-NetAdapterRdma
ネットワークアダプターの RDMA 構成を確認するには、Hyper-v サーバーで次の Windows PowerShell コマンドを実行します。To verify your network adapter RDMA configuration, run the following Windows PowerShell command on the Hyper-V server.
Get-NetAdapterRdma | fl *
Hyper-v ホストでこのコマンドを実行した後、次の予期される結果と予期しない結果を使用して問題を特定し、解決することができます。You can use the following expected and unexpected results to identify and resolve issues after you run this command on the Hyper-V host.
期待される結果の Get-NetAdapterRdmaGet-NetAdapterRdma expected results
ホスト vNIC と物理 NIC には、ゼロ以外の RDMA 機能が表示されます。Host vNIC and the physical NIC show non-zero RDMA capabilities.
予期しない結果を Get-NetAdapterRdmaGet-NetAdapterRdma unexpected results
NetAdapterRdma コマンドを実行したときに予期しない結果が表示される場合は、次の手順を実行します。Perform the following steps if you receive unexpected results when you run the Get-NetAdapterRdma command.
Mlnx ミニポートおよび Mlnx バスドライバーが最新であることを確認します。Make sure the Mlnx miniport and Mlnx bus drivers are latest. Mellanox の場合は、少なくとも drop 42 を使用します。For Mellanox, use at least drop 42.
Device Manager でドライバーのバージョンを確認して、Mlnx ミニポートとバスドライバーが一致することを確認します。Verify that Mlnx miniport and bus drivers match by checking the driver version through Device Manager. バスドライバーは、システムデバイスにあります。The bus driver can be found in System Devices. ネットワークアダプターのプロパティの次のスクリーンショットに示すように、名前は Mellanox Connect-X 3 PRO VPI で始まる必要があります。The name should start with Mellanox Connect-X 3 PRO VPI, as illustrated in the following screenshot of network adapter properties.
物理 NIC とホスト vNIC の両方でネットワークダイレクト (RDMA) が有効になっていることを確認します。Make sure Network Direct (RDMA) is enabled on both the physical NIC and host vNIC.
RDMA 機能をチェックして、適切な物理アダプターに vSwitch が作成されていることを確認します。Make sure vSwitch is created over the right physical adapter by checking its RDMA capabilities.
EventViewer システムログを確認し、ソース "Hyper-v-VmSwitch" でフィルター処理します。Check EventViewer System log and filter by source “Hyper-V-VmSwitch”.
RDMA 構成を確認 Get-SmbClientNetworkInterfaceGet-SmbClientNetworkInterface verifies RDMA configuration
RDMA 構成を確認するための追加の手順として、Hyper-v サーバーで次の Windows PowerShell コマンドを実行します。As an additional step to verify your RDMA configuration, run the following Windows PowerShell command on the Hyper-V server.
Get-SmbClientNetworkInterface
期待される結果の Get-SmbClientNetworkInterfaceGet-SmbClientNetworkInterface expected results
ホスト vNIC は、SMB の観点からも RDMA 対応として表示されます。The host vNIC should appear as RDMA capable from SMB's perspective as well.
予期しない結果を Get-SmbClientNetworkInterfaceGet-SmbClientNetworkInterface unexpected results
- Mlnx ミニポートおよび Mlnx バスドライバーが最新であることを確認します。Make sure the Mlnx miniport and Mlnx bus drivers are latest. Mellanox の場合は、少なくとも drop 42 を使用します。For Mellanox, use at least drop 42.
- Device Manager でドライバーのバージョンを確認して、Mlnx ミニポートとバスドライバーが一致することを確認します。Verify that Mlnx miniport and bus drivers match by checking the driver version through Device Manager. バスドライバーは、システムデバイスにあります。The bus driver can be found in System Devices. ネットワークアダプターのプロパティの次のスクリーンショットに示すように、名前は Mellanox Connect-X 3 PRO VPI で始まる必要があります。The name should start with Mellanox Connect-X 3 PRO VPI, as illustrated in the following screenshot of network adapter properties.
- 物理 NIC とホスト vNIC の両方でネットワークダイレクト (RDMA) が有効になっていることを確認します。Make sure Network Direct (RDMA) is enabled on both the physical NIC and host vNIC.
- RDMA 機能をチェックして、適切な物理アダプターで Hyper-v 仮想スイッチが作成されていることを確認します。Make sure the Hyper-V Virtual Switch is created over the right physical adapter by checking its RDMA capabilities.
- アプリケーションとサービスの "SMB クライアント" の EventViewer ログを確認します。 Microsoft |Windows。Check EventViewer logs for “SMB Client” in Application And Services | Microsoft | Windows.
Get-NetAdapterQosGet-NetAdapterQos
(次の Windows PowerShell コマンドを実行して、ネットワークアダプターのサービス品質 (QoS) 構成を表示でき ) ます。You can view the network adapter quality of service (QoS) configuration by running the following Windows PowerShell command.
Get-NetAdapterQos
期待される結果の Get-NetAdapterQosGet-NetAdapterQos expected results
優先順位とトラフィッククラスは、このガイドを使用して実行した最初の構成手順に従って表示されます。Priorities and traffic classes should be displayed according to the first configuration step that you performed using this guide.
予期しない結果を Get-NetAdapterQosGet-NetAdapterQos unexpected results
予期しない結果が発生した場合は、次の手順を実行します。If your results are unexpected, perform the following steps.
- 物理ネットワークアダプターがデータセンターブリッジング ( DCB ) と QoS をサポートしていることを確認するEnsure that the physical network adapter supports Data Center Bridging (DCB) and QoS
- ネットワークアダプターのドライバーが最新であることを確認します。Ensure that the network adapter drivers are up to date.
Get-SmbMultiChannelConnectionGet-SmbMultiChannelConnection
次の Windows PowerShell コマンドを使用して、リモートノードの IP アドレスが RDMA に対応していることを確認でき - ます。You can use the following Windows PowerShell command to verify that the remote node's IP address is RDMA-capable.
Get-SmbMultiChannelConnection
期待される結果の Get-SmbMultiChannelConnectionGet-SmbMultiChannelConnection expected results
リモートノードの IP アドレスは、RDMA 対応として表示されます。Remote node's IP address is shown as RDMA capable.
予期しない結果を Get-SmbMultiChannelConnectionGet-SmbMultiChannelConnection unexpected results
予期しない結果が発生した場合は、次の手順を実行します。If your results are unexpected, perform the following steps.
- Ping が両方の方法で動作することを確認します。Make sure ping works both ways.
- ファイアウォールが SMB 接続の開始をブロックしていないことを確認します。Make sure the firewall is not blocking SMB connection initiation. 具体的には、iWARP の場合は SMB ダイレクトポート5445のファイアウォール規則を有効にし、ROCE の場合は445を有効にします。Specifically, enable the firewall rule for SMB Direct port 5445 for iWARP and 445 for ROCE.
NIC が RMDA に対応していることを確認 Get-SmbClientNetworkInterfaceGet-SmbClientNetworkInterface verifies NIC is RMDA-capable
次のコマンドを使用して、RDMA に対して有効にした仮想 NIC が SMB で RDMA 対応として報告されていることを確認でき - ます。You can use the following command to verify that the virtual NIC you enabled for RDMA is reported as RDMA-capable by SMB.
Get-SmbClientNetworkInterface
期待される結果の Get-SmbClientNetworkInterfaceGet-SmbClientNetworkInterface expected results
RDMA に対して有効にされた仮想 NIC は、SMB で RDMA 対応として認識される必要があります。Virtual NIC that was enabled for RDMA must be seen as RDMA capable by SMB.
予期しない結果を Get-SmbClientNetworkInterfaceGet-SmbClientNetworkInterface unexpected results
予期しない結果が発生した場合は、次の手順を実行します。If your results are unexpected, perform the following steps.
- Ping が両方の方法で動作することを確認します。Make sure ping works both ways.
- ファイアウォールが SMB 接続の開始をブロックしていないことを確認してください。Make sure firewall is not blocking SMB connection initiation.
(Mellanox 固有の vst)vstat (Mellanox specific)
Mellanox ネットワークアダプターを使用している場合は、 vstat コマンドを使用して、hyper-v ノードでの RDMA Over 収束イーサネット ( roce バージョンを確認でき ) ます。If you are using Mellanox network adapters, you can use the vstat command to verify the RDMA over Converged Ethernet (RoCE) version on Hyper-V nodes.
期待される結果の vstvstat expected results
両方のノードの RoCE バージョンは同じである必要があります。The RoCE version on both nodes must be the same. これは、両方のノードのファームウェアのバージョンが最新であることを確認するための良い方法でもあります。This is also a good way to verify that the firmware version on both nodes is latest.
vstat 予期しない結果)vstat unexpected results
予期しない結果が発生した場合は、次の手順を実行します。If your results are unexpected, perform the following steps.
- Set-MlnxDriverCoreSetting を使用して正しい RoCE バージョンを設定するSet correct RoCE version using Set-MlnxDriverCoreSetting
- Mellanox web サイトから最新のファームウェアをインストールします。Install the latest firmware from Mellanox website.
Perfmon カウンターPerfmon Counters
パフォーマンスモニターのカウンターを確認して、構成の RDMA アクティビティを確認できます。You can review counters in Performance Monitor to verify the RDMA activity of your configuration.