What is the most appropriate way to test a virtual machine enabled for VMware Fault Tolerance?
A.
Cause a failure on the ESXi host running the primary virtual machine
B.
Cause a failure on an application within the primary virtual machine
C.
Disable network connectivity to the primary virtual machine
D.
Cause a failure on the primary virtual machine
I think the answer should be D. Cause a failure on the ESXi host will down all the VMs on ESXi. Need to test the FT, just kill the VM process on the ESXi Host or ‘Test the Fault Tolarance’
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1020058
“A deterministic scenario, where you can predict how a failover will occur
The following events are deterministic:
◦An ESX host failure which causes complete host failure
◦The primary virtual machine process fails (or is non-responsive) on the ESX host
◦A Fault Tolerance test is initiated from vCenter Server.”
An ESX/ESXi host failure which causes complete host failure = A
In that same quote you posted, a deterministic failure can be the primary VM process failing. You can do that by getting on to the ESXi host and terminating the VM process.
The weird thing here is that in that KB article, it says that VMware does not recommend testing in this manner even though they list it as a proper testing scenario. But it’s weird, not sure why you wouldn’t. I’m really torn as to weather I would answer A or D.
Actually after seeing this same question here http://www.aiotestking.com/vmware/2011/10/what-is-the-most-appropriate-way-to-test-a-virtual-machine-enabled-for-vmware-fault-tolerance/ I think I would choose A because you could interpret that answer D is talking about going on to the VM and causing a failure where as option A could be describing the scenario where you kill the VM process, which takes place on the host itself. Still a tricky question though and I think it should be worded better.
I take the phase “the most appropriate way” to be A.
The question asks for “the most appropriate way”. None of the answers are correct. The most appropriate way is to right-click on the primary and select “Test Fault Tolerance”.