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 a VMkernel. Specify one of the connection options listed in Connection Options in place of <conn_options>.
To examine, enable, and set a VMkernel modules
1
esxcli <conn_options> system module list -module=module_name
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=module_name --enabled=true
4
esxcli system module parameters set --module module_name --parameter-string="parameter_string"
5
esxcli <conn_options> system module parameters list --module=module_name
Managing Modules with vicfg-module
Not all VMkernel modules have settable module options. The following example illustrates how the examine and enable a VMkernel modules. Specify one of the connection options listed in Connection Options in place of <conn_options>.
To examine and set a 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 'parameter_name=value' module_name
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 module_name
Verifies that a module is configured.