VMware Cloud Director provides logging information for each cloud cell in your server group. You can view the logs to monitor your cells and to troubleshoot any problems that you encounter during the day-to-day running of VMware Cloud Director.
To generate the logs, log in directly or by using an SSH client to the
VMware Cloud Director server as
root, and run the following script.
/opt/vmware/vcloud-director/bin/vmware-vcd-support -m -l
Important: Do not use the
-a or
-d options of the script. These options generate database dumps in a format that the VMware Technical Support team cannot use.
VMware Cloud Director Logs
Log Name File or Directory | Description |
---|---|
/opt/vmware/vcloud-director/logs/cell.log | Console output from the VMware Cloud Director cell. |
/opt/vmware/vcloud-director/logs/cell-management-tool | Cell management tool log messages from the cell. |
/opt/vmware/vcloud-director/logs/cell-runtime | Runtime log messages from the cell. |
/opt/vmware/vcloud-director/logs/cloud-proxy | Cloud proxy log messages from the cell. |
/opt/vmware/vcloud-director/logs/server-group-communications | Server group communications from the cell. |
/opt/vmware/vcloud-director/logs/statsfeeder | Virtual machine metric retrieval from vCenter Server and storage information and error messages. |
/opt/vmware/vcloud-director/logs/vcloud-container-debug.log | Debug-level log messages from the cell. |
/opt/vmware/vcloud-director/logs/vcloud-container-info.log | Informational log messages from the cell. This log also shows warnings or errors encountered by the cell. |
/opt/vmware/vcloud-director/logs/vmware-vcd-watchdog.log | Informational log messages from the cell watchdog. It records when the cell stops responding, is restarted, and so on. |
/opt/vmware/vcloud-director/logs/diagnostics.log | Cell diagnostics log. This file is empty unless diagnostics logging is enabled in the local logging configuration. |
/opt/vmware/vcloud-director/logs/YYYY_MM_DD.request.log | HTTP request logs in the Apache common log format. |
opt/vmware/vcloud-director/logs/vclistener.log | The VCListener includes the Property collector reader that collects data from vCenter Server and the PCEventProcessors that asynchronously process the updates received from vCenter Server. This log includes all the log statements corresponding to these components. |
/opt/vmware/vcloud-director/logs/activityevent.log | For each completed event, a list of local users must receive a completion event from other cells through message bus. You can use the activityevent.log to identify whether there is a completion event in the log. |
/opt/vmware/vcloud-director/logs/jobscheduler.log | You can use the log to identify issues regarding periodical scheduled activities running in VMware Cloud Director. |
VMware Cloud Director Appliance Logs
The VMware Cloud Director appliance features some additional log files.
Log file | Description |
---|---|
/opt/vmware/var/log/firstboot | Contains logging information related to the first boot of the appliance. |
/opt/vmware/var/log/vcd | Contains logs related to the Replication Manager (repmgr) tool suite setup, reconfiguration, and appliance synchronization. |
/opt/vmware/var/log/vcd/pg | Contains logs related to the backup of the embedded appliance database. |
/opt/vmware/etc/vami/ovfEnv.xml | Contains the OVF deployment parameters. |
/var/vmware/vpostgres/current/pgdata/log | Contains logs related to the embedded PostgreSQL database. |
/opt/vmware/var/log/vami/updatecli.log | Contains logging related to appliance upgrades. |
Use any text editor, text viewer, or third-party tool to view the logs.