Tuesday, 15 September 2009

Moving ESX Service Console using CLI

Today a NIC in one of our ESX (3.5) Servers failed. Unfortunately, the NIC that failed was running a few Virtual Machines, and the Service Console (I know, I know...) Luckily (because I wouldn't have it any other way), the server had a DRAC card and we still had access to the console, so all was not lost.
We were able to move the Service Console to the other vSwitch using the following commands:

esxcfg-vswif -d vswif0
esxcfg-vswitch -D "Service Console" vSwitch0
esxcfg-vswif -A "Service Console" vSwitch1
esxcfg-vswif -a vswif0 -p "Service Console" -i 192.168.3.53 -n 255.255.255.0

Once we had restored access to the Service Console, we could move the VM's to the other vSwitch using the viclient.

Thanks to the following websites for guidence:
http://www.petri.co.il/forums/showthread.php?t=32229
http://vmware-land.com/esxcfg-help.html

5 comments:

Unknown said...

Thanks for the write up. You made a mistake in the command syntax. This line:

"esxcfg-vswif -A "Service Console" vSwitch1"

should actually be this:

"esxcfg-vswitch -A "Service Console" vSwitch1"

long distance movers chicago said...

I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well ..

Anonymous said...

I was recommended this blog via my cousin. I'm not positive whether this publish is written by means of him as nobody else know such exact about my problem. You are incredible! Thanks!

Here is my site ... minecraft for free

Anonymous said...

Hello, its good paragraph on the topic of media print, we all understand media is a fantastic source of data.


my web-site :: facebook credits

Anonymous said...

e cig forum, electronic cigarette reviews, e cigarette, smokeless cigarettes, e cigarettes, e cigarette