WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

Support for Virtual Trusted Platform Module (vTPM) on ESXi without vCenter Server?

10.16.2023 by William Lam // 28 Comments

Starting with vSphere 6.7, users have been able to add a Virtual Trusted Platform Module (vTPM) to a VM, enabling guest operating systems to create and store private keys using a software-based representation of a physical TPM 2.0 chip, that is completely transparent to the underlying OS.

A major benefit of using vTPM is that a physical TPM chip is NOT required in the underlying ESXi host and the vTPM secrets are protected by encrypting the .nvram file, where the secrets are stored.

The encryption keys that are used to encrypt the vTPM is provisioned by a key provider, which can be either be an external Standard Key Provider (SKP) that is KMIP-compliant or using vCenter Server's built-in Native Key Provider (NKP). It is the management of these key providers and their workflows that requires the use of vCenter Server, providing a centralized control plane and a seamless user experience when using the vTPM feature.

Most recently, I saw an influx of inquiries from our field and customers asking about using vTPM with a standalone ESXi host that is NOT managed by vCenter Server, primarily for homelab purposes. While this question has come up in the past, the increased interests might be due to more folks looking to deploy Windows 11, which now has a requirement of a TPM.

While sharing this observation with our lead engineer for VM Encryption, I came to learn that while vCenter Server is highly recommended for a good vTPM user experience, it is technically NOT required for vTPM to function. This sounded very intriguing but surely this solution would NOT be supported right?!

Interestingly, vCenter Server simply uses a set of public vSphere APIs that are available directly on an ESXi host to add or remove encryption keys that is generated from the key provider but the functionality to manage the encryption keys are available on an ESXi host. While this "manual" method is not as seamless as using vCenter Server, you can enable vTPM for a VM using a standalone ESXi host that is not managed by vCenter Server in a completely supported manner!

The lesson here, do not always assume something is NOT supported until you have been told it is NOT supported and always be learning! 😁

[Read more...]

Categories // Automation, ESXi, vSphere 8.0 Tags // VM Encryption, vTPM

How to download offline copy of the Tanzu Kubernetes releases (TKr) Content Library?

10.10.2023 by William Lam // 2 Comments

As part of the setup for vSphere with Tanzu, a local vSphere Content Library needs be created to store the various Tanzu Kubernetes releases (TKr) which users typically synchronize from VMware's online TKr Content Library repository.


I typically recommend configuring the content library subscription to only download files when needed, rather than the entire library, which is currently over 200GB+.

After standing up another vSphere with Tanzu environment, I needed to download additional TKr images but I could not reuse my existing subscribed content library since it was configured on a different vCenter Server.

With the ability to host a custom vSphere Content Library on my Synology, I realized a better solution would be for me to simply download the full VMware TKr Content Library and host that locally on my network rather than re-downloading the same images each time I have a new deployment.

[Read more...]

Categories // Automation, Kubernetes, VMware Tanzu, vSphere 7.0, vSphere 8.0 Tags // content library, Synology, TKR, vSphere Kubernetes Service

Heads Up - ESXi 8.0 Update 2 requires XSAVE CPU instruction even with allowLegacyCPU=true

10.05.2023 by William Lam // 23 Comments

As shared back in 2022 in my Homelab Considerations for vSphere 8.x blog post, if you attempt to install ESXi on system where the CPU is no longer being supported by the OEM vendor, who then informs VMware on what to publish on the VMware Hardware Compatibility Guide (VCG), you will see the following error message preventing you from proceeding.


Also mentioned in that article, you can override this default behavior with the following ESXi boot option: allowLegacyCPU=true which would convert this from an error to warning message but allowing you to proceed in an installation or upgrade.

Obviously, this is not officially supported by VMware and its behavior was never guarantee but it certainly was a nice gesture, in my humble opinion from Engineering, as they could have easily not allowed any override based on on our official VCG. For homelab use cases, it might be okay to use a CPU that is 5 to 6 years old, knowing that it should be replaced hopefully in the near future.

I just had a couple of users report issues while upgrading to the latest ESXi 8.0 Update 2 release when using the allowLegacyCPU boot option and saw the following error message

VMB: 716: Unsupported CPU


The ESXi installer immediately halts and prevents the upgrade from proceeding ...

[Read more...]

Categories // ESXi, Home Lab Tags // ESXi 8.0 Update 2, XSAVE

  • « Previous Page
  • 1
  • …
  • 53
  • 54
  • 55
  • 56
  • 57
  • …
  • 564
  • 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

  • VCF 9.0 Installer workaround for ESXi hosts with different vendor 06/19/2025
  • NVMe Tiering with AMD Ryzen CPU workaround for VCF 9.0 06/19/2025
  • vSAN ESA Disk & HCL Workaround for VCF 9.0 06/19/2025
  • Disable 10GbE NIC Pre-Check in the VCF 9.0 Installer 06/19/2025
  • Minimal resources for deploying VCF 9.0 in a Lab 06/18/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...