Due to the large number of different components used to support the vCloud Availability for vCloud Director deployment, logs must be collected from all the systems. If the problem is affecting only one instance or component, the number of logs collected can be reduced.

Component Versions

To get the deployed version of the vCloud Availability for vCloud Director components, you have to create an SSH connection and run the following command on the VM hosting the component:

grep fullVersion /opt/vmware/etc/appliance-manifest.xml

The system provides you the full version and build number of the appliance you are connected to.

Collect Logs Using vCloud Availability Installer Appliance

The vCloud Availability Installer Appliance provides an easy way to collect logs from all components.

To use the automatic generation of logs, verify that you have the following information:

  • vSphere Replication Manager IP address

  • vCenter Server IP address

  • vCenter Server single sign-on user name and password

  • vSphere Replication Cloud Service host IP address

  • vCloud Director host IP address

To generate logs from vCloud Availability Installer Appliance components, run the following command.

# vcav_support_logs \
hms_host=HMS-Host-VM-IP-Address \
vc_host=vCenter-Host-VM-IP-Address \
sso_user=SSO-Username \
'sso_pass=SSO-Password' \
hcs_host=HCS-Host-VM-IP-Address \
vcd_host=vCD-Host-VM-IP-Address

Run the script for every vSphere Replication Manager and vSphere Replication Cloud Service host you want to collect logs from.

Once generated, the logs are downloaded and stored in /tmp folder on the vCloud Availability Installer Appliance.

vCloud Availability for vCloud Director Portal Logs

The vCloud Availability for vCloud Director Portal log files are at /opt/vmware/logs/vcav-ui.

Table 1. vCloud Availability for vCloud Director Portal Log Files

Filename

Description

access.log

This file is generated by the nginx process and contains external request and response statuses.

dr2c.log

This file is generated by the vCloud Availability for vCloud Director Portal and contains the following:

  • Routing information

  • Details for requests to vCloud Director

  • Details for responses from vCloud Director

  • Other runtime information

error.log

This file is generated by the nginx process and contains unhandled runtime errors.

vCloud Availability for vCloud Director Service Manager Portal Logs

The vCloud Availability for vCloud Director Service Manager Portal log files are at /opt/vmware/vcav-smp/logs.

Table 2. vCloud Availability for vCloud Director Service Manager Portal Log Files

Filename

Description

service.log

This file contains HTTP client error exceptions and Java exceptions.

dr-service-manager.log

This file is generated by the vCloud Availability for vCloud Director Portal and contains the following:

  • Routing information

  • Details for requests to vCloud Director

  • Details for responses from vCloud Director

  • Other runtime information

Support Bundles

VMware Technical Support routinely requests diagnostic information from you when a support request is handled. The information is gathered using a specific script or tool for each product. Support bundles contain product-specific logs, configuration files, and data appropriate to the situation.

vCenter Server

You can generate the vCenter Server 6.0 support bundle by performing the following steps:

  1. In a Web browser, navigate to https://(vCenter_Server_FQDN):443/appliance/support-bundle.

  2. Enter root credentials and click Enter.

  3. The download starts.

For more information about vCenter Server Diagnostic, see Collecting diagnostic information for VMware vCenter Server KB Article.

vCloud Director

To collect the vCloud Director support bundle, establish an SSH connection to one of the vCloud Director VMs and run the following command:

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

The command produces a file in the following format: vmware-cvd-support-YYYY-MM-DD.NNNN.tgz. The support bundle file is at: /opt/vmware/vcloud-director/data/transfer/vmware-vcd-support

vSphere Repication Manager

To collect the support bundle for vSphere Replication Manager, perform the following steps:

  1. In a Web browser, navigate to https://(vRMS hostname or IP address):5480

  2. Log in and select the VR tab

  3. To create a support bundle file, click Generate.

  4. After the support bundle file is generated, click the file to download the support bundle

The vSphere Replication Manager support bundle includes support bundles from all connected vSphere Replication Server instances.

vSphere Replication Server

The vSphere Replication Server can generate a diagnostic bundle used to diagnose replication problems. You can generate the diagnostic bundle by opening the vSphere Replication VAMI, selecting the VRM tab, and clicking Support.

Click the Generate button and a .zip package is created containing the logs.

vSphere Replication Cloud Service

You can generate the vSphere Replication Cloud Service support bundle by running the following command on the host VM:

# /opt/vmware/hms/bin/generatesupportbundle.sh

The output is located in a subfolder at /opt/vmware/hms.

Find Job ID in vCloud Director Org log for Configure Replication task. This task can then be traced into the vSphere Replication Cloud Service logs.

Log File Location

If you are not using the support bundle capability, you can collect diagnostic information manually. The following table lists the log locations for all the components.

Table 3. Log File Location for Service Provider Components

Component

Log Location

vCenter Server 5.x and earlier versions on Windows XP, 2000, 2003

%ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\Logs\\ >

vCenter Server 5.x and earlier versions on Windows Vista, 7, 2008

C:\ProgramData\VMware\VMware VirtualCenter\Logs\

vSphere Replication Appliance

/var/log/vmware/vpxd/

vCloud Director/Cloud Proxy

/opt/vmware/vcloud-director/logs

vSphere Replication Manager 6.x

/opt/vmware/hms/logs, /opt/vmware/var/log/lighttpd/error.log, /opt/vmware/etc/vami/ovfEnv.xml, /var/log/boot.omsg, /var/log/boot.msg

vSphere Replication Cloud Service 6.x

/opt/vmware/hms/logs

vSphere Replication Server 6.x

/var/log/vmware/

vCloud Availability for vCloud Director Portal

/opt/vmware/logs/vcav-ui

vCloud Availability for vCloud Director Service Manager Portal

/opt/vmware/vcav-smp/logs

hostd

/var/run/log/hostd.log

vmkernel

/var/run/log/vmkernel.log

Cassandra Database

/opt/apache-cassandra/logs/system.log

RabbitMQ Server

/var/log/rabbitmq/rabbit@vcd.log