Collecting SDDC Manager and VMSP logs
search cancel

Collecting SDDC Manager and VMSP logs

book

Article ID: 385749

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

This article provides procedures for collecting diagnostic information from SDDC Manager and VMSP (VCF 9.1+)

Environment

VMware SDDC Manager 4.X

VMware SDDC Manager 5.X

VMware SDDC Manager 9.X

Resolution

VMware Cloud Foundation 4.x ,5.x, 9.x

  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. 


VMware Cloud Foundation 9.1.x 

Steps to collect SDDC Manager and VMSP logs from SDDC Manager CLI

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

  2. Elevate to root with the su command.

  3. Run one of the following commands to collect the VCF Installer logs (See additional information if additional logs/flags are required)

    Option 1. Collect SDDC Manager logs and VMSP logs.

    /opt/vmware/sddc-support/sos --sddc-manager-logs --vcf-mgmt-svcs-logs --zip

    Option 2.

    Copy/SCP the log bundle from the VCF Installer. Unless specified the default log location is /var/log/vmware/vcf/sddc-support/

    Add the following to the command to specify a log location

    --log-location /tmp/my-log-location/

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

Additional Information


VMware SDDC Manager 4.x & 5.X
SOS Log Collections Options:

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





VMware SDDC Manager 9.x 
SOS Log Collections Options:

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