WilliamLam.com

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

Updating handshakeTimeoutMs setting for ESXi 7.x & 8.x using configstorecli

05.14.2024 by William Lam // 3 Comments

With the introduction of the ESXi Configuration Store back in vSphere 7.0 Update 1, all ESXi configuration changes should be managed using either the configstorecli for an individual ESXi host or leveraging the new vSphere Configuration Profiles (VCP) for scale with vCenter Server.

For certain ESXi hostd configurations such as configuring the handshakeTimeoutUs property, which has changed locations from several locations including /etc/vmware/hostd/config.xml and /etc/vmware/vpxa/vpxa.cfg to now /etc/vmware/rhttpproxy/config.xml in the latest ESXi 8.x release, it can be challenging to figure out the correct configstorecli syntax.

Having spent some time playing with the configstorecli, I was able to quickly help a customer recently who was looking to update the handshakeTimeoutUs property for ESXi 7.x and I wanted to make it easy for folks to find the syntax for both ESXi 7.x and 8.x.

[Read more...]

Categories // Automation, ESXi, vSphere 7.0, vSphere 8.0 Tags // configstorecli, vSphere 7.0, vSphere 8.0

Identifying vSphere with Tanzu Managed VMs

04.25.2024 by William Lam // Leave a Comment

With an increasing number of customers enabling the vSphere with Tanzu capability, which is included in both VMware vSphere Foundation (VVF) and VMware Cloud Foundation (VCF), more and more Virtual Machines will be deployed using the more modern approach of declarative provisioning using the powerful VM Service feature.


When using the vSphere UI, you can easily distinguish between a vSphere with Tanzu managed VM from a traditional VM by checking whether it is provisioned within a vSphere Namespace or whether it contains the "Developer Managed" label as shown in the screenshot above.

However, how do you identify a vSphere with Tanzu managed VM when using the vSphere API for Automation purposes?

[Read more...]

Categories // Automation, VMware Cloud Foundation, VMware Tanzu, vSphere 7.0, vSphere 8.0 Tags // VM Service, vSphere 7.0, vSphere 8.0, vSphere Kubernetes Service

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
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 42
  • 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...