Collecting VCF Installer logs and VMSP logs
search cancel

Collecting VCF Installer logs and VMSP logs

book

Article ID: 402476

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This article provides procedures for collecting diagnostic information from VCF Installer 9.0/9.1 

 

Environment

VMware Cloud Foundation 9.0
VMware Cloud Foundation 9.1

Resolution

VMware Cloud Foundation 9.0.x (CLI only)

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 all available logs
/opt/vmware/sddc-support/sos --collect-all-logs --zip
 

 Option 2. Collect only VCF Installer logs
/opt/vmware/sddc-support/sos --vcf-installer-logs --zip
 
Option 3. Collect only SDDC Manager logs
/opt/vmware/sddc-support/sos --sddc-manager-logs --zip


4. 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/

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

 

VMware Cloud Foundation 9.1.x (CLI and UI option)

Steps to collect VCF installer and VMSP logs from 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 all available logs

    /opt/vmware/sddc-support/sos --collect-all-logs --zip
     

     Option 2. Collect VCF Installer logs and VMSP logs.

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

  4. 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/

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

Steps to collect VCF Installer and VMSP logs from VCF Installer UI

  1. Log in to VCF Installer UI
  2. Go to Top right drop down and click on 'Support-bundle'




  3. Select the desired components



  4. Wait for log collection to finish
  5. Download the log bundle 

Additional Information

If --log-location results in an error, try:
--log-dir /tmp/my-log-location/ 


VCF Installer ログの収集方法