Users Guide
15–Windows Server 2016
配置 Storage Spaces Direct
273 AH0054602-05 M
e. 要验证 vLAN ID 是否已设置,请发出以下命令:
Get-VMNetworkAdapterVlan -ManagementOS
f. 要禁用和启用每个主机虚拟 NIC 适配器以使 vLAN 处于活动状态,请
发出以下命令:
Disable-NetAdapter "vEthernet (SMB_1)"
Enable-NetAdapter "vEthernet (SMB_1)"
Disable-NetAdapter "vEthernet (SMB_2)"
Enable-NetAdapter "vEthernet (SMB_2)"
g. 要在主机虚拟 NIC 适配器上启用 RDMA,请发出以下命令:
Enable-NetAdapterRdma "SMB1","SMB2"
h. 要验证 RDMA 功能,请发出以下命令:
Get-SmbClientNetworkInterface | where RdmaCapable -EQ
$true
配置 Storage Spaces Direct
在 Windows Server 2016 中配置 Storage Spaces Direct 包括以下步骤:
步骤 1. 运行群集验证工具
步骤 2. 创建群集
步骤 3. 配置群集见证
步骤 4. 清理用于 Storage Spaces Direct 的磁盘
步骤 5. 启用 Storage Spaces Direct
步骤 6. 创建虚拟磁盘
步骤 7. 创建或部署虚拟机
步骤 1. 运行群集验证工具
运行群集验证工具以确保服务器节点正确配置,从而使用 Storage Spaces Direct
创建群集。
要验证用作 Storage Spaces Direct 群集的一组服务器,请发出以下 Windows
PowerShell 命令:
Test-Cluster -Node <MachineName1, MachineName2, MachineName3,
MachineName4> -Include "Storage Spaces Direct", Inventory,
Network, "System Configuration"