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.

Implementazione del cluster Dell Microsoft Azure Stack HCI

Summary: Le informazioni illustrano la procedura per l'implementazione di un cluster Microsoft Azure HCI S2D, come documentato nella Guida all'implementazione "Microsoft HCI Solutions from 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

La schermata seguente illustra l'ambiente di un cluster HCI a due nodi su una rete commutata.  Le informazioni powershell riportate di seguito sono state adattate per questa configurazione, ma sono comunque utili con la modifica per i cluster con più nodi e una topologia di rete senza switch.


Diagramma del cluster a due nodi Microsoft Azure Stack HCI in un ambiente di rete di switch Active Directory di Windows.
 
L'esempio di script riportato di seguito e il processo di installazione si trovano nelle pagine 12 - 21 della guida all'implementazione "Microsoft HCI Solutions from Dell Technologies" versione .PDF scaricabile.
Lo script esegue i passaggi dopo che i nodi del cluster hanno installato i sistemi operativi, sono stati aggiunti a un dominio Active Directory e la rete cluster futura è stata messa in atto.


Elementi di configurazione:
  • Installazione delle funzionalità di Windows: Hyper-V, Failover-Clustering, Data-Center-Bridging, BitLocker, FS-FileServer, RSAT-Clustering-PowerShell, FS-Data-Deduplication
  • Controllo aggiornamento driver:  Controllare la Support Matrix
  • Rinominare i nodi del cluster
  • Test del cluster, convalida
  • Creare un cluster S2D
  • Abilitare Spazi di archiviazione diretta
  • Impostare la priorità di rete "Management" dell'host per live migration
  • Impostazioni dei file di pagina: Consentire lo spazio dump della memoria
  • Configurare il cluster di controllo
  • Configurazione timeout porta spazi
L'esempio di script riportato di seguito deve essere adattato per l'ambiente in cui viene implementato il cluster HCI.  I nomi dei server, il nome del cluster, il nome della share del cluster e le informazioni IP devono essere modificati per soddisfare i parametri dell'ambiente di installazione.
Quando si copia il testo dello script riportato di seguito nello script di deployment desiderato, assicurarsi di non avvolgere il testo PowerShell.

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



#Retrieve elenco delle versioni dei driver:
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 nome del nodo cluster:
Rename-Computer -NewName CN01 -Restart


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



#Find stato dei dischi del pool di storage
Get-PhysicalDisk



#Creating nuovo cluster 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 Spazi di archiviazione diretta:
Enable-ClusterS2D -Verbose



Risultati ##Capturing dei comandi precedenti
Get-ClusterS2D
Get-StoragePool
Get-StorageSubSystem -FriendlyName *Cluster* | Get-StorageHealthReport



#Configure rete di gestione host con priorità inferiore per live migration:
$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 impostazioni dei file per garantire l'acquisizione del dump della memoria:
$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 firma SMB; disabilitata per impostazione predefinita con l'installazione normale di Windows Server
Set-SmbServerConfiguration -RequireSecuritySignature $FALSE -force



#Spaces modifica alla configurazione del timeout della porta:
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