Upgrade vNIC Hardware Workflow

I needed a way to upgrade the virtual network adapters to VMXNet 3 without changing the MAC address.

My first prototype was a PowerCLI script and after I had some success with that I converted it to a vOrchestrator workflow.

The workflow is pretty straight forward.

  1. Wait for the virtual machine to be powered off.
  2. Upgrade the nics to VMXNet3.
  3. Wait for the ReconfigureVM task to finish.

The real magic happens in the updateVNIC action:

Basically I loop through the nics and if i find one that needs to be changed i create a VcVirtualDeviceConfigSpec edit job that replaces the vNic with a Vmxnet3 nic and sets the mac addess to be the same as the old nic.

No guarantees that it will work for you or that VMware will support you if you have issues, but I have personally used it for 100’s of machines with very few issues.

Download the package here.

UPDATE 2012-11-19: Upgraded the workflow to include E1000e nics.

3 thoughts on “Upgrade vNIC Hardware Workflow

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">