Perform the following postdeployment configurations on your nodes:
- Enable RDMA for the storage adapters. Run the following command with the relevant parameter:
Enable-NetAdapterRDMA -Name “vSMB1”, “vSMB2”
Note: For network ATC intents, RDMA is enabled automatically.
- To help ensure that the active memory dump is captured if a fatal system error occurs, allocate enough space for the pagefile. It is recommended that you allocate at least 40 GB plus the size of the CSV block cache. Follow these steps to do so:
- Determine the cluster CSV block cache size value by running the following command:
$blockCacheMB = (Get-Cluster).BlockCacheSize
- Run the following command to update the page file settings:
$blockCacheMB = (Get-Cluster).BlockCacheSize
$pageFilePath = "C:\pagefile.sys"
$initialSize = [Math]::Round(40960 + $blockCacheMB)
$maximumSize = [Math]::Round(40960 + $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}
}
- Determine the cluster CSV block cache size value by running the following command:
- Set the network adapter advanced properties of the Qlogic network adapters to ‘iWarp’ and the properties of Mellanox network adapters to ‘host-in-charge’. Run the following PowerShell command with the relevant parameter values based on your network adapter configuration:
- For Qlogic network adapters:
Get-NetAdapter -InterfaceDescription '*Qlogic*' | Set-NetAdapterAdvancedProperty -DisplayName 'NetworkDirect Technology' -DisplayValue 'iWarp'
- For Mellanox network adapters:
Get-NetAdapter -InterfaceDescription '*Mellanox*' | Set-NetAdapterAdvancedProperty -DisplayName 'NetworkDirect Technology' -DisplayValue 'RoCEv2'
- For performance optimization and reliability, update the hardware timeout configuration for the Spaces port. The following PowerShell command updates the configuration in the Windows registry and induces a restart of the node at the end of the registry update. Perform this update on all Storage Spaces Direct nodes immediately after initial deployment. Update one node at a time and wait until each node rejoins the cluster.
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\spaceport \Parameters -Name HwTimeout -Value 0x00002710 -Verbose
Restart-Computer -Force
- For Qlogic network adapters:
- Run the following command to set the VM migration option to SMB:
Set-VMHost -VirtualMachineMigrationPerformanceOption SMB
- Configure a cluster witness for your cluster. It can be a file share or a cloud-based witness. Note: If you choose to configure a file share witness, it should exist outside the two-node cluster. For information about configuring a cloud-based witness, see Deploy a Cloud Witness for a Failover Cluster.
- Clusters that are deployed using the Azure Stack HCI operating system must be onboarded to Microsoft Azure for full functionality and support. For more information, see Connect Azure Stack HCI to Azure.
- For more information about Firewall requirements, see Firewall requirements for Azure Stack HCI.