To ensure that the virtual machine objects continue to run smoothly during a rack failure, you can group hosts in different fault domains.

When you provision a virtual machine on the cluster with fault domains, Virtual SAN distributes protection components, such as witnesses and replicas of the virtual machine objects across different fault domains. As a result, the Virtual SAN environment becomes capable of tolerating entire rack failures in addition to a single host, storage disk, or network failure.

Prerequisites

  • Choose a unique fault domain name. Virtual SAN does not support duplicate fault domain names in a cluster.
  • Verify the version of your ESXi hosts. You can only include hosts that are 6.0 or later in fault domains.
  • Verify that your Virtual SAN hosts are online. You cannot assign hosts to a fault domain that is offline or unavailable due to hardware configuration issue.

Procedure

  1. Navigate to the Virtual SAN cluster in the vSphere Web Client.
  2. Click the Configure tab.
  3. Under vSAN, click Fault Domains and Stretched Cluster.
  4. Click the Create a new fault domain icon ().
  5. Type the fault domain name.
  6. From the Show drop-down menu, select Hosts not in fault domain to view the list of hosts that are not assigned to a fault domain or select Show All Hosts to view all hosts in the cluster.
  7. Select one or more hosts to add to the fault domain.
    A fault domain cannot be empty. You must select at least one host to include in the fault domain.
  8. Click OK.
    The selected hosts appear in the fault domain.