6.0

Table Of Contents
VMware, Inc. 25
Chapter 2 Managing Hosts
vicfg-moduleandesxcli system modulecommandsareimplementationsofthedeprecated
esxcfg-moduleserviceconsolecommand.Thetwocommandssupportmostoftheoptionsesxcfg-module
supports.vicfg-moduleandesxcli system modulearecommonlyusedwhenVMwareTechnicalSupport,
aKnowledgeBasearticle,orVMwaredocumentationinstructyoutodoso.
Managing Modules with esxcli system module
NotallVMkernelmoduleshavesettablemoduleoptions.Thefollowingexampleillustrateshowtoexamine
andenableaVMkernelmodule.Specifyoneoftheconnectionoptionslistedin“ConnectionOptionsforvCLI
HostManagementCommands”onpage 18inplaceof<conn_options>.
To examine, enable, and set a VMkernel modules
1Listinformationaboutthemodule.
esxcli <conn_options> system module list -module=module_name
Thesystemreturnsthename,type,value,anddescriptionofthemodule.
2 (Optional)Listallenabledorloadedmodules.
esxcli <conn_options> system module list --enabled=true
esxcli <conn_options> system module list --loaded=true
3Enablethemodel.
esxcli <conn_options> system module set --module=module_name --enabled=true
4Settheparameter.
esxcli system module parameters set --module module_name
--parameter-string="parameter_string"
5Verifythatthemoduleisconfigured.
esxcli <conn_options> system module parameters list --module=module_name
Managing Modules with vicfg-module
NotallVMkernelmoduleshavesettablemoduleoptions.Thefollowingexampleillustrateshowtheexamine
andenableaVMkernelmodules.Specifyoneoftheconnectionoptionslistedin“ConnectionOptionsforvCLI
HostManagementCommands”onpage 18inplaceof<conn_options>.
To examine and set a VMkernel modules
1Runvicfg-module --listtolistthemodulesonthehost.
vicfg-module <conn_options> --list
2Runvicfg-module --set-optionswithconnectionoptions,theoptionstringtobepassedtoamodule,
andthemodulename.Forexample:
vicfg-module <conn_options> --set-options '<parameter_name>=<value>' <module_name>
Toretrievetheoptionstringthatisconfiguredtobepassedtoamodulewhenthemoduleisloaded,run
vicfg-module --get-options.Thisstringisnotnecessarilytheoptionstringcurrentlyinusebythe
module.
vicfg-module <conn_options> --get-options module_name
Verifiesthatamoduleisconfigured.
Using vicfg-authconfig for Active Directory Configuration
ESXicanbeintegratedwithActiveDirectory.ActiveDirectoryprovidesauthenticationforalllocalservices
andforremoteaccessthroughthevSphereWebServicesSDK,vSphereWebClient,PowerCLI,andvSphere
CLI.YoucanconfigureActiveDirectorysettingswiththevSphereWebClient,asdiscussedinthevCenter
ServerandHost
Managementdocumentation,orusevicfg-autconfig.