Configuring High Availability (HA) in vSphere can be done through the following steps:
1. Enable HA: This can be done by selecting the cluster you want to configure and then clicking on the “Configure” tab. Under “vSphere Availability”, click on “Edit”. Check the box for “Turn ON VMware vSphere HA” and click “OK”.
1. Configure Host Failures Cluster Tolerates (HFDT): This can also be done under the “vSphere Availability” section. Click on “Edit” and set the number of host failures the cluster should be able to tolerate. By default, this is set to one, but it can be adjusted to suit your needs.
1. Configure Admission Control: This is also done under the “vSphere Availability” section. Click on “Edit” and choose your admission control policy. This allows the cluster to ensure that there are enough resources available to accommodate all of the virtual machines should a host failure occur.
1. Configure Networking: HA requires that each host in the cluster can reach each other over a management network. Ensure that each host in the cluster is connected to this network.
1. Configure Storage: Similarly, HA requires that all hosts in the cluster have access to shared storage. Ensure that your storage network and storage devices are properly configured.
1. Test Failover: After completing the above steps, it is recommended to test the failover process to ensure it is working as expected. You can do this by simulating a host failure and verifying that the virtual machines are automatically restarted on other hosts in the cluster.
Once these steps are completed, the cluster is configured for High Availability and virtual machines will be protected against host failures.