vMotion not showing available hosts

yoha
yoha used Ask the Experts™
on
I have set up the two ESXi(6.7) hosts I a cluster and enable HA. I am currently running 3 VM's in one host-1 (One DC, File server & VCSA(Linux) ).
I have created a shared datastore for VM's.

First, MY all 3 VM's was running on HOST-1.In order to test HA, I migrated the VCSA to HOST-2.Then I shout down the Host-1.
Remaining two VM's successfully restarted in HOST-2.

Then I shut down the HOST-2 to test the HA and didn't restart the 3 VM's in host one.
After power on the Host-2, I manually power on the three VM's.
Then tried to migrate the VM's back to host-1 but it only shows host-2.

I am not sure how to troubleshoot this issue
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
HA will only restart VMs, with an uncontrolled shutdown, this means just pulling the power cable out of a host, not Shutting it down manually.

Do you have a license for vMotion ?

Have you enabled vMotion ?

Have you created a vMotion network ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
You need to re-check your HA Network, e.g. ping all of the hosts, check hostnames, check DNS, check gateway.

Troubleshoot.

You will also need to use vmkping, to test if each host can reach each other's vMotion VMKernel Portgroup, and also send packets via the correct interface.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Thank you, Is it safe to restart the VCSA on the second host during the failover.

Yes. it's safe

It should not get corrupted, but any VM going off, in an uncontrolled shutdown issues could happen.

Author

Commented:
Thanks for your help , after restarting the host-1 fixed the issue

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial