Find the Driver modules in VMware ESXi and ESX VMkernel

Some times we need to find, what are the driver modules loaded in the VMkernel, for example the ethernet and fiber channel HBA adapters driver modules. Some times we need to find the driver version, features and capabilities of the driver and its associated device. And many times we need set or change some advance parameters like

– Queue Depth for QLogic and Emulex HBAs

– Flow Control in network interface

Usage: esxcfg-module  <options>  <module>

-g         Get the options for a given module and whether it is loaded on boot.

-s         Set the options for a given module.                      

-e         Enable a given module, indicating it should be loaded on boot.
-d        Disable a given module, indicating it should not be loaded on boot.
-q        Query enabled modules options.

-u        Unload a module.

-l         List all loaded modules.
-I         Show Module Info.

 

1, Listing all modules on an ESX/ESXi 3.x, 4.x and 5.x:

To list all the modules currently loaded on an ESX/ESXi host:

esxcfg-module -l | grep <module name>

or simply

esxcfg-module -l | less (you can scroll up and down)

OR
vmkload_mod  -l | grep <module name>

or

vmkload_mod -l | less

 

2, Query the system for the modules to load at boot. this will show the corresponding driver is configured to load during the boot of VMkernel

esxcfg-module -q | less

 

3, Listing all available options for a specific module on an ESX/ESXi host 

vmkload_mod –showinfo <module name>

 

 

REFERENCES

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1267

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1013413

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1017588

http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vcli.migration.doc_50%2Fcos_upgrade_technote.1.9.html

Advertisements

About GK_RAJ

An enthusiastic IT person, with an intense passion towards Datacenter technologies. I am a VMware vExpert Title holder and working as a Technical Consultant, in Qatar. I am exposed to VMware vSphere, Storage, Bladecenters, Datacenter operations, Symantec Backup, Deduplication technologies and carry rich and diversified experience in these domains. I specialize in Designing & Consulting on VMware VSphere, the integration of Storage and Network Stacks to VSphere. With my experience, I help Organizations/Enterprises to achieve their CAPEX & OPEX savings, develop DR and BCP strategies, Consolidation services with Virtualization using VSphere, and prepare them to move to Cloud. In the meantime, I would like to share my knowledge and do a good contribution to the community. I am an Indian citizen, and have a Engineering degree in Electronics and Communication. I have certified in VCAP5-DCD, VCP-Cloud, VCP 4 & 5, MCITP, MCSE.

Posted on July 21, 2012, in ESX, ESXi, VMware. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Dan Gorman's Technology News Aggregation

My Daily Readings from Zite

Virtual Reality

Lets dive into world of virtualization

VMware Professional Services

VMware Professional Services

Brad Hedlund

stuff and nonsense

VCDX56

A blog focusing on day 2 day virtualization stuff

UCSguru.com

Every Cloud Has a Tin Lining.

pibytes

Experience the Datacenter Technologies

boche.net - VMware vEvangelist

Experience the Datacenter Technologies

blog.scottlowe.org

The weblog of an IT pro specializing in virtualization, networking, cloud, servers, & Macs

Eric Sloof - NTPRO.NL

Experience the Datacenter Technologies

Technodrone

Experience the Datacenter Technologies

Welcome to vSphere-land!

your ultimate VMware information destination

Michelle Laverick...

Laverick by Name, Maverick by Nature...

CloudXC

By Josh Odgers - VCDX#90

Long White Virtual Clouds

all things vmware, cloud and virtualizing business critical applications

Virtual Geek

Experience the Datacenter Technologies

Yellow Bricks

by Duncan Epping

%d bloggers like this: