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.
VMware Cloud Director
The vmware-vcd-support script collects host log information as well as Cloud Director logs. To generate the logs, log in directly or by using an SSH client to the VMware Cloud Director server as root, and enter the following shortcut. The shortcut will collect the logs from all available cells.
generate_support_bundle
Alternatively for a single cell log collection you can use this command: /opt/vmware/vcloud-director/bin/vmware-vcd-support
For multiple cells and packages, you can also alternatively 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
/opt/vmware/vcloud-director/bin/vmware-vcd-support/opt/vmware/vcloud-director/bin/vmware-vcd-multi-cell-log-collector. Within the file, the relevant entry appears by default as follows:# Maximum time to wait for all the cells to complete log generationreadonly TIMEOUT_IN_MINUTES=7 vmware-vcd-support-2019-07-11.25214.tgz| Type | Purpose | Location |
| Cloud | Cloud Director Service Logs | /opt/vmware/vcloud-director/logs/ |
| Appliance | Cloud Director Appliance Logs | /opt/vmware/var/log/ |
| Database | Cloud Director Database Logs | /opt/vmware/vpostgres/current/pgdata/log/ |
| VAMI | Cloud Director Appliance VAMI and Upgrade Logs | /opt/vmware/var/log/vami/ |
| Name | Type | Purpose |
vcloud-container-debug.log |
Cloud | Main log for Cloud Director. Also has an info.log equivalent when is less verbose |
cell-runtime.log |
Cloud | Monitors all inter-cell communications |
<date>.request.log |
Cloud | Logs all inbound API Calls to a Cell |
networking.log, networking-wire.log |
Cloud | Contains all Cloud to/from NSX communication |
cloud-health-<date><time>.log |
Cloud | Contains a Health overview of the environment from a Cell perspective |
postgresl-<date>.log |
Database | Logging used by the vpostgres service |
Firstboot.log |
Appliance | Initial boot log for a deployment |
configure-vcd.log |
Appliance | Covers post deployment setup such as Repmgr configuration |
vami-ovf.log |
VAMI | Logs the configuration input used when deploying an appliance OVF |
/opt/vmware/vcloud-director/logs.