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

Application Discovery in vSphere with VMware Tools 11

12.22.2019 by William Lam // 11 Comments

The holidays are just around the corner and hopefully everyone is taking some time off to spend with their families, I know I certainly will! As I start to wind down 2019, I like to use this time catch up on things in my backlog that I was not able to get to in the year. This can range from blog posts that I still need to read, to session recordings that I have attempted to watch but have only made it half way to random notes on topics to potentially investigate in.

When VMware Tools 11 was released back in September, I had noticed an interesting feature that was delivered as part of that release:

Added appInfo to publish information about running applications inside the guest.

I thought this might be something worth looking at when I found some time. One of the nice benefits of having VMware Tools de-coupled from a specific vSphere release is that VMware can now ship additional GuestOS capabilities to customers without requiring them to upgrade the entire vSphere infrastructure, which brings us to the new appInfo feature.

AppInfo is a new plugin within VMware Tools that enables the collection of the "raw" running application processes within a GuestOS. Once enabled, this information is then published into new VM guestinfo property called guestinfo.appinfo which can then be consumed by standard vSphere Automation Tools. This has been one of the most common VM Automation questions I have received over the years from customers and we can now provide additional insights to our administrators on the underlying applications and its version running within a Virtual Machine.

By default, this new AppInfo capability is enabled by default after installing VMware Tools 11 and is supported with both Windows and Linux GuestOS. If you wish to disable this feature, you can find the instructions here. Below is a Windows Server 2016 which I have Active Directory among other applications running which has the appInfo collection enabled.


Once enabled, the default collection period runs every 30 minutes which can be changed following the instructions mentioned earlier. To make this easier to consume, I wrote a quick PowerCLI function called Get-VMApplicationInfo.ps1 which expects a VM object and then retrieves the appInfo details. As part of the output, the results also includes the last discovered time along with an update counter which can be used to track the number of times the collection has ran since enabling.

UPDATE (08/03/20) - Just learned that the latest like VMware Tools 11.1 now includes supports for appInfo capability for Linux GuestOSes. Previously, this was only supported when using a Windows GuestOS but now customers can have this same visibility into their Linux systems. Here is an example running my PowerShell function against the latest TKG Guest Cluster Control Plane VM which you can see both standard Linux processes along with container processes for Kubernetes.

One thing I did notice is that we simply return all instances of a given process and that may or may not be ideal depending on your use case. I have updated my function to include a boolean switch called -UniqueOnly which will automatically filter out the duplicates as shown in the screenshot below.


[Read more...]

Categories // Automation, vSphere Tags // guestinfo.appInfo, vmware tools, vSphere

VMware Cloud

VMware Cloud on AWS (VMConAWS)

    • Decoding Services Roles/Permissions from a VMware Cloud Services Platform (CSP) Token
    • VMware Cloud on AWS 1.13 adds support for VMRC vCenter Proxy
    • New SDDC Linking capability for VMware Cloud on AWS
    • Automated Nested Lab Deployment on SDDC Part 1: VMware Cloud on AWS
    • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs
    • Retrieving network statistics on VMware Cloud on AWS using NSX-T Policy API
    • Custom notification and automation based on host failure in VMware Cloud on AWS
    • Extending VMware Cloud on AWS Notifications using the Notification Gateway API
    • Tanzu Kubernetes Grid (TKG) Demo Appliance for VMC and vSphere
    • VMware Cloud Services Status APIs
    • New vCenter events for vSphere 7, VMware Cloud on AWS 1.10 and vSphere with Kubernetes
    • Sneak peak at deploying Tanzu Kubernetes Grid Plus on vSphere & VMware Cloud on AWS
    • Automating the creation of NSX-T "Disconnected" Segments for DR testing on VMware Cloud on AWS 
    • Simulating the VMware Cloud on AWS API using Stoplight Prism Tool
    • RSS feed for VMware Cloud on AWS and VMware Release Notes
    • ESX 3.x on VMware Cloud on AWS? 
    • Configuring Standalone vRealize Orchestrator with VMware Cloud on AWS
    • Automating HCX Multi-Site Service Mesh configuration using the new HCX PowerCLI cmdlets
    • Automating HCX Add On for VMware Cloud on AWS
    • Forwarding VMC Events to AWS Lambda/CloudWatch using Log Intelligence Webhook
    • Forwarding VMC Events to Slack using Log Intelligence Webhook
    • Connecting to NSX-T Policy API using NSX-T Private IP in VMC
    • Automating VMware Site Recovery (DRaaS) with VMC
    • NSX-T Policy API Explorer, Docs and Sample Updates for VMC
    • Deploying a vCenter Server Appliance (VCSA) in VMC?
    • NSX-T Opaque Networks now supported with Cross vCenter Workload Migration Fling
    • Integrating Github Actions with vSphere and VMware Cloud on AWS
    • ESXTOP and VMware Cloud on AWS
    • vSphere Tag Attach/Detach events now in VMware Cloud on AWS
    • Automating complete HCX deployment and configuration to first cloud migration using PowerCLI
    • Running sk8s (Simple Kubernetes) on VMC with an AWS Elastic Load Balancer
    • Which NSX-T Policy APIs are used in the NSX-T UI in VMC?
    • How to retrieve the NSX-T Overview Info (SDDC Public IP, Appliance & Infra Subnet, etc.) in VMC?
    • Common PowerCLI examples for VM Provisioning in VMware Cloud on AWS
    • Using NSX-T Policy API to retrieve the Routing Table in VMC
    • Changing the default behavior of the NSX-T Distributed Firewall (DFW) in VMC to Deny All
    • Quick Tip – Import OVF/OVA as VM Template using OVFTool 4.3 Update 1
    • New VMC API to rename SDDC
    • How to retrieve the CSP Refresh Token expiry using the CSP API
    • Managing Distributed Firewall Rules in VMC using PowerShell & NSX-T Policy API
    • Learning more about the Nitro platform which will power VMware Cloud on AWS Outposts
    • VMware Cloud on AWS reInvent sessions posted
    • Can a VM in the VMC Compute Network access the SDDC Management Network?
    • Automating Hybrid Cloud Extension (HCX) Manager initial configuration for VMC
    • Quick Tip – How to clear all Hybrid Cloud Extension (HCX) Migrations in the vSphere UI
    • Enhancements to Hybrid Linked Mode (HLM) in VMC using the new vCenter Cloud Gateway
    • Nested ESXi on VMware Cloud on AWS (VMC)
    • Automating new Cloud Motion with vSphere Replication using Hybrid Cloud Extension (HCX) API
    • Automating Hybrid Cloud Extension (HCX) Manager OVA deployment
    • NSX-T Policy PowerShell Community Module for VMC
    • Create vCenter Alarms for monitoring HCX migration events
    • vMotion across different VDS version between onPrem and VMC
    • Getting started with the Hybrid Cloud Extension (HCX) APIs
    • How to unregister Hybrid Cloud Extension (HCX) from your onPrem vCenter Server?
    • Getting started with the new NSX-T Policy API in VMC
    • Using VMC API to answer commonly asked questions about your SDDC
    • Quick Tip – Requirements for using Guest Operation APIs (Invoke-VMScript & Copy-VMGuestFile) in VMC
    • Creating a vSphere Content Library directly on Amazon S3
    • Automation with the VMware Cloud Services Platform (CSP)
    • VMworld US 2018 sessions on VMware Cloud on AWS
    • Resource Pools, Folders & VMC now supported with Cross vCenter vMotion Utility Fling
    • Automating VM Template management using Content Library in VMC
    • Auditing detailed operations within VMware Cloud on AWS using the Activity Log API
    • OVFTool and VMware Cloud on AWS
    • New Adventure
    • Getting started with Hybrid Cloud Extension (HCX) on VMware Cloud on AWS
    • VMware Cloud on AWS – VM Creation Date available in vSphere API
    • VPN Configuration to VMware Cloud on AWS using pfSense
    • VMworld Hackathon Hardware/Software BOM

Azure VMware Solution (AVS)

  • Automated Nested Lab Deployment on SDDC Part 2: Azure VMware Solution
  • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs

Google Cloud VMware Engine (GVCVE)

  • Automated Nested Lab Deployment on SDDC Part 3: Google VMware Cloud Engine
  • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs

Oracle Cloud VMware Solution (OCVS)

  • Automated Nested Lab Deployment on SDDC Part 4: Oracle Cloud VMware Solution
  • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs

Building your own Virtual Appliances using OVF properties Part 1

02.01.2019 by William Lam // 5 Comments

This has been a topic I have been wanting to write about for quite some time, especially as I get asked about this on fairly regular basis from both partners and customers. I normally point folks over to our official Virtual Appliance (VA) authoring tool, VMware Studio which includes a number of development resources to help get started. Studio is used by many of our partners when creating their VA offerings, although it may not be the easiest thing to get started with, it does provide a complete end-to-end solution.

Most recently, I found myself building out a couple of VAs for my own day to day use, including a custom PhotonOS OVA that allows me to configure a static network address during deployment through the use of custom OVF properties. The official PhotonOS OVA that VMware ships does not provide this option and automatically defaults to DHCP. If you want to setup a static IP Address, you would need to first deploy the VM and then login to the console or SSH (if you have DHCP enabled) and then manually update the networking settings.


For my use case, Studio was going to be overkill and not to mention it may not even support PhotonOS or other modern OSes in general. However, everything that is needed to build your own VA is actually available right in vCenter Server. This was the perfect opportunity and excuse for me to finally document *my* process, in case it can help others wanting to do the same, especially for a home lab setup. In Part 1, I will take you through the two important concepts of building your own VA and then in Part 2 and Part 3, we will take a look at building both a Linux and Windows VA. I will also publish a reference Linux and Windows implementation so that you can use that as a basis to build your own VA, which is not limited to just Linux or Windows, it can be ANY GuestOS that vSphere supports.

[Read more...]

Categories // Automation, OVFTool, vSphere Tags // guestinfo, ova, ovf, vapp, virtual appliance

  • « Previous Page
  • 1
  • …
  • 13
  • 14
  • 15
  • 16
  • 17
  • …
  • 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...