Storage adapter rescan fails on one node in the cluster
search cancel

Storage adapter rescan fails on one node in the cluster

book

Article ID: 410612

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptom:

Rescanning Storage adapter fails from the vCenter UI on one/more ESXi hosts

Error: An error occurred while communicating with the remote host.

vCenter task info:

Environment

VMware vSphere ESXi 7.x

VMware vSphere ESXi 8.x

Cause

Communication issue between vCenter and affected Host(s).

Resolution

The primary cause of this issue is a communication error between the ESXi host and the vCenter Server.

To mitigate the issue, please follow these steps: 

  1. Restart the management agents (vpxa & hostd): (⚠️Refer to the additional information before proceeding)

     /etc/init.d/hostd restart /etc/init.d/vpxa restart
  2. If the above does not resolve the issue, restart all management agents on the host:
    ⚠️ Caution: Do not run this command if NSX is configured in the environment. 

    services.sh restart

 If one or more of the errors outlined above still occur, consider rebooting the Host by using the Host Client

  • It is recommended to put the Host in Maintenance Mode for the reboot.
    VMs need to be shutdown or migrated off before rebooting the Host, otherwise they will go offline (if running)

Additional Information

Warning:
  • Do not use services.sh restart command on ESXi hosts running vSAN.
  • Do not use services.sh restart command if LACP is in use.
  • Do not use services.sh restart command if NSX is configured in the environment.
  • Do not use services.sh restart command If using shared graphics in a View environment (VGPU, vDGA, vSGA).
  • Restarting the host's management agents may impact currently running tasks, including impact on the guest virtual machines on the host.

Reference: Restarting Management agents