vSAN remove host vpxa agent

/, Virtualization, vSAN/vSAN remove host vpxa agent

vSAN remove host vpxa agent

Today in my nested vSAN I had a dead ESXi host with a PSOD. Since I had some issues with one of my Storage disks, I think is the cause of this nested ESXi issue. I restore the nested VM with a Veeam Backup. Afterward, the ESXi host was not possible to connect to the vCenter and vSAN Cluster anymore.

vSAN-host01

When I try to rejoin the ESXi host I get an error message regarding vpxa user agent:”vpxuser already exists”.

This happens because of the ESXi restore and the information that vCenter has regarding the previous state of this host.

To double check the issues I check vpxa.cfg file to see if there were any inconsistency in the data that I could notice and double check the IP address (since VM was previously deployed as a template).

vpxa.cfg file is located in: /etc/vmware/vpxa/vpxa.cfg

All seems to be ok, so to fix this issue, we need to uninstall the vpxa agent from the ESX host and rejoin to the vCenter.

To do uninstall vpxa agent from ESXi we need to run the uninstaller file VMware-fdm-uninstall.sh that is located in opt/vmware/uninstallers/.

Follow this procedure:

After the vpxa agent is removed from the ESXi host and we can reboot the host and try to rejoin (not connect) to the vCenter again.

vSAN remove host vpxa agent

vSAN remove host vpxa agent

ESXi hos was rejoined to the vSAN Cluster, and now vSAN will rebuild the vSAN Cluster and HA.

vSAN remove host vpxa agent

Disks were also added to vSAN, and all is configured.

vSAN remove host vpxa agent

While I was fixing this ESXi host issue, VMs were still running, and there was no downtime to the vSAN Cluster since this vSAN configuration can tolerate one host failure.

vSAN remove host vpxa agent

Afterward, vSAN is working again with all hosts.

Note: There are some alarms in my vSAN, but those are normal since this is nested vSAN. So when we have health monitor enable, will get some warnings regarding our configuration.

Note: Share this article, if you think it is worth sharing.

©2018 ProVirtualzone. All Rights Reserved
By | 2018-03-16T19:06:31+02:00 March 15th, 2018|Backups, Virtualization, vSAN|0 Comments

About the Author:

I am over 20 years’ experience in the IT industry. Working with Virtualization for more than 10 years (mainly VMware). I am an MCP, VCP6.5-DCV, VMware vSAN Specialist, Veeam Vanguard 2018/2019, vExpert vSAN 2018/2019 and vExpert for the last 4 years. Specialties are Virtualization, Storage, and Virtual Backups. I am working for Elits a Swedish consulting company and allocated to a Swedish multinational networking and telecommunications company as a Teach Lead and acting as a Senior ICT Infrastructure Engineer. I am a blogger and owner of the blog ProVirtualzone.com

Leave a Reply

%d bloggers like this: