Solved

ESXi: upgrade e1000 to vmxnet3 in bulk (powershell)?

Posted on 2013-01-22
10
2,096 Views
Last Modified: 2013-01-24
Hi,

Is it possible to upgrade e1000 to vmxnet3 in bulk (powershell to multiple vm's)?

Thanks.
J.
0
Comment
Question by:janhoedt
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 38805812
It may be possible but a secondary issue may arise with the IP addresses.  Since you're placing a new nic into each guest there needs to be process to re-ip the nic with the same setting as the previous nic and I"m not sure that there is a simple way to do this.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38805838
In short, no.
As Paul says, you will have a brand new NIC in each of your hosts that will need configuring INSIDE the OS.

On a brighter note, performance will be MUCH better with the VMXNet3 when you have finished :D
0
 

Author Comment

by:janhoedt
ID: 38805944
Thanks, I know that. Therefore the question indeed how to "copy" nic-settings from old to new nic. F.e. add new nic disabled, then copy within windows the settings and enabling the new nic ....
0
 
LVL 118
ID: 38805973
what OS?

Windows 2008 R2 ?

this script will change the IP Address

Get-VM VMName | Get-VMGuestNetworkInterface -GuestUser Administrator -GuestPassword <password> -HostUser root -HostPassword <password> | Set-VMGuestNetworkInterface -IPPolicy Static -Ip <IPAddress> -Netmask 255.255.252.0 -Gateway <Gateway> -GuestUser Administrator -GuestPassword <password> -HostUser root -HostPassword <password> 

Open in new window

0
 

Author Comment

by:janhoedt
ID: 38806054
Mostly Windows 2008 R2 indeed, some Windows 2003 also.
So this could work in my scenario, only problem is vm's with 2 nics ...
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:janhoedt
ID: 38808876
Note: a company I know mentions "why do we need vmxnet3, bandwith now isn't heavily used at all,  so why the effort migrating to vmxnet3?
Indeed, what other advantages vmxnet gives versus e1000 and how can I explain/prove this in human understandable format?
0
 
LVL 118
ID: 38808880
E1000 is a legacy network adaptor, which should only be used for initial installation, it has a higher overhead on the host that the virtualised VMXNET3, and therefore is generally recommended to switch from e1000 to vmxnet3.

That's always been the recommendation.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38808889
Also the E1000 is prone to drop outs and the mysterious "Dissapearing" network. This is never the case with the VMXNET3 virtual NIC.
As hanccocka says, Always use the VMXNET3 in any OS that supports it.
0
 

Author Comment

by:janhoedt
ID: 38808897
Thanks, I'm already convinced but that won't convince "them" ....
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 38809049
Using VMXNET interface has always been the recommendation, since version 1.0!

Well just park it, if they have network issues, it's likely to be related to E1000.

Just make sure all templates are updated, and in the future they deploy on VMXNET3.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now