ESXi troubleshooting tip: how to re-install the vSphere HA agent manually

Sometimes the agent in your vSphere environment may get screwed up and have trouble reporting into the vCenter environment. The cleanest method to fix this is to manually re-install the HA agent.

To do:

  1. Right-click on the vSphere host and click on Disconnect to disconnect it from the vCenter Server.
  2. log in to your vSphere host using SSH client like putty.
  3. Logon direct to the host via the vSphere client and go to Local Users & Groups and then Users.
  4. Remove the vpxuser user.
  5. Remove the vpxa agent from your vSphere host:
    chmod +x /opt/vmware/uninstallers/VMware-fdm-uninstall.sh 
    cd /opt/vmware/uninstallers/
    ./VMware-fdm-uninstall.sh
    
  6. Reconnect your vSphere host in vCenter Server. Will find The vpxauser will be created again automatically and happy days again

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s