Vmware Slot Size

Vmware Slot Size Average ratng: 3,5/5 3217 reviews

My slot size is 32Mhz/80MB. Maximum number of CPU slots I can have is 328.25. Maximum number of RAM slots 40963/80=512.0375 which defines the number of total slots as HA chooses the most restrictive number (a worst case scenario). As you can see HA shows 511 total slots in the cluster. But we do not use vCPUs anymore to determine the slot size for CPU. The slotsize for CPU is determined by the highest reservation or 256MHz (vSphere 4.x and prior) / 32MHz (vSphere 5) if no reservation is set. However, vCPUs can have an impact on your slot it can have an impact on your memory slotsize.

By Duncan Epping, Principal Architect.

On the VMTN forum today someone asked how it was possible that the “used slots” exceeded the “total slots”. This is what their environment showed in vCenter:

  1. VMware HA Slot is the default admission control option prior to vSphere 6.5. Slot Size is defined as the memory and CPU resources that satisfy the reservation requirements for any powered-on virtual machines in the HA cluster.This article is just to cover how the HA slots are calculated step by step not more than that.
  2. If you work with VMware Workstation on your Windows PC, you've probably noticed how the virtual machine disk image can become quite large very fast, especially if you are running Windows 7 or Windows 10 as a guest OS. Luckily, there are a couple of ways you can shrink the size of the virtual disk to a more manageable size.

HA Advanced Runtime Info:
Slot size 4000Mhz
4 vCPUs,
4232MB
Total Slots in Cluster 16
Used Slots 66
Available Slots 0
Total Powered on vms in Cluster 66
Total Hosts in cluster 2
Total good host 2

You can imagine this person was very surprised to see this. How can you have 66 slots used and only 16 total slots available in your cluster? There are two possible explanations:

  1. Admission Control is disabled
  2. A reservation was set on a virtual machine after all virtual machines were powered on, skewing the numbers

Let’s tackle number 1 first. If you disable admission control the vSphere UI will still show the slot size and the number of slots etc, it just won’t do anything with it…

With regards to the second explanation it might be easier to give an example:

Just imagine you have 2 hosts and HA does its calculations and you have 100 slots available. You power-on 100 VMs. Now you set a reservation on a VM, this reservation will change the slotsize. HA does it calculations again based on this new slotsize. This will result in only 25 slots available based on this new slotsize. However you already used 100 slots. In other words, now you have 25 totals slots and your used is 100.

This post is the follow up post for my previous post on VMware HA Slot Calculation. In that post, i have explained the step by step procedure for how to calculate the HA slot information. This post clarifies more on the Total Slots, Used Slots & Available slots in VMware HA Slot calculation. I strongly recommend to read my previous post on HA slot calculation to fully understand the concepts of this post.
Used Slots = 6
What is that? How does it calculate and our mind will think of the below calculation
Available slots = Total slot – Used slots i,e Available slots = 234 – 6 = 228. It should come as 228 as available slots but why Available slots is 150 in the above snapshot. Is that wrong or VMware did something wrong in HA slot calculation? Absolutely NOT. Below is the method of calculation for Total Slots, Used Slots & Available slots.
Vmware Slot Size
Available Slots = (Total Slots -Used Slots) – Slots reserved for failover capacity
How to Calculate Slots reserved for failover ?
It is basically coming from you Admission Control Policy of HA cluster. I have enabled admission control and configured Admission control Policy as ” Host Failures Cluster Tolerates” is equal to 1 . So It will make sure the resources always be available in the cluster as a reserved capacity to tolerate the 1 ESX host failure in my 3 node HA cluster.So, It has to reserve some capacity for fail over purposes.
Total Available Slots in the Cluster = 234
No of Hots in HA cluster = 3
Total Available slots per ESX host = 234 /3 = 78 Slots Per Host
“Host Failures Cluster Tolerates” Admission control Policy = 1 host Failure. So, 1 host failure should be tolerated in the cluster by reserving 78 Slots for fail over purposes.
Available Slots = (Total Slots -Used Slots) – Slots reserved for fail over by admission control policy
Size
Available Slots = (234 – 6) – 78
Vmware cluster slot size calculation

Vmware Slot Size Policy

Available Slots = 150 Slots
I hope this post will clear doubts regarding Total Slots, Used Slots & Available slots in VMWare HA slot calculation.
Vmware

Vmware Fixed Slot Size

Thanks For Reading!!!!