In a VMware vSphere virtual infrastructure, you can ensure high availability of your virtual machines using vSphere HA.
But, you can also improve the high availability of your critical virtual machines by significantly reducing the downtime of your services thanks to the vSphere Fault Tolerance (FT) feature.
VMware vSphere Fault Tolerance (FT) is a feature dependent on vSphere HA that allows you to maintain a carbon copy of your virtual machines on a second host in your cluster.
It is important to understand that this copy obviously includes its virtual disk(s) (VMDK), but also a real-time copy of its random access memory (RAM) and its CPU instructions (processor).
In the event of a failure of the host where the main virtual machine is located, the secondary virtual machine (its copy) will therefore instantly take over the real one.
This was not the case with vSphere HA where a restart of the virtual machine was necessary.
Thanks to vSphere Fault Tolerance (FT), there is no loss of open applications or restart delays.
Failover via a second host is instantaneous.
Note that vSphere Fault Tolerance (FT) uses a locking system on shared storage to prevent a division situation (= 2 active copies of the same VM) from occurring.
Important : if the host that owns the secondary virtual machine (the copy) fails, vSphere Fault Tolerance (FT) automatically creates a new secondary virtual machine on another host in the cluster.
Additionally, in the event of a failure of the host owning the primary virtual machine, a failover to the secondary virtual machine is performed automatically. Then, this secondary virtual machine becomes the primary virtual machine and a new secondary virtual machine is automatically created on another host in the cluster in a few seconds.
Obviously, the primary virtual machine and the secondary virtual machine can never run on the same host. This is to ensure high availability of the virtual machine in the event of a host failure.
Source : How Fault Tolerance Works - VMware Docs.
The vSphere Fault Tolerance (FT) prerequisites are:
The vSphere Fault Tolerance (FT) limits are:
Please note: depending on your edition of VMware vSphere, you will be limited to a specific number of vCPUs per virtual machine protected by vSphere Fault Tolerance (FT):
Sources :
When you enable vSphere Fault Tolerance (FT) on a virtual machine, these VMware vSphere features will not be available:
When you want to enable vSphere Fault Tolerance (FT) on a virtual machine, you will not be able to use these features or devices:
Source : Features and Devices Incompatible with Fault Tolerance - VMware Docs.
In the case of a lab, you can enable Fault Tolerance (FT) logging on the management network to quickly test this functionality.
To do this, select your 1st host and go to "Configure -> Networking -> Virtual switches".
Next, click "..." (to the right of the VMkernel port of the "Management Network") and click "Edit Settings".
In the "vmk0 - Edit Settings" window that appears, check the "Fault Tolerance logging" box and click OK.
Important : do this for each of the hosts in your cluster.
In business, per VMware recommendations, you should use a dedicated network for vSphere Fault Tolerance (FT) traffic.
To do this, we added 2 physical network cards per host which are connected to a separate switch to physically separate the Fault Tolerance (FT) traffic from the rest of the host's traffic.
To do this, for each host, select it and go to "Configure -> Networking -> Virtual switches".
Next, click the “"Add networking" button (top right).
In the "Add Networking" window that appears, select "VMkernel Network Adapter" and click Next.
Select "New standard switch", which will default to 1500 bytes MTU.
Although optional, VMware recommends using Jumbo Frames for Fault Tolerance traffic (to improve network performance).
If you want to use Jumbo frames, specify an MTU of 9000 bytes for this new virtual switch.
Warning : if you define an MTU of 9000 bytes for this virtual switch, make sure that the switch(es) to which the physical adapters assigned to this virtual switch are connected also support Jumbo frames (MTU of 9000 bytes).
For assigned adapters, click the "+" icon.
Select the new physical adapters (physical network cards) one by one to assign to this virtual switch and click OK.
In our case, we assigned 2 physical adapters to provide redundancy.
Click Next.
For VMkernel port settings, specify:
For the IPv4 settings of this VMkernel port, since we do not have a DHCP server on the physical switch dedicated to Fault Tolerance traffic, we use fixed IP addresses with a dedicated subnet (10.30.0.x) .
The 1st host has the IP address "10.30.0.11" for Fault Tolerance traffic and therefore the subnet mask "255.255.255.0".
A summary of the configuration of your new virtual switch, new network (port group) and new VMkernel port appears.
Click Finish.
Our new virtual switch appears with:
For host 2, we assigned it the IP address "10.30.0.12" for Fault Tolerance (FT) traffic.
For host 3, we assigned it the IP address "10.30.0.13" for Fault Tolerance (FT) traffic.
VMware 2/10/2023
VMware 7/20/2022
VMware 9/13/2024
VMware 6/7/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment