One Liner to Gather Logs for vCO for VMware or Plugin Provider Manully When VAMI Log Bundle Collection Not Working

Mindwatering Incorporated

Author: Tripp W Black

Created: 12/09/2020 at 11:28 AM

 

Category:
VMWare
vRA, vRO - VCAC

One liner command to zip up the server.log files, the catalina.out file, the catalina.log files, and the scripting.log files for transfer off the embedded appliance to VMware.

# mkdir /root/tmp/
# cd /var/log/vco/app-server/
# zip /root/tmp/log_bundlefilename.zip server.log server.log.* catalina.out catalina.log scripting.log scripting.log.*
< zip produced back in the /root/tmp/ folder>

vCO logs (eg. catalina.log and catalina.out):
/var/log/vmware/vco/app-server/

vCO logs from vRA (e.g. custom form presentation layer):
/var/log/vmware/vcac/



Workaround for Stuck Data Collection in vRA 7.6.x VAMI:

1. Reset the database:
$ ssh postgres@vra.mindwatering.net
<enter pwd>

Manage the vCAC database:
$ psql -d vcac

Run the following Queries:
> update cluster_commands set status = 'FAILED' where type = 'log-bundle' and status='PROCESSING';

> update cluster_commands set status = 'FAILED' where type = 'archive-bundles' and status='QUEUED';


2. Verify Timezone
VAMI --> System (tab) --> Timezone (tab) is UTC.


3. Remove any large .hprof or .sql dumps in the logs partition not desired to be retained/included in the bundle.
$ ssh root@vra.mindwatering.net
# cd /storage/logs/vmware
< view and purge if needed>





previous page

×