WilliamLam.com

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

Search Results for: guest operations

Quick Tip - Upgrading VMware Tools for Nested ESXi 6.0

04.03.2015 by William Lam // 2 Comments

I have received several questions about this in the last couple of weeks regarding the process of upgrading VMware Tools for running Nested ESXi 5.x and 6.0 when the physical ESXi host has been upgraded to ESXi 6.0. Instead of individual replies, I thought I would share this quick tip. First off, VMware Tools for Nested ESXi provides a very specific set of capabilities for Nested ESXi guests as shown below:

  • Provides guest OS information of the nested ESXi Hypervisor (eg. IP address, configured hostname, etc.).
  • Allows the nested ESXi VM to be cleanly shut down or restarted when performing power operations with the vSphere Web/C# Client or vSphere APIs.
  • Executes scripts that help automate ESXi guest OS operations when the guest’s power state changes.
  • Supports the Guest Operations API (formally known as the VIX API).

Unlike traditional VMware Tools which may provide updated capabilities with each new release, VMware Tools for Nested ESXi exposes only a subset of those capabilities which has not changed between ESXi 5.x and 6.0. This is an important fact to be aware of because you may see "Unsupported older version" for the VMware Tools status in the vSphere Web/C# Client and this is perfectly fine and expected.

Here is a screenshot of a Nested ESXi 5.5 VM with VMware Tools installed running on top of an upgraded physical ESXi 6.0 host:

upgrading_nested_esxi_vmware_tools_vsphere_6_1
In this scenario, the VMware Tools status will be reported as "Unsupported older version" because the version of VMware Tools does not match the latest version of VMware Tools included with ESXi 6.0. However, you should not be alarm as the expected functionality listed above will continue to work without any problems and you can just ignore the UI warning. The only way to get rid of this warning is to upgrade the Nested ESXi VM to ESXi 6.0 which I go over in more details below. I know upgrading may not be an option if you still wish to run ESXi 5.x, but as far as I know, there will not be an update to VMware Tools VIB for ESXi 6.0 as it is now pre-installed with ESXi 6.0.

Here is a screenshot of the same VM which has now been upgraded to ESXi 6.0 running on top of an upgraded physical ESXi 6.0 host:

upgrading_nested_esxi_vmware_tools_vsphere_6_2
In this case, the VMware Tools status will be reported as "Unsupported older version" because the version of VMware Tools does not match the latest version of VMware Tools included with ESXi 6.0. However, because VMware Tools now comes pre-installed with ESXi 6.0. We can easily remedy this by removing the VMware Tools VIB we installed for ESXi 5.x by running the following ESXCLI command and then rebooting:

esxcli software vib remove -n esx-tools-for-esxi

Once the ESXi host has rebooted, the VMware Tools that is pre-installed with ESXi 6.0 will automatically start up if it detects it is running as a VM. If you now look at your vSphere Web/C# Client, you will see that VMware Tools status shows current and is also the default behavior if you are running Nested ESXi 6.0 VM on top of physical ESXi 6.0 host.

upgrading_nested_esxi_vmware_tools_vsphere_6_3
With VMware Tools being pre-installed with ESXi 6.0 and only loaded when it detects it is being run as a VM, you no longer need to worry about manually installing additional VIBs get the benefits of having VMware Tools installed for your Nested ESXi VMs.

Categories // ESXi, Nested Virtualization, vSphere 6.0 Tags // ESXi 6.0, nested, nested virtualization, vmtoolsd, vmware tools, vSphere 6.0

How to quickly deploy new CoreOS Image w/VMware Tools on ESXi?

11.06.2014 by William Lam // 14 Comments

deploy-coreos-with-vmware-tools-on-esxi Thanks to a conversation I had this morning with a Twitter user @BOK, I learned that CoreOS has just recently published a new CoreOS Alpha Image (v490.0.0) that now includes the Open VMware Tools package. In addition, the new image also now uses the optimized VMXNET3 network adapter. From our chat, it looks like this update is not available in the insecure or VMware Fusion image and I can only guess that these images may eventually get deprecated or removed completely in favor for the newer VMware image which can both run on ESXi as well as hosted products like VMware Fusion/Workstation.

@BOK also shared with me a modified version of my script that I initially created to automate the deployment of CoreOS onto ESXi. The original workflow had to be slightly modified as the new image is only available as bz2 (bunzip2) and ESXi does not contain the bunzip2 utility. This means there are now two steps: first is to extract the VMDK and upload to ESXi datastore which is going to be done manually and you can run the script which will automatically convert the VMDK to the proper format and register the VM in ESXi.

I was thinking about how I could simplify this process, even though it is just a couple of extra commands, I always like to see how I can make something easier to consume and reducing the complexity if possible. I of course decided to create a new script called deploy_coreos_on_esxi2.sh which now runs outside of the ESXi Shell. The script requires a UNIX/Linux system that has the bunzip2 utility and will automatically download both the VMX and VMDK file, perform the extraction and then upload it to ESXi host using an HTTP API provided through the vSphere Datastore. Lastly, it auto-generates the configuration shell script that will run over SSH to the ESXi host (SSH is still required) which will perform the same set of operations as my previous script did.

Note: You will be prompted to enter the ESXi root password when it tries to run the script remotely on the ESXi Shell, there is a timeout for 120seconds in case you step away from the console.

Prior to running the script, you will need to edit the following 7 variables:

  • ESXi_HOST
  • ESXI_USERNAME
  • ESXI_PASSWORD
  • ESXI_DATASTORE
  • VM_NETWORK
  • VM_NAME

Here is a screenshot of running the script from my Mac OS X desktop:

install-core-os-with-vmware-tools-on-esxi-0
Once the CoreOS VM has fully booted, we can take a look at our vSphere Client and we should see that VMware Tools is in fact running and we can see the IP Address automatically being displayed in the UI:

install-core-os-with-vmware-tools-on-esxi-1
The really nice thing about having VMware Tools running in the CoreOS image, is that you can use VMware's Guest Operations API to be able to perform operations within the guest which are proxied through VMware Tools and can be quite handy, especially if networking is not available or you want to go through a single management interface such as using the vSphere API.

Categories // Automation, Docker, ESXi, vSphere Tags // container, coreos, Docker, ESXi, vSphere

Nested

Here is a consolidated page on all the articles that I have written about Nested Virtualization.

All Nested ESXi Virtual Appliances

  • https://brcm.tech/flings

Installing ESX / ESXi in VM

  • Refresher on Nested ESXi Networking Requirements
  • How to install all versions of ESX and ESXi in VM?

VMware Cloud Foundation

  • Automated Lab Deployment Script updated to support VMware Cloud Foundation (VCF) 5.1
  • Automated VMware Cloud Foundation (VCF) Workload Domain deployment using PowerVCF
  • Custom vSAN HCL JSON for VMware Cloud Foundation (VCF) 5.1 and vSAN ESA using Nested ESXi

VMware Cloud

  • Automated Nested Lab Deployment on SDDC Part 1: VMware Cloud on AWS
  • Automated Nested Lab Deployment on SDDC Part 2: Azure VMware Solution
  • Automated Nested Lab Deployment on SDDC Part 3: Google Cloud VMware Engine
  • Automated Nested Lab Deployment on SDDC Part 4: Oracle Cloud VMware Solution
  • Nested ESXi on VMware Cloud on AWS (VMC)
  • ESX 3.x on VMware Cloud on AWS? 

vSphere 8.0

  • vSphere & vSAN 8 Lab Deployment Script
  • Enabling vSAN 8 Express Storage Architecture (ESA) using Nested ESXi

vSphere 7.0

  • Simplified Nested ESXi installation in ESXi 7.0 Update 2 using HTTP Boot over VirtualEFI
  • Heads Up - Nested ESXi crashes in ESXi 7.0 running on older CPUs

vSphere 6.7

  • Native MAC Learning in vSphere 6.7 removes the need for Promiscuous mode for Nested ESXi
  • Nested ESXi 6.7 Virtual Appliance Updates
  • Leveraging Instant Clone in vSphere 6.7 for extremely fast Nested ESXi provisioning

vSphere 6.5

  • Nested ESXi Enhancements in vSphere 6.5
  • Virtual NVMe and Nested ESXi 6.5?
  • ESXi 6.5 Virtual Appliance is now available
  • vGhetto Automated vSphere Lab Deployment for vSphere 6.0u2 & vSphere 6.5
  • ESXi Learnswitch – Enhancement to the ESXi MAC Learn DvFilter
  • Updated Nested ESXi 6.0u3, 6.5d & 6.5u1 Virtual Appliances
  • New Nested ESXi 6.x Content Library

vSphere 6.0

  • How to configure an All-Flash VSAN 6.0 Configuration using Nested ESXi?
  • Updated VSAN 6.0 Nested ESXi OVF Templates for 64 Nodes, All-Flash Array & Fault Domain Testing
  • How to configure SMP-FT using Nested ESXi in vSphere 6?
  • VMware Tools is now pre-installed with Nested ESXi 6.0
  • Quick Tip – Upgrading VMware Tools for Nested ESXi 6.0
  • Subscribe to vGhetto Nested ESXi Template Content Library in vSphere 6.0
  • How to VMFork aka Instant Clone Nested ESXi?
  • Nested ESXi Virtual Appliance 6.x
  • vSphere 6.0 Update 2 hints at Nested ESXi support for Paravirtual SCSI (PVSCSI) in the future
  • Updated Nested ESXi 6.0u3 & 6.5d Virtual Appliances
  • New Nested ESXi 6.x Content Library

vSphere / vCloud 5.x

  • Having Difficulties Enabling Nested ESXi in vSphere 5.1?
  • How to Enable Nested ESXi & Other Hypervisors in vSphere 5.1
  • How to Enable Nested ESXi & Other Hypervisors in vCloud Director 5.1
  • The Missing Piece In Creating Your Own Ghetto vSEL Cloud
  • How to Enable Support for Nested 64bit & Hyper-V VMs in vSphere 5
  • Nested ESXi Virtual Appliance 5.x

vCloud Air

  • Nested ESXi on vCloud Air (Promiscuous Mode not required)
  • How to deploy vSphere 6.0 (VCSA & ESXi) on vCloud Director and vCloud Air?

Additional Info Tips/Tricks

  • Enable TRIM/UNMAP from Nested vSAN OSA/ESA to physical vSAN OSA
  • Unable to power on vSphere Cluster Services (vCLS) VM in Nested ESXi with no host is compatible with the virtual machine
  • GPU Passthrough with Nested ESXi
  • Using vSphere Lifecycle Manager (vLCM) to remediate Nested ESXi host with CPU on the host is not supported
  • Nested ESXi 5.1 Supports VMXNET3 Network Adapter Type
  • How to Configure Nested ESXi 5 to Support EVC Clusters
  • How to Enable Nested vFT (virtual Fault Tolerance) in vSphere 5
  • How to Install VMware VSA in Nested ESXi 5 Host Using the GUI
  • Cool Undocumented Features in vCloud Director 1.5
  • The Missing Piece In Creating Your Own Ghetto vSEL Cloud
  • Nested Virtualization APIs For vSphere & vCloud Director 5.1
  • How To Enable Nested ESXi Using VXLAN In vSphere & vCloud Director 
  • Will Intel’s VMCS Shadowing Feature Benefit VMware’s Nested Virtualization?
  • How to run Nested RHEV Hypervisor on ESXi? 
  • How to quickly setup and test VMware VSAN (Virtual SAN) using Nested ESXi
  • How to run Nested ESXi on top of a VSAN datastore? 
  • VMware Tools for Nested ESXi 
  • Why is Promiscuous Mode & Forged Transmits required for Nested ESXi?
  • How to properly clone a Nested ESXi VM?
  • Running Nested Xen Hypervisor with VMware Tools on ESXi
  • OVF template for creating Nested ESXi 3 or 32 node VSAN Cluster
  • How to run Nested ESXi on the vCloud Hybrid Service?
  • Do I need additional licenses for Nested ESXi?
  • ESXi MacLearn dvFilter - Improve Network/CPU performance when using Promiscuous Mode for Nested ESXi
  • How to run Qemu & KVM on ESXi?
  • Does the ESXi Mac Learn dvFilter work with Nested ESXi on NSX VXLAN’s?
  • VMware has the best platform to run latest Windows 10 Desktop, Server & Hyper-V Tech Preview!
  • Running Nested ESXi / VSAN Home Lab on Ravello
  • Using PowerCLI to invoke Guest Operations API to a Nested ESXi VM
  • VM serial logging to the rescue for capturing Nested ESXi PSOD
  • Running Nested ESXi, NSX-V or NSX-T on top of NSX-T
  • Configure NSX-T Enhanced Data path / Network Stack (ENS) for Nested ESXi
  • Distributed Power Management (DPM) with Nested ESXi
  • Emulating a Virtual USB storage device using Nested ESXi
  • « Previous Page
  • 1
  • …
  • 8
  • 9
  • 10
  • 11
  • 12
  • …
  • 21
  • 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

  • Ultimate Lab Resource for VCF 9.0 06/25/2025
  • VMware Cloud Foundation (VCF) on ASUS NUC 15 Pro (Cyber Canyon) 06/25/2025
  • VMware Cloud Foundation (VCF) on Minisforum MS-A2 06/25/2025
  • VCF 9.0 Offline Depot using Synology 06/25/2025
  • Deploying VCF 9.0 on a single ESXi host? 06/24/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...