7.3 Health Diagnostics, Troubleshooting Workflows, & Operational Policies

Key Takeaways

  • Operational Policies govern metric collection intervals, active alert definitions, symptom thresholds, and capacity models through an inheritance tree starting from the Base Policy and Default Policy.
  • When an object belongs to multiple custom groups with conflicting policies, VCF Operations resolves priority using an integer ranking where the matching policy with the lowest numerical integer (Priority 1) strictly takes precedence.
  • Custom Groups organize infrastructure independently of vSphere inventory hierarchy, utilizing static lists or dynamic rules (tags, properties, object types) that automatically evaluate upon resource provisioning.
  • VMware Health Diagnostics (formerly Skyline Health Diagnostics) delivers automated log analysis and crash dump inspection across ESXi, vCenter, NSX, and SDDC Manager using diagnostic signatures in online and dark-site offline modes.
  • Systematic troubleshooting isolates virtualization bottlenecks: CPU Ready (%RDY > 5%) vs CPU Co-Stop (%CSTP > 3% from wide vCPUs), memory ballooning vs hypervisor swapping (.vswp), storage latency decomposition (GAVG = KAVG + DAVG), and MTU mismatch packet drops.
Last updated: September 2026

7.3 Health Diagnostics, Troubleshooting Workflows, & Operational Policies

Exam Focus: Troubleshooting multi-tenant private clouds requires a structured, policy-driven methodology. For the VCP-VCF (2V0-17.25) exam, candidates must master the Operational Policy hierarchy and inheritance mechanics; resolve policy priority ordering conflicts; assign policies dynamically using Custom Groups based on vSphere tags and properties; leverage VMware Health Diagnostics (formerly Skyline Health Diagnostics) for automated signature-based log forensics and PSOD crash analysis; utilize the Troubleshoot Workbench, Object Relationship topology, and Metric Correlation tool; and execute precise root-cause analysis for foundational infrastructure bottlenecks including CPU contention (%RDY and %CSTP), memory reclamation hierarchy (ballooning vs hypervisor swapping), storage latency decomposition (GAVG, KAVG, DAVG), and network packet drops.


Operational Policies Architecture, Hierarchy, & Inheritance

In VMware Cloud Foundation, operational standards cannot be applied uniformly across all workloads. Production database clusters demand aggressive alerting, conservative capacity risk buffers, and sub-minute metric polling, whereas development and testing environments tolerate higher resource overcommitment, relaxed thresholds, and suppressed non-critical notifications. VCF Operations implements Operational Policies to govern these operational parameters across diverse workload tiers.

Operational Policy Inheritance Hierarchy & Priority Ordering:

                    ┌────────────────────────────────┐
                    │          Base Policy           │
                    │     (Factory Root Template)    │
                    └───────────────┬────────────────┘
                                    │
                                    ▼
                    ┌────────────────────────────────┐
                    │         Default Policy         │
                    │ (Lowest Priority / Fallback)   │
                    └───────┬────────────────┬───────┘
                            │                │
            ┌───────────────┘                └───────────────┐
            ▼                                                ▼
 ┌────────────────────────────────────┐   ┌────────────────────────────────────┐
 │     Production Tier-1 Policy       │   │       Non-Production Policy        │
 │ - Priority: 1 (Highest)            │   │ - Priority: 2                      │
 │ - Strict CPU/Mem Alerting          │   │ - Relaxed Thresholds               │
 │ - Conservative Capacity Buffers    │   │ - Aggressive Overcommit            │
 │ - Sub-minute Collection Intervals  │   │ - Standard Collection Intervals    │
 └─────────────────┬──────────────────┘   └─────────────────┬──────────────────┘
                   │                                        │
                   ▼                                        ▼
 ┌────────────────────────────────────┐   ┌────────────────────────────────────┐
 │   Dynamic Group: Production VMs    │   │   Dynamic Group: Dev/Test VMs      │
 │   Rule: vCenter Tag = 'Env:Prod'   │   │   Rule: vCenter Tag = 'Env:Dev'    │
 └────────────────────────────────────┘   └────────────────────────────────────┘

The Policy Hierarchy Structure

  1. Base Policy: The factory root template supplied with VCF Operations. It defines the global defaults for every metric, property, symptom, alert, and capacity calculation model. The Base Policy cannot be deleted or directly applied to objects; it serves strictly as the structural foundation for all child policies.
  2. Default Policy: The active fallback policy applied to any discovered object that has not been explicitly assigned a custom child policy. The Default Policy always occupies the lowest priority rank in the system.
  3. Custom Child Policies: Specialized policies created by administrators to meet specific operational, business, or compliance requirements (e.g., Production Mission-Critical, Dev-Test, PCI-DSS Hardened, VCF Management Infrastructure).

Granular Policy Inheritance

Child policies utilize a delta inheritance model:

  • When a new custom policy is created, it inherits 100% of its configuration settings from its parent (or the Default Policy).
  • Administrators selectively override only the specific parameters required for that operational tier (e.g., enabling an alert that is disabled in the parent, adjusting a CPU threshold from 80% to 90%, or changing a capacity risk buffer from 15% to 30%).
  • All unmodified settings maintain an active inheritance link to the parent. If an administrator subsequently updates an unmodified baseline setting in the parent policy, that update instantly cascades down to all child policies, eliminating configuration drift.

Policy Priority Ordering & Conflict Resolution

Because an infrastructure object (such as an ESXi host or virtual machine) can belong to multiple logical groups simultaneously, it may match the criteria of multiple active policies. To resolve conflicts, VCF Operations applies a strict Integer Priority Ranking:

  • Every active policy is assigned an explicit integer priority value.
  • Priority 1 represents the highest operational authority; Priority 2 is next; the Default Policy always sits at the bottom.
  • When policy attributes conflict on a specific object, the policy with the lowest numerical rank (highest priority) strictly wins and governs the object.

[!IMPORTANT] Priority Resolution Example: Consider a virtual machine belonging to both the Windows-Servers group (governed by Policy A at Priority 10) and the Production-Tier-1 group (governed by Policy B at Priority 2). If Policy A disables the high-CPU alert but Policy B enables it, Policy B takes precedence because Priority 2 outranks Priority 10. The high-CPU alert will remain actively evaluated on that virtual machine.


Custom Groups: Static vs. Dynamic Grouping Criteria

To decouple policy enforcement, dashboard reporting, and alert routing from rigid vSphere datacenter and cluster folder hierarchies, VCF Operations utilizes Custom Groups.

Static Custom Groups

  • Contain an explicitly curated, fixed list of objects selected manually by an administrator.
  • Membership does not change unless an administrator manually adds or removes objects.
  • Primarily used for specialized cohorts, such as an immutable set of executive VIP virtual desktops, dedicated physical lab hosts, or decommissioned workloads undergoing audit.

Dynamic Custom Groups

  • Membership is determined dynamically by the system using automated Membership Criteria Rules.
  • Rules evaluate object attributes across multiple dimensions:
    • Object Type: Filter by Virtual Machine, Host System, vSAN Storage Pool, NSX Edge, or Datastore.
    • vSphere Tags & Metadata: Evaluate vSphere category and tag assignments (e.g., vCenter Tag equals Environment:Production or DataClassification equals Sensitive).
    • Configuration Properties: Evaluate hardware settings (e.g., Guest OS contains Windows Server or vCPU Count >= 16).
    • Metric Thresholds: Filter objects actively exhibiting specific performance characteristics (e.g., Workload % > 85).
    • Relationship Criteria: Filter objects based on topology (e.g., all virtual machines that are direct descendants of cluster Management-Cluster-01).
  • Continuous Automated Membership: When a DevOps engineer deploys a new virtual machine via VCF Automation or Terraform and applies the tag Environment:Production, VCF Operations automatically detects the tag, assimilates the VM into the Production Custom Group, and applies the Priority-1 Production Policy within its next evaluation cycle—guaranteeing zero configuration drift.

VMware Health Diagnostics & Skyline Health Diagnostics (SHD)

In enterprise Cloud Foundation environments, deep log forensics and post-crash diagnostics require tools that transcend point-in-time metric thresholds. VMware Health Diagnostics (formerly branded as VMware Skyline Health Diagnostics / SHD) serves as a specialized, automated diagnostic and log analysis platform engineered specifically for VMware infrastructure.

VMware Health Diagnostics Architecture & Analysis Workflow:

 ┌────────────────────────────────────────────────────────────────────────┐
 │                     Diagnostic Telemetry Sources                       │
 │   ESXi (vm-support) │ vCenter (vc-support) │ NSX Bundles │ SDDC Logs   │
 └───────────────────────────────────┬────────────────────────────────────┘
                                     │
                                     ▼
 ┌────────────────────────────────────────────────────────────────────────┐
 │                  VMware Health Diagnostics Appliance                   │
 │                                                                        │
 │   ┌─────────────────────────────┐    ┌─────────────────────────────┐   │
 │   │  Diagnostic Signature DB    │    │   Log Parsing & Regex Engine│   │
 │   │  - Known Product Defects    │    │   - Crash Dump Extraction   │   │
 │   │  - Security Advisories(VMSA)│    │   - PSOD Stack Trace Parser │   │
 │   │  - Driver/Firmware HCL Drift│    │   - Syslog Event Correlator │   │
 │   └──────────────▲──────────────┘    └──────────────┬──────────────┘   │
 │                  │                                  │                  │
 │      Online / Offline Update                        │                  │
 └──────────────────┼──────────────────────────────────┼──────────────────┘
                    │                                  │
      ┌─────────────┴─────────────┐                    ▼
      │  Signature Update Modes   │     ┌─────────────────────────────┐
      │ - Online: Cloud Sync      │     │ Diagnostic Analysis Report  │
      │ - Offline: Dark Site Pack │     │ - Root Cause Identification │
      └───────────────────────────┘     │ - KB Article Remediation    │
                                        │ - Patch & Upgrade Guidance  │
                                        └─────────────────────────────┘

Core Architecture & Diagnostic Roles

VMware Health Diagnostics deploys as an on-premises virtual appliance or operates as an integrated service within SDDC Manager and vCenter Server:

  • Automated Support Bundle Ingestion: Instead of manually uploading massive 50 GB diagnostic log archives (vm-support, vc-support, NSX edge bundles) to external support portals, administrators point Health Diagnostics at the target systems. The engine retrieves or ingests log bundles locally.
  • Signature-Based Pattern Matching: The appliance maintains a comprehensive repository of Diagnostic Signatures. Each signature encapsulates known product bugs, configuration errors, microcode defects, and security vulnerabilities identified across VMware's global customer base.
  • Crash Dump & PSOD Diagnostics: When an ESXi host suffers a catastrophic Purple Screen of Death (PSOD), Health Diagnostics extracts the kernel core dump (vmkernel-zdump), deconstructs the backtrace instruction registers, and identifies the exact driver, hardware exception, or software panic responsible for the host failure.
  • Driver & Firmware HCL Verification: Compares installed I/O controller drivers, NVMe storage controllers, and physical NIC firmware directly against the VMware Compatibility Guide (VCG), alerting administrators to driver/firmware combinations known to cause controller deadlocks or packet drops.

Deployment Modes: Connected vs. Dark Site (Offline)

To satisfy strict enterprise security policies, VMware Health Diagnostics supports two operational models:

  • Online Connected Mode: The appliance establishes an encrypted outbound connection to VMware Cloud services, automatically downloading updated diagnostic signatures, health checks, and Knowledge Base (KB) mapping rules as new vulnerabilities or defects are discovered.
  • Offline / Dark Site Mode: For air-gapped defense networks, sovereign clouds, and secure financial datacenters with zero outbound internet access, the appliance operates in dark-site mode. Administrators download signed offline diagnostic signature packages and KB definition bundles on an external workstation, transfer them via secure media, and import them into the appliance. Log analysis and vulnerability detection function with 100% feature parity entirely on-premises.

Actionable Diagnostic Reports & VCF Synergy

Upon completing an analysis, Health Diagnostics generates an executive and technical Diagnostic Report:

  • Severity Categorization: Issues are flagged as Critical (immediate data loss or system crash risk), Warning (suboptimal performance or security exposure), or Info.
  • Prescriptive Remediation: Each finding links directly to the authoritative VMware KB article, providing the exact CLI commands, configuration parameters, or patch versions required to resolve the issue.
  • VCF Pre-Upgrade & Health Validation: Integrated with SDDC Manager workflows, administrators run Health Diagnostics prior to executing VCF lifecycle upgrades to identify latent driver incompatibilities or stale configurations, preventing upgrade aborts.

Systematic Troubleshooting Methodology

When performance degradation or application outages occur in a software-defined data center, troubleshooting cannot rely on guesswork. VCF Operations provides an analytical troubleshooting workbench built around three core methodologies:

Topological Stack Diagnostic Traversal:

 ┌──────────────────────────┐
 │     Virtual Machine      │ ── Contention: %RDY > 5%, %CSTP > 3%, Ballooning/Swapping
 └────────────┬─────────────┘
              │ Hosted On
              ▼
 ┌──────────────────────────┐
 │        ESXi Host         │ ── Compute Pressure: High Sched Queue, Memory Starvation
 └──────┬────────────┬──────┘
        │            │ Disks Reside On
        │ Connected  ▼
        │       ┌──────────────────────────┐
        │       │   vSAN / VMFS Datastore  │ ── Storage Latency: GAVG = KAVG + DAVG
        │       └──────────────────────────┘
        ▼
 ┌──────────────────────────┐
 │   vSphere Dist Switch    │ ── Network Saturation: Packet Drops, Ring Buffer Exhaustion
 └────────────┬─────────────┘
              │ Overlay Traffic
              ▼
 ┌──────────────────────────┐
 │   NSX Edge / T0 Gateway  │ ── Network Routing: Geneve Drops, MTU Mismatch (9000 vs 1500)
 └──────────────────────────┘

1. Object Relationship & Topology Mapping

Virtual infrastructure issues rarely originate in the virtual machine reporting the symptom. A database experiencing high transaction latency might be suffering from a noisy neighbor on the same ESXi host, physical HBA queue saturation, an unbalanced vSAN storage pool, or dropped Geneve packets on an NSX Edge. The Object Relationship topology graph maps the entire vertical virtualization stack:

  • Operators traverse seamlessly: Virtual Machine ──> Guest OS ──> ESXi Host ──> vSphere Cluster ──> Datastore / vSAN Pool ──> Physical Host pNIC ──> vSphere Distributed Switch ──> NSX Logical Segment ──> Tier-1/Tier-0 Gateway.
  • The topology map immediately highlights which upstream or downstream dependency is displaying red or yellow health degradation badges, directing root-cause analysis to the precise failing layer.

2. Anomaly Detection & Timeline Correlation

The Troubleshoot Workbench aligns performance anomalies and system events on a single, synchronized chronological timeline:

  • Event Overlay: Correlates performance metric anomalies with operational lifecycle events—such as vSphere DRS migrations, vSphere HA restarts, snapshot creations, host maintenance mode entries, or NSX firewall policy pushes.
  • Enables an administrator to verify immediately whether a latency spike on an application VM coincided exactly with the creation of a massive snapshot backup or a live vMotion across a saturated physical link.

3. Metric Correlation Tool

When troubleshooting an unexplained performance spike (e.g., guest OS disk latency spiking unexpectedly at 10:15 AM), the administrator highlights the anomalous time window and launches the Metric Correlation tool:

  • The correlation engine mathematically compares the anomalous metric against thousands of concurrent metrics across the target object and all topologically related peers (host, datastore, NICs, co-located VMs).
  • Calculates statistical Pearson correlation coefficients ($r$ values) and surfaces a ranked list of co-varying metrics ($r > 0.90$).
  • Example: Metric correlation instantly reveals that the VM's disk latency spike is 98% correlated with a sudden spike in physical datastore write latency and host storage adapter queue depth, immediately proving the bottleneck resides on the physical storage fabric rather than inside the guest OS.

Root-Cause Analysis for Infrastructure Bottlenecks

Mastering root-cause analysis requires understanding the key hypervisor-level metrics governing compute, memory, storage, and network contention.

1. CPU Contention: CPU Ready (%RDY) vs. CPU Co-Stop (%CSTP)

CPU Contention MetricNormal BaselineDegradation ThresholdSevere ContentionArchitectural Root Cause & Remediation
CPU Ready (%RDY)< 2%2% - 5%> 5% - 10%Root Cause: The virtual machine is ready to execute instructions on a physical CPU but must wait in the ESXi scheduling queue because physical cores are oversubscribed by other VMs.<br/>Remediation: Migrate workloads to less-utilized hosts via DRS, scale out cluster compute capacity, or reduce host vCPU-to-pCPU overcommitment.
CPU Co-Stop (%CSTP)< 1%1% - 3%> 3%Root Cause: Multi-vCPU (SMP) virtual machine skew. The ESXi scheduler must allocate physical cores concurrently across all vCPUs. When some vCPUs advance while others lag, the hypervisor pauses ("co-stops") the fast vCPUs to prevent guest clock drift.<br/>Remediation: Downsize the VM's vCPU count (e.g., reduce from 8 vCPUs to 4 vCPUs). Right-sizing reduces scheduling overhead and dramatically improves performance.

2. Memory Contention: Ballooning vs. Hypervisor Swapping

When an ESXi host encounters physical RAM pressure, it invokes reclamation techniques in a strict operational order:

  1. Transparent Page Sharing (TPS): Deduplicates identical memory pages across virtual machines sharing the same security salt.
  2. Memory Ballooning (vmmemctl):
    • The hypervisor signals the VMware Tools balloon driver inside the guest OS to inflate.
    • The balloon driver allocates guest memory and pins it, forcing the guest operating system's native memory manager to page its own idle processes out to the guest swap file.
    • The hypervisor then reclaims the physical host memory backing the balloon.
    • Diagnostic Meaning: Moderate ballooning indicates host memory pressure, but because the guest OS chooses which idle pages to page out, application disruption is minimized.
  3. Memory Compression: Compresses memory pages into an in-memory cache to delay disk swapping.
  4. Hypervisor Swapping (.vswp):
    • The hypervisor forcefully writes guest memory pages directly to the host-level .vswp file on disk without guest OS coordination.
    • Diagnostic Meaning: Swapping to disk introduces severe performance degradation because disk I/O latency is orders of magnitude higher than physical RAM. High values for mem|swapinRate_average and mem|swapoutRate_average indicate critical, emergency memory starvation requiring immediate workload migration or RAM expansion.

3. Storage Latency: The Latency Decomposition Framework

When a virtual machine experiences elevated disk latency, administrators decompose Total Guest Latency using the classic ESXi storage formula: GAVG/cmdKAVG/cmd+DAVG/cmd\text{GAVG/cmd} \approx \text{KAVG/cmd} + \text{DAVG/cmd}

  • GAVG/cmd (Guest Average Latency): Total round-trip latency experienced by the virtual machine guest OS from I/O issuance to completion. Latency $< 15-20 \text{ ms}$ is standard for spinning/hybrid disk; $< 2-5 \text{ ms}$ is standard for all-flash and vSAN ESA.
  • KAVG/cmd (Kernel Average Latency): Time the I/O command spends inside the ESXi hypervisor storage virtualization stack. KAVG should consistently remain $< 1-2 \text{ ms}$. Elevated KAVG indicates host-side queue depth exhaustion, path thrashing during multipathing failover, or software adapter contention.
  • DAVG/cmd (Device Average Latency): Time required for the command to traverse the physical HBA, SAN fabric, and be processed and acknowledged by the physical storage array or vSAN controller. Elevated DAVG isolates the issue outside the ESXi host—pinpointing storage array controller saturation, disk spindle bottlenecks, or physical SAN switch congestion.
  • QAVG/cmd (Queue Average Latency): Time spent waiting in the host driver queue. $QAVG > 0$ indicates that the storage adapter or LUN queue depth is fully exhausted.

4. Network Contention & Packet Drops

  • Dropped Packets Metric (net:aggregate|droppedPct): Indicates the percentage of network packets dropped at the virtual switch port or physical network interface (pNIC).
  • Common Causes: Ring buffer exhaustion on physical network adapters during high-burst micro-bursts, ESXi CPU starvation on packet processing cores, or physical top-of-rack leaf switch buffer congestion.
  • The MTU Mismatch Diagnostic: If jumbo frames (MTU 9000) are enabled on vSphere Distributed Switch VMkernel interfaces (for vSAN or NSX Geneve overlays) but an intermediate physical top-of-rack switch is misconfigured for standard MTU 1500, small ping packets succeed, but large data packets are silently dropped. Diagnosed via vmkping -d -s 8972 <target_IP> and remediated by enforcing end-to-end MTU consistency.

Exam Watch: Key Scenarios and Candidate Traps

[!IMPORTANT] Policy Conflict Resolution Hierarchy: In VCF Operations, policy precedence is strictly governed by numerical integer ranking. When an object matches multiple policies via overlapping custom groups, the policy assigned Priority 1 wins over Priority 2, Priority 10, and the Default Policy. The Default Policy always possesses the lowest operational priority.

[!WARNING] The CPU Co-Stop Downsizing Counter-Intuition: When an oversized virtual machine (e.g., 8 or 16 vCPUs) suffers from poor performance with high %CSTP (> 3%), administrators often mistakenly believe they should allocate more vCPUs. Allocating more vCPUs worsens co-scheduling skew! The correct remediation is to downsize the vCPU count.

[!TIP] Dark Site Health Diagnostics Updates: For exam questions involving air-gapped sovereign environments, remember that VMware Health Diagnostics does not require an active cloud connection; it supports offline signature pack uploads to analyze crash logs, HCL compatibility, and PSOD dumps without outbound internet access.

Loading diagram...
Operational Policy Hierarchy, Health Diagnostics Engine, and Infrastructure Troubleshooting Stack
Test Your Knowledge

How does VCF Operations resolve operational policy conflicts when a virtual machine belongs to multiple custom groups with conflicting policy settings?

A
B
C
D
Test Your Knowledge

During a performance investigation, an administrator observes that an 8-vCPU virtual machine exhibits a CPU Co-Stop value of 5.2% (%CSTP > 3%), while its overall CPU usage is under 25%. What is the proper remediation?

A
B
C
D
Test Your Knowledge

What is the key operational difference between ESXi Memory Ballooning and Hypervisor Memory Swapping (.vswp)?

A
B
C
D
Test Your Knowledge

How does VMware Health Diagnostics (formerly Skyline Health Diagnostics) analyze infrastructure failures in secure, air-gapped (dark site) VMware Cloud Foundation environments?

A
B
C
D