Lab: VCSA Troubleshooting & Certificate Renewal
Objectives
- Lab: VCSA Troubleshooting & Certificate Renewal
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: VCSA Troubleshooting & Certificate Renewal
SSH to VCSA: ssh root@vcsa_hostname
Check services: service-control --status --all | grep -i "vpxd\|ui\|vpostgres"
View certificate expiry: openssl x509 -in /etc/vmware-vpx/ssl/rui.crt -text -noout | grep "Not After"
Check disk space: df -h /storage (should show >20% free)
Verify DB connectivity: service-control --status vpostgres (should be running)
Restart vCenter UI (non-disruptive): service-control --restart vsphere-ui
vCenter Web UI should remain responsive; hosts may briefly appear disconnected
Validation Gate
Check: Verify VCSA health: all services running, certificates not expiring within 30 days, disk partitions below 80%, and PostgreSQL database accessible
Expected: service-control --status shows all services green. Certificate Manager shows certificates valid for >30 days. df -h shows all partitions below 80%. psql can connect to VCDB.
Common Errors
Final Validation
Lab completed successfully
✓ All steps completed → No errors observed
Cleanup / Restore
• Revert to snapshot if needed
Design Reflection (VCDX)
vCenter availability is critical — a VCSA failure impacts management of the entire domain. VCDX designs should include VCSA monitoring, certificate lifecycle management, and backup/recovery procedures.
Requirements
- Monitor VCSA service health and disk space
- Manage certificate lifecycle proactively
- Maintain VCSA backup for recovery
Constraints
- Certificate renewal must follow dependency order
- Log partition can fill rapidly during service issues
- VCSA backup must be current before certificate operations
Assumptions
- VCSA backup runs daily via file-based backup
- Certificate expiry monitoring is configured in VCF Operations
Risks
- Certificate expiry cascade across VCF components
- VCSA instability from log partition exhaustion