/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+01:00 March 15th, 2018|Backups Posts, VMware Posts, vSAN|0 Comments

About the Author:

I have over 20 years of experience in the IT industry. I have been working with Virtualization for more than 15 years (mainly VMware). I recently obtained certifications, including VCP DCV 2022, VCAP DCV Design 2023, and VCP Cloud 2023. Additionally, I have VCP6.5-DCV, VMware vSAN Specialist, vExpert vSAN, vExpert NSX, vExpert Cloud Provider for the last two years, and vExpert for the last 7 years and a old MCP. My specialties are Virtualization, Storage, and Virtual Backup. I am a Solutions Architect in the area VMware, Cloud and Backup / Storage. I am employed by ITQ, a VMware partner as a Senior Consultant. I am also a blogger and owner of the blog ProVirtualzone.com and recently book author.

Leave A Comment