You can set automatic generation of logs by running a script on the vCloud Availability Installer Appliance.

The script /opt/vmware/vcav-installer/support-scripts/vcav_support_logs on the vCloud Availability Installer Appliance provides an easy way to collect logs from all vCloud Availability for vCloud Director 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

  • vCloud Availability for vCloud Director Portal host IP address

  • vCloud Availability for vCloud Director Service Manager Portal host IP address

Collecting Logs Only from a vSphere Replication Cloud Service Appliance

To generate logs from a vSphere Replication Cloud Service Appliance, run the following command.

# vcav_support_logs \
hcs_host=HCS-Host-VM-IP-Address

To download support log bundle to the /tmp directory on the vCloud Availability Installer Appliance, you must enter the password for the vSphere Replication Cloud Service host.

Collecting Logs Only from a vSphere Replication Manager Appliance

To generate logs from a vSphere Replication Manager Appliance, 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

To download support log bundle to the /tmp directory on the vCloud Availability Installer Appliance, you must enter the password for the vSphere Replication Manager host.

Collecting Logs Only from a vCloud Availability for vCloud Director Portal Host

To generate logs from a vCloud Availability for vCloud Director Portal Appliance, run the following command.

# vcav_support_logs \
ui_host=Portal-Host-VM-IP-Address

To download support log bundle to the /tmp directory on the vCloud Availability Installer Appliance, you must enter the password for the vCloud Availability for vCloud Director Portal host.

Collecting Logs Only from a vCloud Availability for vCloud Director Service Manager Portal Host

To generate logs from a vCloud Availability for vCloud Director Service Manager Portal Appliance, run the following command.

# vcav_support_logs \
smp_host=SMP-Portal-Host-VM-IP-Address

To download support log bundle to the /tmp directory on the vCloud Availability Installer Appliance, you must enter the password for the vCloud Availability for vCloud Director Service Manager Portal host.

Collecting Logs Only from All the vCloud Availability for vCloud Director Components

To generate logs from all the vCloud Availability for vCloud Director 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 \
smp_host=SMP-Portal-Host-VM-IP-Address 
ui_host=Portal-Host-VM-IP-Address

You can find the logs in the /tmp directory on the vCloud Availability Installer Appliance.