VMware Cloud Community
jcaswell
Contributor
Contributor

HELP! Steps for changing IP Address of vCenter server? Getting error adding hosts to vCenter now :(

I recently had a need to change the IP of my vCenter server, and I believe that since then, I'm unable to add any new hosts. When I attempt to add additional hosts to vCenter, I go through the wizard, enter the credentials, etc.... The add process starts, gets to about 82%, and then errors our with "Cannot install the vCenter agent service. Cannot upload agent". Any thoughts on why this is?

I'm assuming it's related to the IP change, but not entirely sure. The hosts that I'm unable to add were built from scratch (ESX 4 Update 1) after the vCenter IP changed, so I don't think it's an issue with DNS, etc.. on the hosts. DNS is in place and working correctly. I can ping the hosts (using hostname) from the vCenter server, and vice versa.

Something I noticed on the vCenter server, is that these files have the old vCenter IP in them:

- "C:\ProgramData\VMware\VMware VirtualCenter\proxy.xml"

- "C:\Program Files (x86)\VMware\Infrastructure\VirtualCenter Server\extensions\VirtualCenter\extension.xml"

I changed them to the new IP, but it worries me that there might be more files/settings that need to be manually modified. Does anyone have an idea of the steps required when re-IPing vCenter? I called VMware yesterday, and the person I spoke with said "You'll want to rebuild your vCenter server!" That's an absolutely unacceptable response, for something as simple as changing an IP.

Thoughts?

0 Kudos
2 Replies
Wimo
Hot Shot
Hot Shot

I think you're on the right track. We upgraded VC to newer hardware on another subnet a while back, and I remember having to edit that proxy.xml file (probably the other one too, don't remember). And there may have been something in the SQL database that needed to be changed - but, again, don't remember for sure, that might have been for something else. I should write things down...

If you're still having the issue, look at this file on the hosts: /etc/opt/vmware/vpxa/vpxa.cfg

0 Kudos
jcaswell
Contributor
Contributor

I modified those two .xml files, rebooted and was good to go.

Thanks.

0 Kudos