I have a scenario.
I have read that when a host disconnects from Vcenter the Vcenter instructs master HA agent to unprotect virtual machines running on the disconnected host.
1) I tried to test it. I stopped hostd service on host. The host got disconnected from vCenter. However the virtual Machines running on the host remained still protected and when I rebooted the host it restarted successfully on another host as per HA.
2) Scenario Second: I stopped hostd service on host. The host got disconnected from vCenter. I tried to manually connect Host to vcenter(it failed which was obvious). But this time the virtual machine running on this host went unprotected and when I rebooted the host it got powered off on the same host.
Can anyone please help me know that why virtual machine does not gets unprotected in first case (as per concept it should) and why it gets unprotected in second case.