wrote:
wrote:
vmotion need to be configured and datastore should be visible to both host.
Euuh, vMotion is not what helps with failover, that is vSphere HA, this is what you should configure. How it works and what you require is documented well: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.avail.doc/GUID-33A65FF7-DA22-4DC5-8B18-5A7F97CCA536.html
I would go even further, based on his statement about "... and I want full synchronize...", and suggest that that really suggests Fault Tolerance.
However, based on the context of the query and the OP's starting point, I would imagine that going as far as getting vSphere with sufficient licensing for HA, vMotion or even FT is going to be stretch. His system is likely going to be little more than two standalone hosts, so even the required type of storage might be stretch. So wouldn't it be more likely that the solution may lie within the guests he is using, like WSFC in Windows Server?