Keeping Your Cloud Online with VMware Fault Tolerance

Image

March 1, 2023

Green House Data provides a 100% SLA – which means your cloud infrastructure is guaranteed to be online 24/7. But errors in application deployment, cyber attacks, configuration mishaps, heavy network traffic, and other issues can still cause your virtual machines to crash, if you are managing them yourself. One tool in the arsenal to fight cloud downtime is VMware Fault Tolerance.

Fault Tolerance (FT) increases availability of virtual machines by creating an identical copy of the production VM that is continuously updated and ready to replace the original VM in the event of downtime. VMware FT is part of vSphere High Availability and works with it to keep the backup VM in tandem.

FT is often used for applications that require constant availability, especially if they have continual or near-constant client connections, or for custom applications that require clustering.

 

How does Fault Tolerance work in vSphere?

VMware fault tolerance keeps VMs active when a host goes down

FT is enabled for individual virtual machines manually. The second VM resides on a separate host in your cluster so it does not go down with the production VM in a downtime event. Because the VMs are running in lockstep, or parallel, on separate hosts, vMotion compatibility is required.

Each server continuously shares heartbeats, monitoring status of each other to ensure FT is maintained. The ultimate goal is no user interruptions and zero data loss. In addition, FT avoids a potential problem where two active, identical VMs run into storage and configuration problems when the original VM is restored by using atomic file locking to keep only one side of the failover running.

vCenter Server 4.x and 5.x support up to one vCPU per VM for FT, while vCenter Server 6 supports up to four vCPUs. Your cluster must meet certain requirements including:

  • Enable host certificate checking
  • Two or more hosts running the same version of FT, which you can see in the host Summary tab in vSphere
  • ESX/i hosts access the same VM datastores and networks
  • Configure FT logging and vMotion networking
  • Create and enable VMware high Availability (HA) cluster
  • FT compatible processors and licensing for FT on all hosts
  • Enable Hardware Virtualization in the BIOS of each host
     

Your virtual machines also have specific requirements including:

  • Detach all unsupported devices
  • Use thick provisioning for all virtual RDM or virtual machine disk (VMDK) files
  • Turn off all incompatible features, including Snapshots, Storage vMotion, linked clones, and VMware Consolidated Backup (VCB)
  • Shared storage must be used, whether iSCSI, NFS, or NAS