Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Microsoft Azure Stack HCI 群集部署

Summary: 信息提供了有关部署 Microsoft Azure HCI S2D 群集的步骤,如《Dell Technologies 的 Microsoft HCI 解决方案部署指南》中所述。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

下面的屏幕截图描述了交换网络上双节点 HCI 群集的环境。  下面的 PowerShell 信息适用于此配置,但在修改具有更多节点和无交换机网络拓扑的群集时仍然有用。


Windows Active Directory 交换机网络环境中 Microsoft Azure Stack HCI 双节点群集的图表。
 
下面的脚本示例和安装过程可在可下载的.PDF版本“来自 Dell Technologies 的 Microsoft HCI 解决方案”部署指南的第 12-21 页上找到。
在群集节点安装了操作系统、添加到 Active Directory 域并实施未来群集网络之后,脚本将运行步骤。


配置项目:
  • Windows 功能安装:Hyper-V、故障转移群集、数据中心桥接、BitLocker、FS-FileServer、RSAT-Clustering-PowerShell、FS-Data-Deduplication
  • 驱动程序更新检查:  检查支持列表
  • 重命名群集节点
  • 群集测试、验证
  • 创建 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



#Retrieve驱动程序版本列表:
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*") }



#Assign群集节点名称:
Rename-Computer -NewName CN01 -Restart


#Cluster测试
Test-Cluster -Node CN01, CN02 –Include 'Storage Spaces Direct', 'Inventory', 'Network', 'System Configuration'



#Find存储池磁盘的状态
Get-PhysicalDisk



#Creating新的 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


#Enabling Storage Spaces Direct:
Enable-ClusterS2D -Verbose



##Capturing以前命令的结果
Get-ClusterS2D
Get-StoragePool
Get-StorageSubSystem -FriendlyName *Cluster* | Get-StorageHealthReport



#Configure优先级较低的主机管理网络进行实时迁移:
$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



#Page文件设置以确保可以捕获内存转储:
$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


#Disable SMB 签名;默认情况下,在正常 Windows Server 安装时禁用
Set-SmbServerConfiguration -RequireSecuritySignature $FALSE -force



#Spaces端口超时配置更改:
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\spaceport \Parameters -Name HwTimeout -Value 0x00002710 -Verbose Restart-Computer -Force


Article Properties


Affected Product

Hyper-converged Systems, Microsoft Windows Server 2022

Product

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

Last Published Date

12 May 2023

Version

6

Article Type

How To