Member-only story

ESXi 7 Hosts flapping after vCenter IP Change

Krisaggio
2 min readFeb 8, 2023

--

After have change the vCenter IP the ESXi connected are simultaneously flapping.

On the ESXi you find a waring like:
Agent can’t send heartbeats: Host is down

Following the KB https://kb.vmware.com/s/article/1001493 did not work as the values where constantly overwritten, with more google Kung-fu I found another article where gather some inspirations https://kb.vmware.com/s/article/1006768 and it state:

The Virtual Center Server’s database retains the old IP address and over-writes the IP change in the vpxa.cfg file on the ESXi host.

So I found my way to check and manually update those records, and it worked fine here the steps I followed:

1. Power off vCenter 7.0.3 from VAMI inteface (Actions -> Shutdown)

2. Take a snapshot (Safety first)

3. Power back on the vCenter

4. SSH to the vCenter instance and access the shell (make sure SSH is enabled from the VAMI Access -> SSH Login)

Command> shell
Shell access is granted to root

5. Stop vCenter service

service-control - stop vpxd

6. Login into the DB

/opt/vmware/vpostgres/current/bin/psql -d…

--

--

No responses yet