Collecting diagnostic information for VMware Cloud Director
search cancel

Collecting diagnostic information for VMware Cloud Director

book

Article ID: 320409

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

VMware Technical Support routinely requests diagnostic information from you when a support request is handled. This diagnostic information contains product specific logs and configuration files from the host on which the product is run. The information is gathered using a specific script or tool for each product. This article provides procedures for obtaining diagnostic information for VMware Cloud Director.

Resolution



The vmware-vcd-support script collects host log information as well as Cloud Director logs:
  • For Cloud Director, run /opt/vmware/vcloud-director/bin/vmware-vcd-support
Note:
For multiple cells and packages, use this command and syntax to collect all the log bundles. The command will place the bundle in the transfer directory and report the exact location:
Running a Multi-Cell Log Collection will not collect the Java Thread Dump, if required, run a Single Log Collection from the required Cells.
/opt/vmware/vcloud-director/bin/vmware-vcd-support -m -l
  • Do not use the -a option as this generates a database dump in a format that cannot be utilized by VMware Technical Support.
 
If there is an error reported when running a Multi-Cell Log Collection please generate a log bundle for all Cells individually by running the Single Log Collection from each Cell in turn:

/opt/vmware/vcloud-director/bin/vmware-vcd-support


When you run the vmware-vcd-support script, it creates a file in the folder where the script was executed from. For example:
vmware-vcd-support-2019-07-11.25214.tgz


Log Types
TypePurposeLocation
CloudCloud Director Service Logs/opt/vmware/vcloud-director/logs/
ApplianceCloud Director Appliance Logs/opt/vmware/var/log/
DatabaseCloud Director Database Logs/opt/vmware/vpostgres/current/pgdata/log/ 
VAMICloud Director Appliance VAMI and Upgrade Logs/opt/vmware/var/log/vami/

Key Logs
NameTypePurpose
vcloud-container-debug.logCloudMain log for Cloud Director. Also has an info.log equivalent when is less verbose
cell-runtime.logCloudMonitors all inter-cell communications
<date>.request.logCloudLogs all inbound API Calls to a Cell
networking.log, networking-wire.logCloudContains all Cloud to/from NSX communication
cloud-health-<date><time>.logCloudContains a Health overview of the environment from a Cell perspective
postgresl-<date>.logDatabaseLogging used by the vpostgres service
Firstboot.logAppliance  Initial boot log for a deployment
configure-vcd.logApplianceCovers post deployment setup such as Repmgr configuration
vami-ovf.logVAMILogs the configuration input used when deploying an appliance OVF

 
Notes:
  • The logs for VMware Cloud Director are located in /opt/vmware/vcloud-director/logs.
  • Support bundles can vary in size, ensure that at least 10GB space is available for single/multi cell log collection.


Additional Information

For related information, see Configuring logging for VMware vCloud Director cells (1026815).
Uploading diagnostic information for VMware
Configuring logging for VMware vCloud Director cells
Obteniendo la información de diagnóstico en VMware vCloud Director
VMware vCloud Director 1.x/5.x の診断情報を収集する