Managing VMkernel Modules
The esxcli system module and vicfg-module commands support setting and retrieving VMkernel module options.
vicfg-module and esxcli system module commands are implementations of the deprecated esxcfg-module service console command. The two commands support most of the options esxcfg-module supports. vicfg-module and esxcli system module are commonly used when VMware Technical Support, a Knowledge Base article, or VMware documentation instruct you to do so.
Managing Modules with esxcli system module
Not all VMkernel modules have settable module options. The following example illustrates how to examine and enable NetQueue VMkernel modules. Specify one of the connection options listed in Connection Options in place of <conn_options>.
To examine, enable, and set NetQueue VMkernel modules
1
esxcli <conn_options> system module list -module=s2io
The system returns the name, type, value, and description of the module.
2
esxcli <conn_options> system module list --enabled=true
esxcli <conn_options> system module list --loaded=true
3
esxcli <conn_options> system module set --module=s2io --enabled=true
4
esxcli system module parameters set --module s2io --parameter-string="rx_ring_num=8"
5
esxcli <conn_options> system module parameters list --module=s2io
Managing Modules with vicfg-module
Not all VMkernel modules have settable module options. The following example illustrates how the examine and enable NetQueue VMkernel modules. Specify one of the connection options listed in Connection Options in place of <conn_options>.
To examine and set NetQueue VMkernel modules
1
Run vicfg-module --list to list the modules on the host.
vicfg-module <conn_options> --list
2
Run vicfg-module --set-options with connection options, the option string to be passed to a module, and the module name. For example:
vicfg-module <conn_options> --set-options 'rx_ring_num=8' s2io
Configures a supported network interface to use NetQueue.
To retrieve the option string that is configured to be passed to a module when the module is loaded, run vicfg-module --get-options. This string is not necessarily the option string currently in use by the module.
vicfg-module <conn_options> --get-options s2io
Verifies that the NetQueue module is configured.