High Availability
HA configuration errors on virtualised ESX ESXi
0If you are running a copy of workstation for your vsphere lab and you are encountering an error when trying to enable HA/DRS clusters then this is probably the issue.
When you create a ESX vm, vmware workstation autocreates a vm with 2GB’s of ram which is the lowest amount you can get away with to boot the hypervisor. However in order for HA to work you will need a minimum of 2300megs of ram (2.3GB) so shutdown your ESX/i vm and up the ram by 300megs or more and you will find that HA/DRS works correctly!
VMware High Availability
0High availability or HA as I will call it from now on, is a feature of Virtual Center which allows for the automatic restart of VM’s in the event of a host failure.
For example if you had 4 ESX servers running 40 VM’s (10 on each). if one host goes pop then HA would detect the failure and restart the VM’s on the 3 remaining hosts. However of course whilst there is not a great deal of options to fiddle about with (most of them follow the same pattern) you do have an important decision to make, which is if a host fails do you want to restart your VM’s or would you rather they stay down. This is basically is it more important that all the vm’s are up and running but possibly slower than normal, or would you rather some or all of the VM’s stay down until you have dragged yourself out of bed and into the office to fix the issue.

HA can be enabled once you have created a cluster by right clicking on the cluster and selecting “Edit Settings”. The first screen you will see consists of 2 check boxes, one for enabling/disabling HA and one for enabling/disabling DRS. The choice here is self-explanatory but you might want to spend a minute reading the couple of paragraphs on that page.
The next tab worth looking at is the Vmware HA tab there are 3-4 options here that you will need to consider.
The first option is Admission Control, within that setting is the options to set the number of host failures the cluster can tolerate this can be any number between 1-4. This by default is set to 2 and of course if you suddenly find yourself loosing 4 hosts in your cluster then you have a rather large problem on your hands. The next option is to prevent or allow the powering on of vm’s if they violate availability constraints. This means basically do you want to allow VM to be powered on even if the total number of configured memory resources exceeds the actual resources that the cluster provides.
Maths bit: You can work out your availability constraints by taking the amount of ram provided by your smallest ESX host (I.E, the one with the least amount of physical memory) and then find your vm with the most amount of configured memory and divide the ESX memory by the vm ram which will give you your figure of the amount of guest vm’s each host can have, any more than that and your availability constraints have been violated!
Example:
6 ESX Hosts smallest has 24 GB of ram largest amount of guest ram is 2GB and host failure is set to 1.
Recent Comments