Changing an ESXi host's connection status in vCenter Server / unable to reconnect ESXi host back to vCenter Server
search cancel

Changing an ESXi host's connection status in vCenter Server / unable to reconnect ESXi host back to vCenter Server

book

Article ID: 303652

calendar_today

Updated On:

Products

VMware vSphere ESX 6.x VMware vSphere ESX 7.x VMware vSphere ESX 8.x VMware vCenter Server

Issue/Introduction

For troubleshooting and maintenance purposes, it may be necessary to change the connection status of an ESXi from within vCenter Server.

This article provides steps to disconnect an ESXi host, connect an ESXi and test reconnection of an ESXi host in vCenter Server.

Resolution

Testing reconnection of an ESXi to vCenter Server

To diagnose communication problems between an ESXi host and vCenter Server, Broadcom recommends that you disconnect the ESXi host and then reconnect it

To test / troubleshoot connection between an ESXi host and vCenter Server:

  1. Login to the vSphere Client

     Note: If your ESXi host is already disconnected proceed to step 5.

     2. Right click on the ESXi host in the Inventory

     3. Click "Disconnect"

     Note: A disconnect host task appears in the recent tasks pane

     4. Wait until the task status changes to complete

     5. Right click on the ESXi from the Inventory

     6. Under "Connection" option choose "Connect"

     Note: A reconnect host task appears in the recent tasks pane.

     7. Wait until the task status changes to complete.

     *********

  • If the host status remains unchanged, restart the host management agents.

     SSH to the ESXi host using username "root" & restart the 2 below management agents

      /etc/init.d/hostd restart
     /etc/init.d/vpxa restart

     or

          services.sh restart

For additional details: Restarting the Management agents in ESXi

     *********

  • If the host status remains unchanged, restart the vpxd service of the vCenter.

     SSH to the vCenter using username "root"

        service-control --restart vmware-vpxd

      or

     Login to VAMI (vCenter Server Appliance Management Interface) https://IP-FQDN:5480

     Under "Services" Tab choose the "VMware vCenter Server" service and restart it.