In the "Admission Control" tab, start by selecting "Define host failover capacity by: Slot Policy (powered on VMs)".
Then, you can configure the location size rule linked to this policy:
Note: for the other settings, refer to the explanations given in the previous step of this tutorial.
When admission control is configured to use the "Slot Policy (powered on VMs)" policy, you will see the following lines in the "vSphere HA" section of your VMware cluster:
If you go to "Monitor -> vSphere HA -> Summary", you will see an "Advanced Runtime info" section with several values:
As explained previously, the slot size is calculated in relation to the resource reservations (CPU and RAM) defined (if applicable) on the powered-on virtual machines in your cluster, as well as the additional memory (memory overhead) of them. .
To quickly prove this, we are going to modify the settings of a virtual machine in our cluster.
For the example, we set a RAM reservation of 8 GB.
Then, we start this virtual machine. Because admission control only takes into account powered-on virtual machines to calculate the slot size.
The virtual machine starts.
Now, if you look at the slot size, you will see that it has changed.
In this case, in our case, the value used for the random access memory (RAM) is 8264 MB (the reservation of 8 GB (8192 MB) of RAM + the additional memory of the VMs under voltage).
The value for the processor (CPU) is always 32 MHz (default value used by vSphere HA) since there is no reservation for the CPU on our VMs.
As you can see, the number of slots has changed greatly as the slot size has changed greatly.
In our case, there is now:
In summary, with the current slot size, vSphere HA considers that we can start 3 virtual machines without problems on a host.
The other 3 locations are reserved for the failover of these 3 VMs. So, if a host goes down, a maximum of 3 virtual machines can be restarted on the functional host.
Note that in our case, our 2 hosts have the same performance:
Since the slot size (8264 MB) in our case is slightly larger than 8 GB (8192 MB), it is normal that we can only have 3 virtual machines powered on in our cluster.
This is because the remaining 3 slots (from the other host) are reserved as failover slots.
In the "Admission Control" tab, start by selecting "Define host failover capacity by: Dedicated Failover Hosts".
Next, you will be able to add the host(s) you want to reserve for failover.
Note: for the other 2 settings, refer to the explanations given in step "3.1. Use policy: Cluster Resources Percentage" of this tutorial.
In the "Add Failover Host" window that appears, you can select one or more hosts that will be reserved as failover hosts.
As a reminder, this means that vSphere HA will use these failover hosts as a priority when a failover is necessary (e.g. when a host fails).
But, this is just a preference. If this failover host is down or its resources are not sufficient for failover of the impacted VMs, vSphere HA can also use the other hosts in the cluster.
In our case, the virtual machines are started on our host "esxi1". As you can see from the memory consumed on this host.
So we select our host "esxi2" to set it as a failover host, then we click OK.
Once the desired failover hosts are added to the list, click OK.
When admission control is configured to use the "Dedicated Failover Hosts" policy, you will see the list of desired failover hosts appear in the "vSphere HA" section of your VMware cluster.
In the case of this admission control policy, nothing will appear additionally in the vSphere HA summary.
Important : although it is strongly discouraged, it is possible to disable admission control by selecting the "Define host failover capacity by: Disabled" option.
In this case, in the "vSphere HA" section, you will see that admission control is disabled.
In the vSphere HA summary, you will not see anything extra appear.
VMware 10/14/2022
VMware 10/23/2024
VMware 7/26/2024
VMware 2/5/2025
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment