First of all it is important to understand the reason why the hosts are disconnected.
Were they connected before, and working properly?
What happens if you try to connect the hosts from the vCenter Server GUI?
Did you install updates on the hosts ?
Did you already try to restart Management Agents on the hosts?
Thank you for your answer.
As I stated in the first post, yes, it was connected to the vCenter for two months without any problem.
If I try to connect the ESXi host back from the vCenter it connects and it disconnects after 2-5 mins.
The ESXi host did not receive any update after the initial addition to the vCenter.
No, I did not try to restart the management agents in this host that is having this problems. I will do so
If you need any other information, please, let me know!
Going to have to look at vpxa.log on the host(s) to see why it's disconnecting, and possibly hostd.log as well.
Please upload logs as suggested in previous comment. in addition have a look at VMware KB#1003409
Validate that each troubleshooting step below is true for your environment. Each step provides instructions or a link to a document to eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. After each step, try to connect to vCenter Server. Do not skip a step.
Follow the troubleshooting checklist in the KB under heading.
VMware ESX/ESXi host that is in a Not Responding state
the problem is not that I cannot connect the ESXi host. I can connect it to the vCenter, it connects, all VMs are connected everything runs fine for 2 minutes, but suddenly after 2 minutes, it gets disconnected from the vCenter. Event "Host is not responding" appears and all the VMs are disconnected one by one... The host appears greyed out then in the vCenter.
I can reconnect again but the same happens, it connects, and after 2 minutes it disconnects.
I've been checking vpxa.log and hostd.log and there is nothing that sheds any light about the reason of the "Host is not responding message"...
Thank you everybody for your help!
Please read the mentioned troubleshooting checklist carefully.
Point# 3 mentions three scenarios where esxi host disconnect from vcenter after its added successfully.
I will try to help you with guessing...
Have you checked "Time Configuration" for that host?
Verified if restarting the ESXi Management Agents resolves the issue
Run these commands:
To restart all management agents on the host, run the command:
After restarting management agents ESXi has connected to vCenter normally.
Hope this may helpful to you.
First of all, thank you everyone for your comments.
ranchuab I've performed "services.sh restart" in the ESXi host, then, in the vCenter where the ESXi host appears as "hostname.domain.com" (Not responding) did Right mouse + Connect option.
Again, happened the same as before... If I go to "Tasks & Events" in that ESXi host in the vCenter I see the Task: Reconnect host, then all the VMs of the ESXi host appear as connected and 2 mins after, "Host is not responding" and all the VMs disconnected...
I've already asked but nobody said that it cannot be the case so I'm asking again: Could it be the problem that the ESXi host has version 6.0.0, 5050593 and the vCenter is in version 6.0.0, 3634793?
If not, I'm still open to any ideas you may have... As I've also said, this host has been connected to the vCenter for more than 2 months without any problem...
Thanks in advance for your help!
Bump, maybe somebody comes with a new idea on how to solve the problem
A couple of us have asked you to upload logs which you haven't done. Without seeing what is or is not being logged when this occurs is the only real way to know how to proceed.
This is going to be a dump question but have you confirmed that there are no IP conflicts in the environment with the management IP of the affected ESXi host. Your ESXi host is ESXi 6.0 U3 while vCenter is 6.0U2. This is compatible though not recommended. vCenter should always run the same or higher version than the ESXi.