Dell Azure Stack HCI 全融合網路組態
摘要: 本文提供範例,說明如何為 Dell Technologies 解決方案Microsoft Azure Stack HCI 叢集主機設定完全融合式網路。本文中的資訊取自「全融合式網路組態部署指示」,網址為 https://infohub.delltechnologies.com/en-us/l/e2e-deployment-and-operations-guide-with-scalable-networking-windows-1/fully-converged-network-configuration-38/2/。 ...
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
說明
下列所有步驟均使用 PowerShell 執行。叢集管理和儲存網路流量使用相同的交換器內嵌組合 (SET)。這三個網路跨三個單獨的虛擬適配器運行。下方包含 SET 交換器、VLAN 和虛擬配接卡的組態。
請勿在下方包裝 PowerShell 命令,否則在將指令檔的大部分內容複製到 PowerShell 視窗後,這些命令會失敗。以下組態指令檔必須在所有叢集節點上執行。
下圖是使用 SET 進行管理和儲存網路通訊的已設定 Azure Stack HCI 融合網路的硬體圖:
圖 1:Azure Stack HCI
中完全融合式網路的圖表下列指令檔步驟必須在系統管理 PowerShell 提示字元執行:
注意:指令檔中的配接卡名稱、物件名稱、IP 位址和 VLAN 標籤值,取決於部署 HCI 叢集的環境。在運行腳本之前,請適當地設置這些值。
$ErrorActionPreference = 'Stop'
#region Variables for the scenario
# You must specify 2 or 4 network adapter port names
$netAdapterName = @('SLOT 4 PORT 1','SLOT 4 PORT 2')
$switchName = 'S2DSwitch'
# Management Adapter Parameters
$managementAdapterName = 'Management'
# VLAN ID for host management traffic; if no VLAN is preferred set this to 0
$managementVlanId = 102
# Management Gateway address
$managementGateway = '10.0.0.1'
# DNS server address
$managementDns = '10.0.0.19'
# Set this to a string 'DHCP' for a dynamic IP address
$managementIPAddress = '10.0.0.51'
# Management address prefix (24 translates to subnet mask 255.255.255.0)
$managementAddressPrefix = 24
# Storage Adapter Parameters
$storageAdapterPrefix = 'Storage'
# You must specify 1 or 2 or 4 VLANIDs
# You can use 0 as the value if you don't want to use VLANs for storage traffic
$storageVlanId = @(103,104)
# You must specify 2 or 4 IP Addresses
# DHCP as a value is accepted if you want dynamically assigned IP addresses
$storageIPAddress = @('171.16.101.51','172.16.102.51')
# You can specify 1 or 2 or 4 prefix length values
$StorageAddressPrefix = @(24)
#endregion
## Create a VM switch for management and Storage traffic
$null = New-VMSwitch -Name $switchName -AllowManagementOS 0 -NetAdapterName $netAdapterName -Verbose
## Add VM Network Adapters and configure VLANs and IP addresses as needed
### Management Adapter
$managementAdapter = Add-VMNetworkAdapter -SwitchName $SwitchName -ManagementOS -Passthru -Name $managementAdapterName -Verbose
if ($managementVlanId -and ($managementVlanId -ne 0))
{
Set-VMNetworkAdapterVlan -VMNetworkAdapter $managementAdapter -Access -VlanId $managementVlanId -Verbose
Start-Sleep -Seconds 5
}
if ($ManagementIPAddress -ne 'DHCP')
{
$null = New-NetIPAddress -InterfaceAlias "vEthernet ($managementAdapterName)" -IPAddress $managementIPAddress -DefaultGateway $managementGateway -PrefixLength $managementAddressPrefix -Verbose
Set-DnsClientServerAddress -InterfaceAlias "vEthernet ($managementAdapterName)" -ServerAddresses $managementDns -Verbose
}
### Storage Adapters
for ($i = 0; $i -lt $netAdapterName.Count; $i++)
{
$storageAdapterName = "${storageAdapterPrefix}$($i+1)"
# if there is a single VLAN for storage use the first and only element
if ($storageVlanId.Count -eq 1)
{
$storageVlan = $storageVlanId[0]
}
else
{
# else use the right index to get the VLAN ID
$storageVlan = $storageVlanId[$i]
}
# Check if only one prefix is provided
if ($StorageAddressPrefix.Count -eq 1)
{
$StoragePrefix = $StorageAddressPrefix[0]
}
else
{
# if more than one, use the right index to get the address prefix
$StoragePrefix = $StorageAddressPrefix[$i]
}
$storageAdapter = Add-VMNetworkAdapter -SwitchName $SwitchName -ManagementOS -Passthru -Name $storageAdapterName -Verbose
if ($storageVlan -and ($storageVlan -ne 0))
{
# Set VM Network adapter VLAN only if the VLAN ID specified is other than 0
Set-VMNetworkAdapterVlan -VMNetworkAdapter $storageAdapter -Access -VlanId $storageVlan -Verbose
Start-Sleep -Seconds 5
}
if ($StorageIPAddress[$i] -ne 'DHCP')
{
$null = New-NetIPAddress -InterfaceAlias "vEthernet ($storageAdapterName)" -IPAddress $StorageIPAddress[$i] -PrefixLength $StoragePrefix -Verbose
}
## Set VMnetwork adapter to Physical adapter mapping
Set-VMNetworkAdapterTeamMapping -VMNetworkAdapterName $storageAdapterName -ManagementOS -PhysicalNetAdapterName $netAdapterName[$i]
}
受影響的產品
AX Nodes, AX-640, ax-650, AX-6515, AX-740XD, AX-750, AX-7525, Integrated System for Microsoft Azure Stack Hub 13G, Integrated System for Microsoft Azure Stack Hub 14G產品
Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022文章屬性
文章編號: 000200958
文章類型: How To
上次修改時間: 14 5月 2026
版本: 7
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。