Lab: VDS Health Check and Network Issue Diagnosis
Objectives
- Run vDS health check and interpret results
- Diagnose port group misconfiguration (VLAN, teaming, security)
- Troubleshoot VMkernel adapter connectivity (vMotion, vSAN, management)
- Identify and fix MTU mismatch issues
- Differentiate VDS vs VSS capabilities and migration path
Prerequisites
VVF lab with vDS configured and operational
Prior labs: vvf-support-01
Required skills:
- vCenter networking concepts
- SSH access
- Basic IP networking
Lab Environment
Holodeck VVF pod with vDS managing all host networking. 3 ESXi hosts with VMkernel adapters for management, vMotion, and vSAN.
Credentials
| System | Username | Password |
|---|---|---|
| vCenter | administrator@vsphere.local | Holodeck default |
Tasks
Task 1 Run vDS Health Check and Analyze Results
manageabilityvDS Health Check is a built-in diagnostic tool that validates configuration consistency across all member hosts. Understanding health check categories is core to Obj 5.7.
vCenter UI → Networking → select the vDS → Configure → Health Check. Enable both 'VLAN and MTU' and 'Teaming and failover' health checks.
Wait 2-3 minutes for health check to complete. Navigate to Monitor → Health. Review results for each host.
VLAN health check: Verify that all configured VLANs on port groups are trunked on physical switches. Look for 'VLAN not trunked' warnings.
MTU health check: Verify end-to-end MTU consistency. vSAN and vMotion port groups should show MTU 9000. Management port group shows MTU 1500.
Teaming and failover: Verify active/standby uplink assignments are consistent across all hosts. Look for 'Teaming misconfiguration' warnings.
Validation Gate
Check: vDS health check completed with all results analyzed
Expected: Health check shows green for all categories. Any warnings documented.
Common Errors
Task 2 Diagnose and Fix Port Group and VMkernel Issues
availabilityPort group misconfiguration and VMkernel adapter issues are the most common network support tickets. Systematic diagnosis is essential.
Simulate issue: Edit a VM port group's VLAN ID to an incorrect value (e.g., change from VLAN 10 to VLAN 99). Verify VM loses connectivity.
Diagnose: Check VM → Summary → Network. Note port group name. Navigate to vDS → port group → check VLAN configuration. Compare with working VMs on same segment.
Fix: Edit port group → VLAN → restore correct VLAN ID (10). Verify VM connectivity restored.
VMkernel adapter check: Navigate to each host → Configure → VMkernel adapters. Verify: vmk0 (Management, VLAN 10), vmk1 (vMotion, VLAN 20), vmk2 (vSAN, VLAN 30).
Test vMotion connectivity: Select a VM → Migrate → Change compute resource → select different host. If vMotion VMkernel is misconfigured, migration fails with 'No compatible host' or timeout.
Check NIOC (Network I/O Control): vDS → Configure → Resource Allocation. Verify shares and limits for each traffic type (VM, vMotion, vSAN, Management).
Validation Gate
Check: Port group issue diagnosed and fixed; VMkernel adapters verified; NIOC reviewed
Expected: All VMs have connectivity. VMkernel adapters correctly configured. NIOC allocations appropriate.
Common Errors
Task 3 VDS vs VSS Comparison and Migration Awareness
manageabilityExam Obj 5.7 specifically calls out VDS and VSS differentiation. Support engineers must understand when and how to migrate from VSS to VDS.
Document VDS advantages over VSS: centralized management, NIOC, port mirroring, NetFlow, LACP, health check, private VLANs, network policy backup/restore. VSS is per-host only.
Check current vDS version: Networking → vDS → Summary → Version. VVF 9.0 supports vDS 9.0. Note backward compatibility (can manage older vDS versions).
Review vDS port mirroring capability: vDS → Configure → Port Mirroring. This feature is VDS-only and critical for network troubleshooting.
Document VSS-to-VDS migration process: (1) Create vDS and port groups matching VSS config, (2) Add hosts to vDS, (3) Migrate VMkernel adapters from VSS to vDS port groups, (4) Migrate VM networking, (5) Remove VSS.
Note: VVF strongly recommends vDS over VSS. VSS is legacy and lacks features required for vSAN health monitoring and NIOC traffic shaping.
Validation Gate
Check: VDS/VSS comparison documented; migration process understood
Expected: Feature comparison table created. Migration process documented with safety notes.
Common Errors
Final Validation
vDS health check run, network issues diagnosed and fixed, VDS/VSS differences documented
✓ vDS health check passed → All categories green (or documented warnings for nested env)
✓ Port group VLAN issue fixed → VM connectivity restored after VLAN correction
✓ VMkernel adapters verified → All hosts have correct vmk0/vmk1/vmk2 configuration
✓ VDS vs VSS documented → Feature comparison and migration process documented
Cleanup / Restore
• Restore any modified port group VLAN settings to correct values
• Revert to vds-baseline snapshot if needed
Design Reflection (VCDX)
Network architecture directly impacts all other VVF components. vSAN requires dedicated high-bandwidth network segments. NIOC ensures traffic isolation without physical NIC separation.
Requirements
- All VM traffic isolated by VLAN
- vSAN and vMotion traffic on dedicated VMkernel adapters with MTU 9000
Constraints
- Holodeck nested environment limits VLAN trunk verification
- Physical switch configuration not accessible in nested lab
Assumptions
- vDS health check provides accurate configuration validation
- NIOC shares are sufficient for workload traffic patterns
Risks
- MTU mismatch between hosts causes silent performance degradation on vSAN
- VLAN misconfiguration isolates VMs without clear error messages
Self-Assessment Discussion Prompts
- Why does vSAN require MTU 9000 and what happens if one host has MTU 1500?
- How would you use vDS port mirroring to diagnose a VM-to-VM latency issue?
- What is the safe sequence for migrating uplinks from VSS to VDS?
Extensions
Configure vDS port mirroring and capture traffic with tcpdump on an ESXi host
Test NIOC by generating heavy vMotion traffic and observing bandwidth reservation
Practice VSS-to-VDS migration using a test host with VSS configured
⚠ Known Pitfalls (from Community KB)
References
- vSphere Distributed Switch AdministrationTier 1 — Official
- vSAN Network RequirementsTier 1 — Official
- Network I/O ControlTier 1 — Official