VMware Cloud Community
xevrebyc
Contributor
Contributor
Jump to solution

VCSA IP address change. Hosts still receive old IP after removing and re-adding

Having problems with hosts disconnecting every 60 seconds after changing the VCSA IP address and DNS. 

VCSA is 6.7

     Old IP: 10.10.2.10

     New IP: 10.1.4.10

Hosts are 6.5

What I did:

  1. Changed VCSA IP from VAMI. (
  2. Changed DNS to reflect the change.
  3. Rebooted the VCSA
    • At this point all 3 host were showing as disconnected.
  4. I reconnected the hosts.
    • They all reconnected but were disconnecting and reconnecting every ~60 seconds.
  5. I tried to edit /etc/vmware/vpxa/vpxa.cfg
    • chmod 744 /etc/vmware/vpxa/vpxa.cfg
    • changed <serverIp>10.10.2.10</serverIp> to <serverIp>10.1.4.10</serverIp>
    • <prerveServerIp>true</preserveServerIp>
    • Restart the agent and serverIp is reverted back to 10.10.2.10
  6. This time I changed the IP and hostname of the host. Also made the DNS changes.
    • Disconnected then Removed from Inventory.
    • Checked the host to confirm no reference to 10.10.2.10 and serverIp was blank
    • Added the host to from the webclient and low and behold...wait for it...serverIp = 10.10.2.10

Hoping someone can tell me where the reference to 10.10.2.10 is coming from. I cannot find it anywhere on VCSA

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
Vijay2027
Expert
Expert
Jump to solution

Navigate to vCenter server icon --> configure --> General and click on Edit and verify runtime settings:

pastedImage_0.png

Navigate to vCenter server icon --> configure --> Advanced settings and verify the below counters:

config.vpxd.instanceName

VirtualCenter.AutoManagedIPV4

Also verify cat /etc/hosts in vcsa.

View solution in original post

Reply
0 Kudos
3 Replies
Vijay2027
Expert
Expert
Jump to solution

Navigate to vCenter server icon --> configure --> General and click on Edit and verify runtime settings:

pastedImage_0.png

Navigate to vCenter server icon --> configure --> Advanced settings and verify the below counters:

config.vpxd.instanceName

VirtualCenter.AutoManagedIPV4

Also verify cat /etc/hosts in vcsa.

Reply
0 Kudos
BenediktFrenzel
VMware Employee
VMware Employee
Jump to solution

Also check the vCenter Server Database for the Management_IP in the table vpx_host.
If you are not sure how to safely work in the vCenter DB please open a Support Request with GSS.

Support Phone Numbers USA - VMware

And as always. Take a backup before changing anything.

-- Ben

Reply
0 Kudos
xevrebyc
Contributor
Contributor
Jump to solution

I ended up finding this while waiting for a tech from vmware to respond to my support ticket.  This could only be edited from the flash client.

Thanks!

Reply
0 Kudos