Sunday , September 23 2018
Breaking News
Home > vSphere Guides > How to configure vSphere HA ?

How to configure vSphere HA ?

HA is an high availability feature provided by VMware for protecting the virtual machines from system failure. When the HA is enabled on the cluster it automatically protects all the virtual machines. HA continuously monitors the vSphere Cluster for any issues if any issues arises HA occurs and HA will restart the affected virtual machines on the available host. HA uses heartbeats to monitor the virtual machines and the ESXi hosts.

In HA downtime is just equal to the restart time. That means that if the HA triggered then it will just restart the virtual machines on the available host within the cluster. you can also configure specific amount of resources reserved for the availability.

In this post we will see on how to configure High Availability easily to protect the vSphere Infra. Enabling and configuring the HA is just an few clicks but it provides various more granular options which can be tweaked as per the requirement.

So let’s see how to configure High Availability:

Step 1:
Login to vSphere Web Client.
Choose the Cluster on which you want to Enable & configure the HA.
Go to Configure Tab > Under Services > vSphere Availability.
Click Edit button to configure.

vSphere-ha-8

Step 2:
Once you click Edit button you will get the cluster settings wizard.
Here you will see 2 boxes “Turn ON vSphere HA” and “Turn on Proactive HA”.
Proactive HA will continuously monitor the ESXi host health and performance degrade.
Check the Box to Enable the vSphere HA.
If you just want to enable the HA then you can click OK to save & HA will be configured. But we will look for the options which are available in HA.

vSphere-ha-1

Failures & Responses:
You can configure the Host Monitoring & various option for Failure conditions & responses.
Host Failure Response: You can set the Failure response for the virtual machine in the event of ESXi host failure. By default it will restart the Virtual Machines. You can also configure the VM restart priority here.
Response for Host Isolation: Configure the response for ESXi host network isolation. You can either keep it Disabled or set to Shutdown and restart VM or Power Off and restart VM.
Datastore with PDL: Configure the response for if HA finds the datastore is in Permanent Device Loss state. Default option is Disabled but you can configure it for Issue events or Power Off and restart VMs.
Datastore with APD: Configure the response for if HA finds the datastore is in the All Path Down state. Options for this is same which are on Datastore with PDL but you can specify the restart policy Conservative or Aggressive. You can also configure the Recovery response when the datastore is recovered from the All Path Down situation.
VM monitoring: You can enable the VM & Application Monitoring based on your requirement. It uses Heartbeats to monitor. You can configure the Heartbeat monitoring sensitivity.

vSphere-ha-2

Proactive HA Failures & Responses:
Proactive HA will monitor the ESXi hosts if it finds any health degradation then it will migrate the running VM’s to the another Host.
Automation Level will automate the process whether to migrate VM at the time of host degrade state is manual or Automated.

vSphere-ha-3

Admission Control:
You can configure & reserve the some of the cluster capacity for the failover.
You can specify how many Host failures can be tolerated.
You can also provide the amount of CPU & Memory of the cluster to be reserved for the HA failover.

vSphere-ha-4

Heartbeat Datastores:
HA uses the datastore heartbeat when the host management network has failed. You can configure the datastore to be used for heartbeats.

vSphere-ha-5

Advanced Options:
Here you can configure the Advanced Options for High Availability.
Configure this only if you have any specific requirement or advised by the VMware Support.
Click OK to save & configure HA.

vSphere-ha-6

 

Once you click OK. HA agent will be installed in the ESXi hosts. you can see it in the recent tasks. It will only take the few minutes to configure the HA.

vsphere ha

If you want to Test the HA there are many ways to test it but the simple way is to shutdown the ESXi host so HA will get triggered and according to the configuration it will perform the action.

Checkout our post on What is vSphere HA ?

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Fast updates about our posts : Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

About Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 2 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Check Also

SRM: How to Configure IP Customization in SRM

Site Recovery Manager is an Disaster Recovery solution from VMware. In previous post we have …

Nakivo Advance Bandwidth Throttling

NAKIVO is a fast-growing software company for protecting virtualized and cloud environments, NAKIVO Backup & …

SRM Reprotect

SRM: How to Reprotect VM in SRM

Site Recovery Manager comes with the Reprotect option which will Reprotect or failback the virtual …

Leave a Reply

Your email address will not be published. Required fields are marked *

10 − four =