Lab: Collect Support Bundle & Analyze Logs
Objectives
- Lab: Collect Support Bundle & Analyze Logs
Prerequisites
VCF lab environment deployed and operational
Lab Environment
Standard VCF lab environment for vSphere Foundation 9.0 Support (Support Specialist)
Tasks
Task 1 Lab: Collect Support Bundle & Analyze Logs
vCenter UI → Administration → Bundles → Request Support Bundle (initiates background collection)
Wait 5-10 minutes; download from UI when complete
Extract: tar -xzf vc_support_bundle-*.tgz
Examine vCenter log: grep -i "error\|warning" vsan/vsanmgmtd.log | head -20
Check ESXi host logs: grep "vmkernel" hostd.log | tail -10
Export summary: List 5 most critical errors for support case
Validation Gate
Check: Collect support bundles from ESXi, vCenter, and NSX Manager. Verify each bundle is complete (non-zero size) and contains logs from the expected time window.
Expected: Three bundles collected: vm-support.tgz (ESXi), vc-support.tgz (vCenter), nsx-support-bundle.tgz (NSX). Each contains logs covering the incident window. Total size is reasonable (not truncated).
Common Errors
Final Validation
Lab completed successfully
✓ All steps completed → No errors observed
Cleanup / Restore
• Revert to snapshot if needed
Design Reflection (VCDX)
Troubleshooting methodology is part of operational design. VCDX panelists may ask about your log collection strategy, incident response procedures, and how you ensure root cause analysis is possible after remediation.
Requirements
- Collect appropriate support bundles for each component
- Filter log analysis to incident time window
- Preserve evidence before remediation
Constraints
- Bundle must be collected before service restart
- Bundle size can be large — compress before transfer
- Log retention varies by component — collect promptly
Assumptions
- SSH access is available for bundle collection
- Storage space available for bundle collection on each component
Risks
- Evidence loss from restarting services before bundle collection
- Incomplete analysis from collecting wrong component's bundle