WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

Quick Tip - Automating cpuUniformityHardCheckPanic configuration for ESXi Kickstart with USB

05.09.2024 by William Lam // Leave a Comment

To prevent ESXi from PSOD'ing when an Intel Hybrid Consumer CPU is detected with non-uniform capabilities, a workaround can be applied to ignore the uniformity miss-match which is needed before the ESXi installer fully boots up and also after the initial reboot.

For those looking to fully automate this process using ESXi Kickstart using USB as an example, there are two places where the kernel boot option must be added:

1) The first is the EFI\boot\boot.cfg file on the ESXi installer media (e.g. USB) where you will append to the kernelopt line as shown in the snippet below:

bootstate=0
title=Loading ESXi installer
timeout=5
prefix=
kernel=/b.b00
kernelopt=ks=usb:/KS.CFG cpuUniformityHardCheckPanic=FALSE
.....

2) The second must be added to the %post section of your ESXi kickstart, which will update the first ESXi bootbank's boot.cfg and ensure the kernel option is passed to ESXi when it reboots after installation:

%post --interpreter=busybox

sed -i '/^kernelopt=/ s/$/ cpuUniformityHardCheckPanic=FALSE/' /vmfs/volumes/BOOTBANK1/boot.cfg

Categories // Automation, ESXi Tags // ESXi, kickstart, usb

Disable IPv6 in ESXi Kickstart without additional reboot

04.03.2024 by William Lam // 2 Comments

ESXi supports dual stack networking (IPv4 and IPv6) by default, however users can also configure just IPv4 or IPv6, which requires a system reboot for the changes to go into effect.

Recently, I received a question from a colleague asking if there was a way to disable IPv6 during ESXi Kickstart (aka scripted installation) but NOT require an additional reboot as this setting is typically added in the %post or %firstboot section, which will require an additional reboot due to changing the networking stack default.

The solution was actually quite simple by just leveraging the %pre section, which would ensure that IPv6 is disabled upon the initial reboot after the ESXi installation.

[Read more...]

Categories // Automation, ESXi Tags // ESXi, ipv6, kickstart

Unable to power on vSphere Cluster Services (vCLS) VM in Nested ESXi with no host is compatible with the virtual machine

03.25.2024 by William Lam // 8 Comments

After deploying a new VMware Cloud Foundation (VCF) Workload Domain using the VCF Holodeck Toolkit, which leverages Nested ESXi, I noticed the vSphere Cluster Services (vCLS) VMs kept failing to power on and threw the following error message:

No host is compatible with the virtual machine


I thought this was quite strange, especially since the vCLS VMs ran fine when the VCF Management Domain was setup.

UPDATE (07/03/2024) - The reason for the vCLS error is actually due to the miss-configuration of the Nested ESXi VM created by VCF Holodeck Toolkit, please see this blog post for an easier fix.

Looking at the vmware.log for the vCLS VM, I quickly found the issue where the VM expects to have the MWAIT CPU instruction exposed:

2024-03-19T16:35:35.736Z In(05)+ vmx - Power on failure messages: Feature 'cpuid.mwait' was 0, but must be 0x1.
2024-03-19T16:35:35.736Z In(05)+ vmx - Module 'FeatureCompatLate' power on failed.
2024-03-19T16:35:35.736Z In(05)+ vmx - Failed to start the virtual machine.

I figure I was probably not the first person to run into this and asked Ben Sier, who works on Holodeck and indeed he ran into this before. It looks like with newer vSphere releases, it expects to configure Per-VM EVC but the vCLS VM may not function properly within a Nested ESXI environment. Luckily, Ben has a workaround that we can quickly use.

[Read more...]

Categories // ESXi, Nested Virtualization, vSphere 7.0, vSphere 8.0

  • « Previous Page
  • 1
  • …
  • 10
  • 11
  • 12
  • 13
  • 14
  • …
  • 146
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

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 © 2025

 

Loading Comments...