Configuring High Availability
In this section, we will discuss how to configure HA in a cluster and the other advanced parameters related to HA.
As shown in the preceding examples, HA is not enabled for this cluster. To enable the cluster, we will again make use of the Set-Cluster
cmdlet. In the following example, HA in the cluster has been enabled:
Next, we will enable the HAAdmissionControl
property. Let's first check whether HAAdmissionControl
is enabled or not:
PS C:\> Get-Cluster "Lab Cluster" | Select -Property HAEnabled,HAAdmissionControlEnabled HAEnabled HAAdmissionControlEnabled --------- ------------------------- True False
To enable this property, we will use the Set-Cluster
cmdlet. The process of enabling this parameter is shown in the following example:
Next, we will set HAFailoverLevel
. To do this, we will set the HAFailoverLevel
property of the cluster. In the following example, we have changed the failover level to 2
(the default value is 1
):
In the...