Troubleshoot VMware HCX OSAM Sentinel Agent Visibility Issues on Windows
search cancel

Troubleshoot VMware HCX OSAM Sentinel Agent Visibility Issues on Windows

book

Article ID: 452628

calendar_today

Updated On:

Products

VMware HCX VCF Operations

Issue/Introduction

After installing the VMware HCX Sentinel Agent on a Windows workload virtual machine (VM), you may observe the following:

  • The agent establishes a network connection to the Service Router Gateway (SRG) on port 443.
  • The workload VM remains invisible in the VMware HCX User Interface (UI).
  • Running in PowerShell returns an "Invalid class" error.
    get-windowsfeature : Invalid class
    At line:1 char: 1
    + get-windowsfeature
    + CategoryInfo : DeviceError: (Microsoft.Manag ... rDetailsHandle) : CimException) [Get-WindowsFeature], Exception
    + FullyQualifiedErrorId : UnSupportedTargetDevice, Microsoft. Windows . ServerManager. Commands . GetWindowsFeatureCommand

Environment

VMware HCX
VCF Operation HCX 

Cause

This is an environmental issue caused by a failure of the WMI service within the Windows guest operating system. VMware HCX requires functional WMI communication to complete the registration handshake and provide metadata to the HCX Manager.

Resolution

As this issue originates within the Windows Guest OS, it must be resolved by the local System Administrator. Repairing the WMI service will allow the Sentinel Agent to register correctly.

    1. Log in to the affected Windows VM as an Administrator.
    2. Verify the status of the WMI service:
    3. Open services.msc.
    4. Ensure the Windows Management Instrumentation service is running.
      get-service -name winmgmt
    5. Verify the WMI health by running following command in an elevated PowerShell
      get-windowsfeature
    6. Once WMI is confirmed healthy and responding to queries, restart the VMware HCX Sentinel Agent service on the Windows VM.
    7. Refresh the HCX Manager UI and verify the VM is visible. 

Note : Post remediation of the WMI service, the UI inventory may not load up instantaneously and need some time to show the VM. 

Additional Information

To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.