Hi,
We have questions regarding vSphere HA settings, in case of host failure, VMs will migrate to another hosts, but restarts. My Client have critical VMs that don't want to be rebooted. And he also asking if there's a config for a certain VM that vSphere HA will not perform a reboot when the compute (cpu/mem) went on high utilization. I only know vSphere HA when turned on, it applies to all VMs. We're tried to test vSphere HA settings one by one, but we end up rebooting the VM after transferred to another host. We don't know if we missed out some other settings, DRS is turned on. We're using vSphere 6.7 U3.
My apologies for the question, my client said, why its called high availability if the VM reboots, I know he's got a point but I can't explain it somehow properly.
He's comparing it to HyperV, that when there's a host failure, the VM will moved to another host without rebooting.
Thank you very much for sharing your information.
Kelvin
Lets say a host "dies" by losing power, its no longer running so any VMs that were running on it have also stopped. Therefore the VM has to power on, on another host. You cant vMotion a VM if a host is offline or partitioned, just like you couldnt transfer a file to a server if it was powered off or partitioned from the network.
For an explination of HA, i highly recommend Clustering Deep Dive pages 53 onwards, it has a thorough explination of how and why HA works
You can FT Protect VMs which will protect you against losing a host without causing the VM to be powered off.
Life migrating a VM from a failed host to another is like riding a dead horse, neither will work.
Option for such cases where downtime has to be minimized could be FT (Fault Tolerance), or some kind of guest OS clustering.
André
As above, if a host suddenly dies then the VMs running on it dies also. Unless of course you have those VMs configured with Fault Tolerance...
You might want to look at Proactive HA though: Configure Proactive HA
In terms of the cpu/memory question, you might want to look at Admission Control to ensure there is sufficient capacity in the event of a failure: vSphere HA Admission Control
So, If the host dies, VM dies, then VM migrate to another host, then reboots. The reboot requirement is to change the state/config of the VM (maybe on .vmx) from the dead host to another live host? Am I correct?
We're looking for a deeper explanation why the VM reboots on HA, we thought that there's a "vmotion" that can triggers the migration, why would vmotion do the trick.. I only know we can do vmotion when the hosts are up.
My apologies, cause we're having a hard time looking for answers like this in the internet. I appreciate for sharing your knowledge or experienced on this matter.
My colleague and I, will discuss to the client about Fault Tolerance since they have only 3 critical VMs.
Lets say a host "dies" by losing power, its no longer running so any VMs that were running on it have also stopped. Therefore the VM has to power on, on another host. You cant vMotion a VM if a host is offline or partitioned, just like you couldnt transfer a file to a server if it was powered off or partitioned from the network.
For an explination of HA, i highly recommend Clustering Deep Dive pages 53 onwards, it has a thorough explination of how and why HA works
You can FT Protect VMs which will protect you against losing a host without causing the VM to be powered off.
I get it now. I'm reading the ebook Deep Dive., and found what I'm looking for. Thank you for your time, I appreciate sharing your knowledge.