Link to home
Start Free TrialLog in
Avatar of BigmacMc
BigmacMc

asked on

Script to change receive buffer settings on ESX virtual network adapter

I have a customer that needs to change the receiver buffer settings on perhaps 100's of VM's virtual network adapters.  The VM's are all Wintel servers.  Is there a way of scripting this perhaps using a FOR command with an input file with the list of servers.  The idea is the change buffer count from 512 to 1024.  I believe these are E1000's virtual adapters.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

just a quick tip, I would recommend the use of the E1000 network adaptor in the virtual machine, because of it's performance, overhead on the hypervisor, and this network is generally only used because it has support built into most operating systems, before you finally build a production VM using the superior VMXNET3 network interface, which you must have VMware Tools installed to support, because tools contains the drivers.

So I would recommend replacing the E1000 with the VMXNET3.
Avatar of BigmacMc
BigmacMc

ASKER

This customer literally has thousands of VM's.  While I agree with you, the type of change you're suggesting sounds like a project for a later time.

In the short term I'm still looking for a way to change parameters on virtual adapters without having to visit each VM.
Yes...these are all running Windows Server of various versions; W2K3, W2K8
Powerschell, Vbs scripts, registry changes should be able to complete this change. It's inside the VM, so a Windows OS function, rather than specific to VMware.

Have you checked the the variable is supported by the OS driver?
According to the network guys it is.  They've been making the changes manually, one machine at a time.  I want to automate this if possible.  Have you any examples?
No...You're indicating the change can be made via a Registry key setting?
what changes have they been making and where, in the configuration of the driver?
ASKER CERTIFIED SOLUTION
Avatar of BigmacMc
BigmacMc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Did not follow-up. We ran out of time, the changes were made manually