To establish failover protection, create a vSphere Cluster.

About this task

These steps are performed using the vSphere Web Client.

Procedure

  1. Create a cluster with the name VRN-CLUSTER.
  2. Select VRN-DC as the cluster location.
  3. Select Turn ON for vSAN, leave Add disks to storage set to Automatic, and click OK.
  4. Under VRN-CLUSTER, select Move Hosts into Cluster, select esx-01 only, and move it to the cluster.
  5. Return to Move Hosts into Cluster, select the remaining hosts, and move them to the cluster.
    Note:

    The tasks performed by vCenter to move the remaining hosts to the cluster might take several minutes to finish. Some vSAN Health Alarms might appear in the vSphere Web Client. You can safely dismiss these alerts.

  6. Verify vSAN cluster configuration.
    1. Under Datastores, navigate to the device backing location, following the steps appropriate for the vCenter Server Appliance version you are using

      Option

      Description

      Version 6.5.n

      Select vsanDatastore > Configure > Device Backing.

      Version 6.0.n

      Select vsanDatastore > Manage > Device Backing.

    2. Verify that all ESXi hosts have a state of Connected/Healthy.
    3. Verify that all disk groups have a state of Mounted/Healthy.
    4. Verify that all ESXi hosts have the same Network Partition Group.
  7. Enable DRS on the cluster VRN-CLUSTER.
    1. Under Clusters, select VRN-CLUSTER > Manage > Settings.
    2. Under Services, select vSphere DRS and Edit.
    3. Select the option Turn ON vSphere DRS, keep the default value for all configuration options.
    4. Save your choices by clicking OK.
  8. On the cluster's Manage tab, under Settings, enable HA on the cluster by following the steps according to the vCenter Server Appliance version you are using.

    Option

    Description

    Version 6.5.n

    1. Select vSphere Availability and click Edit.

    2. Click Turn ON vSphere HA to select it.

    3. Click the Failure and Response tab.

    4. Change Response for Host Isolation to Power off and restart VMs.

    5. Click the Admission Control tab.

    6. To set single host redundancy, set Host failures cluster tolerates to 1.

    7. Verify that Define host failover capacity is set to Cluster resource percentage, and adjust it if not.

    8. Keep the default values for all other settings and click OK to apply changes.

    Version 6.0.n

    1. Select vSphere HA then select the option Turn ON vSphere HA.

    2. Expand Failure conditions and VM response.

    3. Change Response for Host Isolation to Power off and restart VMs.

    4. Expand Admission Control.

    5. Select Define failover capacity by reserving a percentage of the cluster resources and set the percentages for Reserved failover CPU capacity and Reserved failover Memory capacity.

      To determine the percentage of cluster resources to reserve in order to provide single redundancy in a cluster of N identical hosts, calculate (1/N)*100, where N is the number of hosts. For this four-node cluster, the percentage equals (1/4)*100 or 25%.

    6. Keep the default value for all other settings and click OK to apply changes.