Skip to main content

VMware Interview Questions & Answers -VMware Fault Tolerance

What is VMware Fault Tolerance?
VMware Fault Tolerance is a component of VMware vSphere and it provides continuous availability to applications by preventing downtime and data loss of Virtual machines in the event of ESX server failures.


What is the name of the technology used by VMware FT?
VMware FT using a technology called vLockstep technology
What are requirements and Limitattions for ESX hosts & infrastructure components to run FT protected virtual machines in Vsphere 4 & 4.1?
Please refer my blog post on ESX Host -Infrastrcuture Requirements & Limitations for VMware Fault Tolerance to see the ESX requirements for VMware FT.
What are Requirements and Limitations for Virtual Machine to Enable FT ?
Please refer my blog post on Virtual Machine Requirements for VMware Fault Tolerance
How do i check my host for FT compatibility from vSphere client?
One way from vSphere client is to run the cluster complaince check from profile compliance tab of  your cluster. The below checks as specified below will be performed as part of the compliance check.
Validate that Fault Tolerancelogging NIC speed is at least 1000 Mbps.
Validate that power management is supported on the host
Validate that Fault Tolerance logging is enabled.
Validate that VMotion NIC speed is at least 1000 Mbps.
Validate that all the hosts in the cluster have the same build for Fault Tolerance
Validate that the host hardware supports Fault Tolerance.
Validate that VMotion is enabled.
Validate that at least one shared datastore exists
Another way is to check the summary tab of the ESX/ESXi host, “Host Configured for FT” yes or NO.
If ” Host Configured for FT” is No. It will display the items required for that particular ESX for FT to work.
What is FT Logging Traffic?
FT logging is the one of option in VMkernel port setting which is similar to enable vmotion option in the vmkernel port. when FT is enabled for the virtual machine, all the inputs (disk read.. wirte,etc..) of the primary virtual machine are recorded and sent to the secondary VM over via FT logging enabled VMkernel port.
How to Enable FT Logging in VMkernel Port?
GO the ESX host -> Configuration-> Networking -> Properties of Virtual switch with the VMkernel portgroup configured
Click on VMkernel Port -> click on Edit -> General tab ->  select the Fault Tolerance Logging -> click on OK.
How do you configure or enable FT for the virtual machine ?
FT can be enabled only per virtual machine basis not at the cluster or ESX level.
Right-click the virtual Machine -> Fault Tolerance -> Turn on Fault Tolerance
How does the FT enabled virtual machine will be differentiated with non FT VM’s in vSphere client?
FT Enabled Virtual machine will appear in Dark Blue colour as compared to non-protected virtual machines.
By default, Only Primary virtual machine will appear under the cluster and ESX host. To take a look at the secondary VM , Go to Virtual Machines tab of the Cluster or Host.

How Does VMware Fault Tolerance Work?
When you enable Fault Tolerance for the virtual machine, a secondary virtual machine will be created to work with the primary virtual machine in which you have enabled FT. The primary and secondary virtual machine resides on a different ESX hosts in the cluster. Whatever the events or actions performed  by the primary VM will be transmitted via gigabit Ethernet network to be replayed by the secondary virtual machine using VLockstep technology. Eventhough both the primary and secondary virtual machines appear as a single entity  and access a common disk, both  running with the single IP address, MAc address but writes are only performed by the primary virtual machine.The primary and secondary virtual machines sends heartbeat  between each other frequently with millisecond intervals to the check for the availability. If either of the virtual machine loses the heartbeat, other virtual machine will take over the  primary virtual machine role immediately.
Graphics Thanks toVMware.com
What happens when you enabled Fault Tolerance for your virtual machine?
When you enable Fault Tolerance for the virtual machine, a secondary virtual machine (live shadow image of the primary) will be created to work with the primary virtual machine in which you have enabled FT.  The primary and secondary virtual machine resides on a different ESX hosts in the cluster.
What will happen when the ESX host of primary VM failed?
When a failure is detected on the primary VM’s ESX host, the secondary virtual machine which is running on the another ESX server in the same cluster will takes the place of the first one with the least possible interruption of service.
If vCenter is down, will the FT work?
vCenter server is only required to enable FT on the virtual machine.once it is configured, vCenter is not required to be in online for FT to work. FT failover between primary and secondary will occure even if the vCenter is down.
How does Vmware FT differs from VMware HA?
1.VMware HA is enabled per cluster basis but FT is enabled per VM basis.
2. In case of ESX host failure, virtual machines in the  failed host are restarted and powered-on on  the other active hosts in HA cluster. So the restart duration of the virtual machine is the downtime for the virtual machine in HA cluster. But in FT enabled virtual machine, there is no downtime. In case of host failure, secondary VM will become primary and  continuing the execution from the exact point where the primary VM is left off or failed. It happens automatically without data loss, without downtime and with a little delay. Users will not see any interruption.
How do you see the summary status of the FT enabled virtual machines in the ESX host from vsphere client?
Click on Summary tab of the ESX host -> Fault tolerance information and VM counts will be displayed

Comments

Popular posts from this blog

Quick Guide to VCF Automation for VCD Administrators

  Quick Guide to VCF Automation for VCD Administrators VMware Cloud Foundation 9 (VCF 9) has been  released  and with it comes brand new Cloud Management Platform –  VCF Automation (VCFA)  which supercedes both Aria Automation and VMware Cloud Director (VCD). This blog post is intended for those people that know VCD quite well and want to understand how is VCFA similar or different to help them quickly orient in the new direction. It should be emphasized that VCFA is a new solution and not just rebranding of an old one. However it reuses a lot of components from its predecessors. The provider part of VCFA called Tenenat Manager is based on VCD code and the UI and APIs will be familiar to VCD admins, while the tenant part inherist a lot from Aria Automation and especially for VCD end-users will look brand new. Deployment and Architecture VCFA is generaly deployed from VCF Operations Fleet Management (former Aria Suite LCM embeded in VCF Ops. Fleet Management...
  Issue with Aria Automation Custom form Multi Value Picker and Data Grid https://knowledge.broadcom.com/external/article?articleNumber=345960 Products VMware Aria Suite Issue/Introduction Symptoms: Getting  error " Expected Type String but was Object ", w hen trying to use Complex Types in MultiValue Picker on the Aria for Automation Custom Form. Environment VMware vRealize Automation 8.x Cause This issue has been identified where the problem appears when a single column Multi Value Picker or Data Grid is used. Resolution This is a known issue. There is a workaround.  Workaround: As a workaround, try adding one empty column in the Multivalue picker without filling the options. So we can add one more column without filling the value which will be hidden(there is a button in the designer page that will hide the column). This way the end user will receive the same view.  
  "Cloud zone insights not available yet, please check after some time" message on Aria Automation https://knowledge.broadcom.com/external/article?articleNumber=314894 Products VMware Aria Suite Issue/Introduction Symptoms: The certificate for Aria operations has been replaced since it was initially added to Aria Automation as an integration. When accessing the Insights pane under  Cloud Assembly  ->  Infrastructure  ->  Cloud Zone  ->  Insights  the following message is displayed:   "Cloud zone insights not available yet, please check after some time." The  /var/log/services-logs/prelude/hcmp-service-app/file-logs/hcmp-service-app.log  file contains ssl errors similar to:   2022-08-25T20:06:43.989Z ERROR hcmp-service [host='hcmp-service-app-xxxxxxx-xxxx' thread='Thread-56' user='' org='<org_id>' trace='<trace_id>' parent='<parent_id>' span='<span_id>'] c.v.a.h.a.common.AlertEnu...