VMware Cloud Community
vijayalka
Enthusiast
Enthusiast

FT Question

Scenario is as below:-

=============

2 esxi host

VM with FT enabled

I know that vm running on host A if down then secondry vm running on host B resume the job.

I know if secondry FT enabled VM is down then I will get error on primary vm that secondry vm does not exist.

But I want to know what happen if my primary vm is down which is running on host A, host A is running fine without any issue?

Thanks in Advance

Reply
0 Kudos
3 Replies
vThinkBeyondVM
VMware Employee
VMware Employee

In order to power on FT VM, we have to enable vSPhere HA on cluster as well. If say primary OS came across BSOD, even secondary VM also will be BSOD'ed. At this time, vSphere HA can detect the OS failure(we need to enable VM monitoring feature of vSphere HA) and it will restart the primary VM on the same host & it will recreate the secondary VM on the other host. In this case, there will be minimal downtime as VM is getting restarted on failure.


I hope above explanation answered your question


Nonetheless,

What happens during a failure?

When a host running the Primary virtual machine fails, a transparent failover occurs to the corresponding Secondary virtual machine. During this failover, there is no data loss or noticeable service interruption. In addition, VMware HA automatically restores redundancy by restarting a new Secondary virtual machine on another host. Similarly, if the host running the Secondary virtual machine fails, VMware HA starts a new Secondary virtual machine on a different host. In either case there is no noticeable outage.


I hope you have read :http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101342...

Also as reference : http://pubs.vmware.com/vsphere-55/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-55-availab...


Let me know if you have any other question


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

Reply
0 Kudos
vijayalka
Enthusiast
Enthusiast

Hi Vicky,

Thanks for the reply.

But I want to know how FT will work if my primary FT VM is corrupted or not available but the ESXi host which has the primary FT VM is running fine?

Does even in that case my secondary FT VM will resume job?

Regards,

Vijay

Reply
0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee

In fact, same explanation applies here as well.


Say, your FT VM is corrupted, your secondary VM can not resume the job. Even secondary VM also will be corrupted as well. FT will not handle this situation.  In this case, vSphere HA will come in picture, as vSphere HA is not getting VM heartbeat from primary FT VM (as VM is corrupted), it will restart the VM on the same host (as same host is running fine) and as FT is enabled on the restarted VM, secondary VM also will be recreated on another host. As primary FT VM is restarted, VM will undergo minimal downtime.


Note that FT will handle the case where host itself is failed. Hence when host fails, secondary VM will resume the job without any downtime but if primary VM fails, vSphere HA will handle this case with minimal downtime.

Learn how vSPhere HA VM monitoring works :: vSphere HA VM Monitoring - Back to Basics | VMware vSphere Blog - VMware Blogs

Let me know if you have any doubts.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

Reply
0 Kudos