WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / Automation / ESXi Advanced & Kernel Settings Reference

ESXi Advanced & Kernel Settings Reference

12.13.2022 by William Lam // 3 Comments

Every time I need to recall or reference a specific ESXi Advanced or Kernel Setting for a customer or field inquiry, I typically need to look at a live ESXi host to see whether a given setting is defined for that version of ESXi and also how to access and/or update the settings. Depending on the interface (vSphere API, vSphere UI, ESXCLI, etc.) that you are using, you may only be able to see a subset of these properties.

For example, some ESXi Advanced Settings are only available using the vSphere API/UI while others are available in both the vSphere API/UI and ESXCLI, with the latter being a common utility for customers to view or update these settings. Similarly, for ESXi Kernel Settings, not only are there new options that are introduced with each ESXi release, but being able to easily check the default values and minimums and maximums can also be useful. I should also mention using the vSphere API/UI, you can also accessed the ESXi Kernel Settings which are prefixed with VMkernel.

As a huge VMware Automation person, I was surprised that I had not thought about creating a reference for the ESXi Advanced and Kernel Settings for recent ESXi releases? I figure this would benefit more than just myself and I have put together the following Github repo: https://github.com/lamw/esxi-advanced-and-kernel-settings where you can see all the default ESXi Advanced and Kernel Settings for ESXi releases across 6.0, 6.5, 7.0 and 8.0.


For those interested, this was generated using some PowerCLI automation and below are the two snippets for pulling the ESXi Advanced Settings (supported and runtime values) using the vSphere API and the ESXi Kernel Settings, which I used the ESXCLI interface that is exposed through the PowerCLI Get-EsxCli cmdlet.

Note: If you are accessing advanced or kernel settings using vSphere API/UI, the keys are using forward slash (/) notation where as accessing them using ESXCLI, they are using dot (.) notation as the separator. For example, UserVars.ESXiShellTimeOut is key when using the vSphere API/UI and /UserVars/ESXiShellTimeOut is the key for using ESXCLI. This way you can use the table in Github repo to easily translate the keys between the two interfaces. For customers that want a single interface to manage all advanced and kernel settings, definitely use the vSphere API or UI.

ESXi Advanced Settings

$optionManager = Get-View (Get-VMHost).ExtensionData.ConfigManager.AdvancedOption

$supportedSettings = $optionManager.SupportedOption
$runtimeSettings = $optionManager.Setting

ESXi Kernel Settings

$esxcli = Get-EsxCli
$kernelSettings = $esxcli.system.settings.kernel.list()

More from my site

  • Copying files from a USB (FAT32 or NTFS) device to ESXi
  • Automated ESXi Installation with a USB Network Adapter using Kickstart
  • ESXi with Intel Arc 750 / 770 GPU
  • How to recover ESXi installed on USB device after disabling vmkusb module?
  • Applying additional security hardening enhancements in ESXi 8.0

Categories // Automation, ESXCLI, ESXi Tags // esxcli, esxi, esxi 6.0, esxi 6.5, ESXi 7.0, ESXi 8.0

Comments

  1. Nicholas Kulkarni says

    12/14/2022 at 3:40 am

    Thank you, this is a lovely resource.

    Reply
  2. Steffen Richter says

    12/22/2022 at 1:48 am

    Such a gem William! A decade ago already I craved for such a thing but didnt really got to an useful or even up-to-date result. Thank you!

    Reply
  3. Gopi says

    01/25/2023 at 5:51 pm

    Thanks for the info William. Quick question regarding option "NetNetqRxQueueFeatPairEnable", which I can't see listed.

    The same was referenced in one of your old doc here, https://s3.amazonaws.com/virtuallyghetto-download/complete_vsish_config_500ga.html and in a white paper, https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/vmware-tuning-telco-nfv-workloads-vsphere-white-paper.pdf

    Thoughts? Is this still a valid adv. settings?

    Reply

Thanks for the comment! Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • Automated ESXi Installation with a USB Network Adapter using Kickstart 02/01/2023
  • How to bootstrap ESXi compute only node and connect to vSAN HCI Mesh? 01/31/2023
  • Quick Tip - Easily move or copy VMs between two Free ESXi hosts? 01/30/2023
  • vSphere with Tanzu using Intel Arc GPU 01/26/2023
  • Quick Tip - Automating allowed and not allowed Datastores for use with vSphere Cluster Services (vCLS) 01/25/2023

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2023

 

Loading Comments...