VMware Explore happening NOW!

esxcfg-module – Managing Modules – VCDX Prep

Like the last several posts, this one hails from the storage section of the Enterprise Admin Blueprint. The Enterprise Admin exam is one of the several requirements to becoming a VCDX. As I go down this path, I hope to share with you some of my exam prep in the hope that it will help you as well.

Seems this is becoming part of a series. Like the last few posts, this one was also produced from objective 1.1 of the VCDX Blueprint, and is part of my exam prep.

Task:

esxcfg-module – Unload/Load modules & check module status.

The Command:

[root@ProfessionalVMware root]# esxcfg-module
Usage: esxcfg-module <options> <module>
   -g|–get-options   Get the options for a given module and whether it is loaded on boot.
   -s|–set-options   Set the options for a given module.
                      WARNING this may be overwritten by per device options.
   -e|–enable        Enable a given module, indicating it should be loaded on boot.
   -d|–disable       Disable a given module, indicating it should not be loaded on boot.
   -q|–query         Query enabled modules options.
   -l|–list          List all modules and whether they are enabled.
   -h|–help          Show this message.

In this case I’ve only included the relevant output.

Checking Module Status:

[root@ProfessionalVMware root]# esxcfg-module -l
Device Driver Modules
Module         Enabled Loaded 
vmklinux       true    true   
mptscsi_2xx    true    true   
e1000          true    true   
lvmdriver      true    true   
vmfs3          true    true   
etherswitch    true    true   
shaper         true    true   
tcpip          true    true   
cosShadow      true    true   
migration      true    true   
nfsclient      true    true   
deltadisk      true    true   
vmfs2          true    true   

Loading/Unloading:

[root@ProfessionalVMware root]# esxcfg-module –disable vmfs2
[root@ProfessionalVMware root]# esxcfg-module –list
Device Driver Modules
Module         Enabled Loaded 
vmklinux       true    true   
mptscsi_2xx    true    true   
e1000          true    true   
lvmdriver      true    true   
vmfs3          true    true   
etherswitch    true    true   
shaper         true    true   
tcpip          true    true   
cosShadow      true    true   
migration      true    true   
nfsclient      true    true   
deltadisk      true    true   
vmfs2          false   true   
[root@ProfessionalVMware root]# esxcfg-module –enable vmfs2
[root@ProfessionalVMware root]# esxcfg-module –list
Device Driver Modules
Module         Enabled Loaded 
vmklinux       true    true   
mptscsi_2xx    true    true   
e1000          true    true   
lvmdriver      true    true   
vmfs3          true    true   
etherswitch    true    true   
shaper         true    true   
tcpip          true    true   
cosShadow      true    true   
migration      true    true   
nfsclient      true    true   
deltadisk      true    true   
vmfs2          true    true   

Thanks for tuning in.