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 clusterimplementatie

Summary: Informatie bevat stappen voor het implementeren van een Microsoft Azure HCI S2D cluster, zoals beschreven in de implementatiehandleiding voor "Microsoft HCI-oplossingen van Dell Technologies". ...

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

De onderstaande schermafbeelding toont de omgeving van een HCI-cluster met twee knooppunten op een geschakeld netwerk.  De onderstaande PowerShell-informatie is aangepast voor deze configuratie, maar is nog steeds nuttig met wijzigingen voor clusters met meer knooppunten en een switchloze netwerktopologie.


Diagram van Microsoft Azure Stack HCI cluster met twee knooppunten in een Windows Active Directory, switch-netwerkomgeving.
 
Het scriptvoorbeeld hieronder en het installatieproces vindt u op pagina 12 - 21 van de downloadbare .PDF-versie "Microsoft HCI Solutions from Dell Technologies" Deployment Guide.
Script voert stappen uit nadat op de clusterknooppunten besturingssystemen zijn geïnstalleerd, aan een Active Directory-domein zijn toegevoegd en het toekomstige clusternetwerk is geïmplementeerd.


Configuratie-items:
  • Windows-functie installeren: Hyper-V, failoverclustering, Data-Center-Bridging, BitLocker, FS-FileServer, RSAT-Clustering-PowerShell, FS-Data-Deduplicatie
  • Driverupdatecontrole:  Supportmatrix controleren
  • Clusterknooppunten hernoemen
  • Clustertest, validatie
  • S2D-cluster maken
  • Enable Storage Spaces Direct
  • Stel de netwerkprioriteit van host "Management" in voor live migratie
  • Bestandsinstellingen van pagina: Ruimte voor geheugendump toestaan
  • Cluster witness configureren
  • Time-outconfiguratie spacespoort
Het onderstaande scriptvoorbeeld moet worden aangepast voor de omgeving waarin het HCI-cluster wordt geïmplementeerd.  Servernamen, clusternaam, naam clustershare en IP-informatie moeten worden gewijzigd om te voldoen aan de parameters van de installatieomgeving.
Wanneer u de onderstaande scripttekst kopieert naar het beoogde implementatiescript, zorg er dan voor dat u de Tekst van PowerShell niet verpakt.

#Windows functie installeren:
Install-WindowsFeature -Name Hyper-V, Failover-Clustering, Data-Center-Bridging, BitLocker, FS-FileServer, RSAT-Clustering-PowerShell, FS-Data-Deduplication -IncludeAllSubFeature
-IncludeManagementTools -verbose



#Retrieve lijst met driverversies:
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*") }



naam clusterknooppunt #Assign:
Rename-Computer -NewName CN01 -Restart


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



#Find status van storagegroepschijven
Get-PhysicalDisk



#Creating nieuwe S2D-cluster:
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 resultaten van vorige opdrachten
Get-ClusterS2D
Get-StoragePool
Get-StorageSubSystem -FriendlyName *Cluster* | Get-StorageHealthReport



#Configure hostbeheernetwerk met lagere prioriteit voor live migratie:
$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 bestandeninstellingen om ervoor te zorgen dat geheugendump kan worden vastgelegd:
$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-ondertekening; standaard uitgeschakeld bij normale installatie van Windows Server
Set-SmbServerConfiguration -RequireSecuritySignature $FALSE -force



configuratiewijziging #Spaces poort time-out:
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