Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Configuring advanced options for ESXi/ESX (1038578)

Last Updated: 3/20/2024Categories: How toTotal Views: 212538Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

14 like this article

Subscribe to get an email
newsletter with new updates

14 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Purpose

VMware ESXi and ESX provide advanced configuration options that affect the behavior of various components. This article provides steps to review and set new advanced configuration options using several methods. VMware recommends that you set these configuration options under the direction of VMware Technical Support or a VMware Knowledge Base article.

Numeric options have limited ranges (for example, 0-10). String options accept any value. Option values are not checked for validity beyond being in the proper range. Confirm all changes before applying them.

Caution: Some configuration options take effect immediately, whereas others require a reboot before taking effect. The impact of changing specific options is outside the scope of this article.

Also see: New Kernel options available on ESXi 7.0

Resolution

Advanced configuration settings can be reviewed and modified on an ESXi/ESX host using the vSphere Web Client, vSphere Client, PowerCLI, Command-Line Interface, or local console.

All options are grouped into sections. A given method may visually group the sections or separate the section and option names using a forward slash or period. Options are usually documented using the form SectionName.OptionName.

Setting advanced configuration options using the vSphere Web Client for ESXi 5.1/5.5/6.x

The vSphere Web Client lists advanced configuration options

To set advanced configuration settings using the vSphere Web Client:

Connect to the vCenter Server using the vSphere Web Client.

Select an ESXi host in the inventory.

Click the Manage tab.

Click the Settings sub-tab.

Under the System heading, click Advanced System Settings. Settings are listed alphabetically by name similar to SectionName.OptionName.

(Optional) Click in the Filter box and search for an setting name.

Select the setting by name from the list.

Click the Edit pencil icon.

Change the configuration option to the desired new value.

Click OK to accept the changes.

Note: If an out-of-range value is specified, the vSphere Web Client indicates this with a red highlight around the new value.

Setting advanced configuration options using the vSphere Client for ESXi/ESX 3.0. 4.x, 5.x and 6.x

The vSphere Client lists configuration options grouped by sections on the left. The options list is not sorted.

To set advanced configuration options using the vSphere Client:

Connect to the vCenter Server or the ESXi/ESX host using the vSphere Client.

Select the ESXi/ESX host in the Inventory.

Click the Configuration tab.

Under the Software heading, click Advanced Settings.

Select the section on the left corresponding the option's section name.

Locate the option name in the list on the right, these names are usually similar to SectionName.OptionName.

Specify a new value for setting.

Click OK to accept the changes.

Note: If an out-of-range value is specified, the vSphere Client reports the error: The value entered is not valid. Enter another value.

Setting advanced configuration options using the vSphere PowerCLI

The VMware vSphere PowerCLI is a powerful command-line tool used to automate aspects of vSphere management. PowerCLI is distributed as a Windows PowerShell snapin. Commands can be run directly against an ESXi/ESX host, or target any ESXi/ESX host that vCenter Server manages. Section and option names are separated by a period.

For more information on usage, see the vSphere PowerCLI documentation.

To set advanced configuration options using the vSphere PowerCLI:

Open a command prompt at the location where vSphere PowerCLI is installed.

Connect to the ESXi/ESX host using the command:

Connect-VIServer ESXHostnameOrIP

Check the current value of an option using the Get-VMHostAdvancedConfiguration command:

Get-VMHostAdvancedConfiguration -Name "SectionName.OptionName"

For example:

Name Value
---- -----
SectionName.OptionName CurrentValue

Specify a new value for an option using the Set-VMHostAdvancedConfiguration command:

Set-VMHostAdvancedConfiguration -Name "SectionName.OptionName" -Value "NewValue"

Note: If an out-of-range value is specified, the command fails with the fault: A specified parameter was not correct.

Setting advanced configuration options using esxcli for ESXi 5.x and 6.x

The VMware vSphere ESX Command-Line Interface (esxcli) is use to run common system administration commands against ESXi hosts from any client with network access to those systems, or from the local ESXi host console. To set advanced configuration options using esxcli:

Open a console at the location where esxcli is installed. For more information, see the VMware vSphere Command Line Interface documentation.

Check the current value of an option using the esxcli command:

For runtime options:

esxcli system settings advanced list -o "/SectionName/OptionName"

For boot-time options in the VMkernel.boot.* namespace:

esxcli system settings kernel list -o "OptionName"

You see output similar to:

Path: /SectionName/OptionName
Type: integer
Int Value: n
Default Int Value: 5
Min Value: 0
Max Value: 10
String Value:
Default String Value:
Valid Characters:
Description: Description of OptionName

Specify a new value for an option using the esxcli command:

For runtime options:

esxcli system settings advanced set -o "/SectionName/OptionName" [--int-value|--string-value] "NewValue"

For boot-time options in the VMkernel.boot.* namespace:

esxcli system settings kernel set -o "OptionName" [--int-value|--string-value] "NewValue"

Note: If an out-of-range value is specified, the command fails with the fault: Sysinfo error on operation returned status : Bad parameter.

Note: In vSphere 5.5, you must reboot the host for the VMkernel.boot configuration changes to take effect.

Setting advanced configuration options using the vSphere Command-Line Interface in ESXi/ESX 3.x and 4.x

The VMware vSphere Command-Line Interface (vCLI) is used to run common system administration commands against ESXi/ESX hosts from any client with network access to those systems. Commands can be run directly against an ESXi/ESX host, or target any ESXi/ESX host that vCenter Server manages. Section and option names are separated by a period.

For more information on usage, see the vSphere Command-Line Interface Documentation.

To set advanced configuration options using the vCLI:

Open a command prompt at the location where the vCLI is installed.

Check the current value of an option using the vicfg-advcfg.pl command:

For runtime options:

vicfg-advcfg.pl <connection options> --get SectionName.OptionName

For boot-time options in the VMkernel.boot.* namespace:

vicfg-advcfg.pl <connection options> --get-kernel OptionName

You see output similar to:

Value of SectionName.OptionName is X

Set a new value for an option using the vicfg-advcfg.pl command:

For runtime options:

vicfg-advcfg.pl <connection options> --set "NewValue" SectionName.OptionName

For boot-time options in the VMkernel.boot.* namespace:

vicfg-advcfg.pl <connection options> --set-kernel "NewValue" OptionName

Note: If an out-of-range value is specified, the command fails with the fault: A specified parameter was not correct.

Setting advanced configuration options using the local console in ESXi/ESX 3.x and 4.x

The local console of the ESXi/ESX host can be used to run common system administration commands if network connectivity is not available. The other methods are preferred. Section and option names are separated by a forward slash.

To set advanced configuration options using the local console:

Open a console to the ESXi or ESX host. For more information, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807) or Using Tech Support Mode in ESXi 4.1 (1017910).

Check the current value of an option using the esxcfg-advcfg command:

For runtime options:

esxcfg-advcfg --get /SectionName/OptionName

For boot-time options in the VMkernel.boot.* namespace:

esxcfg-advcfg --get-kernel OptionName

For example:

Value of SectionName.OptionName is X

Set a new value for an option using the esxcfg-advcfg command:

For runtime options:

esxcfg-advcfg --set "NewValue" /SectionName/OptionName

For boot-time options in the VMkernel.boot.* namespace:

esxcfg-advcfg --set-kernel "NewValue" OptionName

Note: If an out-of-range value is specified, the command fails with the error: A specified parameter was not correct.

Related Information

Unable to connect to an ESX host using Secure Shell (SSH)
Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.x
Como configurar opções avançadas para o ESX/ESXi
Configurar opciones avanzadas para ESX/ESXi
ESX/ESXi の詳細オプションの構成
配置 ESXi/ESX 的高级选项

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Support Assistant