Welcome to the blog of mechanised.com

This blog is mainly a technical repository of information on Virtualisation tools and management for our hosting service.

Also for HP's Bladesystem that we use at both our datacentres.

Other articles are also included on .Net development and MS SQL Server as well as other interesting things we come across.

Tuesday, 18 December 2012

Renaming vNICs in vSphere

It's a right pain when you change NICs within vSphere as it's numbering system messes up your carefully planned out system, so to rename them back to how you'd like you need to edit the configuration file on the host itself.

Put host into maintenance mode

SSH into host

Make a copy of the original file (cp /etc/vmware/esx.conf /etc/vmware/esx.conf.old)

Edit /etc/vmware/esx.conf

Find all the vmkname entries and rename them as you want, same for the pnic entries etc. depending on how complex your vSwitch setup is there may be lots more.