VMware Cloud Community
NYSDHCR
Enthusiast
Enthusiast

Changing the IP address of the Service Console in ESX

I need to change the IP address of the Service Console for one of my ESX 4.0 U1 hosts. Does the ESX host need to be removed from Virtual Center before I make this change? I will use the esxcfg-vswif -i x.x.x.x -n x.x.x.x vswif0 command.

Reply
0 Kudos
5 Replies
Troy_Clavell
Immortal
Immortal

I don't think you need to remove it from vCenter, but it won't hurt.  You probably will have to restart the vpx agent though

http://kb.vmware.com/kb/4309499

Reply
0 Kudos
JDLangdon
Expert
Expert

Something to keep in mind.  When I changed the IP addresses on my service consoles, for some reason editing the /etc/sysconfig/network gateway settings was not enough.  I had to change the settings on the ESX host using vCenter network configurations for the host.

NYSDHCR
Enthusiast
Enthusiast

The only IP I am changing is the host IP. The subnet, gateway, or the hostname is not changing.

Reply
0 Kudos
AndreTheGiant
Immortal
Immortal

A simple (but long) way without use the CLI is build a new temporally SC with a temp IP.

Login with vSphere to this new IP.

Change the first SC IP.

Login to this IP and remove the temp SC.

With latest version of ESX you can choose to change the IP also from the active SC (but if you make a mistake you will loose the connectivity).

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
bulletprooffool
Champion
Champion

I'd remove it from the VC, change the IP and re-add it.

You don;t need to move your VMs from the host, they should continue to run . . but this wouldn't hurt.

Ideally, what you'd do is put the host in Maintenance mode (removing all VMs etc) remove from VC, change details, re-add.

Good luck.

One day I will virtualise myself . . .
Reply
0 Kudos