How to collect SDDC Manager logs
search cancel

How to collect SDDC Manager logs

book

Article ID: 385749

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

This article provides procedures for collecting diagnostic information from SDDC Manager. 

Environment

VMware SDDC Manager

Resolution

1. SSH into the SDDC Manager with the vcf user. 

2. Elevate to root with the su command. 

3. Run the following command to collect the SDDC manager logs (See additional information if additional logs/flags are required)

/opt/vmware/sddc-support/sos --sddc-manager-logs --zip

4. Copy/SCP the log bundle from the SDDC Manager. 

Unless specified the default log location is /var/log/vmware/vcf/sddc-support/

5. Follow KB 140731 to upload the files to the support request. 

Note: If you are already logged in as a 'root' user, skip step 2 and do not use 'su' to elevate the command.

Additional Information


SOS Log Collections Options:

--log-folder LOGFOLDER Specify name of the directory
--log-dir LOGDIR Dump logs to given directory
--esx-logs Collect ESXi logs
--vc-logs Collect vCenter Server logs
--sddc-manager-logs Collect SDDC-Manager logs
--vxrail-manager-logs Collect VxRail-Manager logs(Applicable for VxRail)
--psc-logs Collect PSC logs
--nsx-logs Collect NSX logs
--wcp-logs Collect Log WCP cluster logs
--automation-logs Collect VMware Aria Automation support logs
--operations-for-logs Collect VMware Aria Operations for Logs support logs
--lifecycle-logs Collect VMware Aria Suite Lifecycle support logs
--no-clean-old-logs Do not clean old log folder
--test Sanity test logs collected by verifying the files
--no-health-check Skip Health Check executed as part of SoS log collection
--api-logs  Collect output from APIs
--vm-screenshots Collect all VM screenshots
--system-debug-logs Collect System logs to help debug in abnormal scenarios like memory leak
--collect-all-logs Collect logs for all components, excluding WCP and system-debug-logs pass --domain-name DOMAINNAME, For all
domains pass --domain-name ALL (Default: MANAGEMENT)