RSS Feed for This PostCurrent Article

esxcfg-nics & esxcfg-vswitch

One of my ESX Servers’ management NICs died today, right as I was to start upgrading to ESX 3.0.2. I don’t have the admin NICs in a redundant configuration yet, and it’s fairly inconvenient to lose management capabilities as you’re about to need VMotion.

Luckily[0] I had an extra, unused NIC, esxcfg-nics, and esxcfg-vswitch. With these commands you can display and alter the settings for the NICs and virtual switches from the console.

So, you find out what you have available with “esxcfg-nics -l”

esxcfg-nics

Then you look at the relationships between the virtual switches and the NICs using “esxcfg-vswitch -l”

esxcfg-vswitch

Since vmnic3 isn’t being used I ran:

esxcfg-vswitch --unlink=vmnic0 vSwitch0
esxcfg-vswitch --link=vmnic3 vSwitch0

And back up it came.

[0] Not too much luck, though, since I intentionally have a spare NIC in all the boxes, just in case of emergency.

>> Comments | ShareThis

Trackback URL

  1. 1 Trackback(s)

  2. Jun 18, 2008: 1001th Post : Bob Plankers, The Lone Sysadmin

Post a Comment

 

Please note that while in principle I don't mind promotion of a non-personal web site or blog in the fields below, any comments that are off-topic, derogatory, or spam-like will likely be removed at my discretion.

 

Close
Powered by ShareThis