Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

Dell Microsoft Azure Stack HCI 群集部署

Summary: 本文提供了有关部署“来自 Dell Technologies 的 Microsoft HCI 解决方案”指南中记录的 Microsoft Azure 超融合基础架构 (HCI) S2D 群集的信息和步骤。

This article applies to   This article does not apply to 

Instructions

下面的屏幕截图描述了交换网络上的双节点 HCI 群集的环境。以下 PowerShell 信息已针对此配置进行了调整,但对于具有更多节点和无交换机网络拓扑的群集进行修改后仍然有用。
Windows Active Directory 交换机网络环境中的 Microsoft Azure Stack HCI 双节点群集示意图。
 
脚本示例和安装过程可在 Dell Technologies 部署指南的 Microsoft HCI 解决方案的第 12-21 页上找到。该脚本在安装群集节点操作系统、添加到 Active Directory 域并建立群集网络后运行步骤。

配置项:
  • Windows 功能安装:Hyper-V、故障切换群集、数据中心桥接、BitLocker、FS-FileServer、RSAT 群集-PowerShell、FS-重复数据消除
  • 驱动程序更新检查:  查看支持矩阵
  • 重命名群集节点
  • 群集测试验证
  • 创建 S2D 群集
  • 启用 Storage Spaces Direct
  • 为实时迁移设置主机“管理”网络优先级
  • 页面文件设置:允许内存转储空间
  • 配置群集见证
  • 空间端口超时配置
下面的脚本示例应适应部署 HCI 群集的环境。必须修改服务器名称、群集名称、群集共享名称和 IP 信息以满足安装环境参数。将下面的脚本文本复制到预期的部署脚本时,请确保 不要 换行 PowerShell 文本。

Windows 功能安装:
Install-WindowsFeature -Name Hyper-V, Failover-Clustering, Data-Center-Bridging, BitLocker, FS-FileServer, RSAT-Clustering-PowerShell, FS-Data-Deduplication -IncludeAllSubFeature
-IncludeManagementTools -verbose
检索驱动程序版本列表:
Get-PnpDevice | Select-Object Name, @{l='DriverVersion';e={(Get-PnpDeviceProperty -InstanceId $_.InstanceId -KeyName 'DEVPKEY_Device_DriverVersion').Data}} -Unique |
Where-Object {($_.Name -like "*HBA*") -or ($_.Name -like "*mellanox*") -or ($_.Name -like "*Qlogic*") -or ($_.Name -like "*X710*") -or ($_.Name -like "*intel*") -or ($_.Name -like "*Broadcom*") -or ($_.Name -like "*marvell*") }
分配群集节点名称:
Rename-Computer -NewName CN01 -Restart
群集测试
Test-Cluster -Node CN01, CN02 –Include 'Storage Spaces Direct', 'Inventory', 'Network', 'System Configuration'
查找存储池磁盘的状态
Get-PhysicalDisk
创建新的 S2D 群集
New-Cluster -Name S2DSystem -Node CN01, CN02 -StaticAddress 192.168.10.33 -NoStorage -IgnoreNetwork 172.16.103.0/24, 172.16.104.0/24 -Verbose
启用存储空间直通:
Enable-ClusterS2D -Verbose
捕获先前命令的结果
Get-ClusterS2D
Get-StoragePool
Get-StorageSubSystem -FriendlyName *Cluster* | Get-StorageHealthReport
为实时迁移配置优先级较低的主机管理网络:
$clusterResourceType = Get-ClusterResourceType -Name 'Virtual Machine'
$hostNetworkID = Get-ClusterNetwork | Where-Object { $_.Address -eq ‘192.168.10.0’ } |
Select-Object -ExpandProperty ID
$otherNetworkID = (Get-ClusterNetwork).Where({$_.ID -ne $hostnetworkID}).ID
$newMigrationOrder = ($otherNetworkID + $hostNetworkID) -join ';'
Set-ClusterParameter -InputObject $clusterResourceType -Name MigrationNetworkOrder -Value
$newMigrationOrder
Set-VmHost -VirtualMachine MigrationPerformanceOption SMB
页面文件设置,以确保可以捕获内存转储:
$blockCacheMB = (Get-Cluster).BlockCacheSize

$blockCacheMB = (Get-Cluster).BlockCacheSize
$pageFilePath = "C:\pagefile.sys"
$initialSize = [Math]::Round(51200 + $blockCacheMB)
$maximumSize = [Math]::Round(51200 + $blockCacheMB)
$system = Get-WmiObject -Class Win32_ComputerSystem -EnableAllPrivileges
if ($system.AutomaticManagedPagefile) {
$system.AutomaticManagedPagefile = $false
$system.Put()
}
$currentPageFile = Get-WmiObject -Class Win32_PageFileSetting
if ($currentPageFile.Name -eq $pageFilePath)
{
$currentPageFile.InitialSize = $InitialSize
$currentPageFile.MaximumSize = $MaximumSize
$currentPageFile.Put()
}else{
$currentPageFile.Delete()
Set-WmiInstance -Class Win32_PageFileSetting -Arguments @{Name=$pageFilePath;
InitialSize = $initialSize; MaximumSize = $maximumSize}
}
#Configure cluster witness. Active Directory Cluster Name Object must be given write access on file #share before running this step:
Set-ClusterQuorum -NodeAndFileShareMajority \\VDC01\ClusterQuorum

禁用服务器消息块 (SMB) 签名;在正常安装 Windows Server 时默认处于禁用状态。

Set-SmbServerConfiguration -RequireSecuritySignature $FALSE -force
空间端口超时配置更改:
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\spaceport \Parameters -Name HwTimeout -Value 0x00002710 -Verbose Restart-Computer -Force

Affected Products

Hyper-converged Systems, Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022

Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022