This is a question that has come up a number of times. Many of you will now be familiar with the VM Storage Policy capability Number Of Failures To Tolerate for VSAN, which defines how many failures can occur in the VSAN cluster and still provide a full copy of the data to allow a virtual machine to remain available. In this short post, I will explain how many physical ESXi hosts you need to accommodate the Number of Failures To Tolerate requirement in the VM Storage Policy.
The formula is actually quite simple. If you want to tolerate n failures, then you need 2n + 1 ESXi hosts in the VSAN cluster. This table should make it clearer:
Number of Failures To Tolerate Number of hosts in the Cluster 1 3 2 5 3 7
At this time, the maximum value that you can set for Number of Failures to Tolerate is 3, even though we can up to 32 hosts in a VSAN cluster.
So what happens if you try to deploy a virtual machine that has a VM storage policy with a particular Number of Failures to Tolerate capability but the VSAN Cluster does not contain enough ESXi hosts to satisfy this request? The following messages is displayed when you try to do a deploy the VM (this example was trying to deploy a VM with Number of Failures to Tolerate set to 2 on a VSAN cluster with only 4 hosts).