Changing Service Console IP Address in ESX 3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Changing Service Console IP Address in ESX 3.

5
Actually this is not that difficult, but remember you will require console access to the server.
Be sure to put the machine in Maintenance Mode then Disconnect it from Virtual Center.
Then connect to the console of the ESX host;
1. First we need to remove the old IP, the easiest way is to delete the vswif interface
o esxcfg-vswif -d vswif0
replace vswif0 with the interface youd like to remove
2. Then we need to create a new vswif interface with our new IP address
o esxcfg-vswif -a vswif0 -p Service\ Console -i 10.1.1.1 -n 255.255.255.0 -b
10.1.1.255
replace vswif0 with the interface youd like to use
replace Service\ Console with the name of your Service Console
portgroup (this is the default)
-i reflects your new IP
-n reflects your subnet
-b reflects your broadcast
3. Now we need to update our default gateway
o This is a simple change to the /etc/sysconfig/network file
4. One last thing youll want to do after changing your gateway is reset the vswif
interface, this will ensure it is connected as well as generate the new default gateway.
o esxcfg-vswif -s vswif0 (this will disable the vswif0 interface)
o esxcfg-vswif -e vswif0 (this will enable the vswif0 interface)
Thats it. Now do NOT forget to update DNS and your HOSTS files, then I would suggest
doing a ipconfig /flushdns on your VirtualCenter server before you attempt to re-connect the
Host in VirtualCenter.
Interesting news If you change your Service Console IP and your a host managed by
VirtualCenter, SVMotion could stop working. The resolution I found was to put your
host(s) into maintenance mode, disconnect, remove and re-add them. This will re-install
the VC Agent and reconnect verifying the new IP, and SVMotion will work
again. Duncan Epping over at yellow-bricks.com has also seen this and has a similar
resolution listed on his website (http://www.yellow-bricks.com/2008/09/29/storage-
vmotion-fails-after-service-console-ip-change/), it also includes a change to the VC
database, but we both did not need this step for it to work.

Created on September 12, 2008 by Rick Scherer

You might also like