Modifying cluster settings
To modify the settings of a cluster, you can use the Set-Cluster
cmdlet. This cmdlet has basically the same parameters as the New-Cluster
cmdlet with the addition of the -Profile
parameter that enables you to associate a host profile with a cluster. The syntax of the Set-Cluster
cmdlet is:
Set-Cluster [-HARestartPriority <HARestartPriority>] [-HAIsolationResponse <HAIsolationResponse>] [-VMSwapfilePolicy <VMSwapfilePolicy>] [-Cluster] <Cluster[]> [[-Name] <String>] [-HAEnabled [<Boolean>]] [-HAAdmissionControlEnabled [<Boolean>]] [-HAFailoverLevel <Int32>] [-DrsEnabled [<Boolean>]] [-DrsMode <DrsMode>] [-DrsAutomationLevel <DrsAutomationLevel>] [-VsanEnabled [<Boolean>]] [-VsanDiskClaimMode <VsanDiskClaimMode>] [-Profile <VMHostProfile>] [-Server <VIServer[]>] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
Disabling HA
The next example will disable HA for Cluster02...