VCF on VxRail – Useful Log File Information

The following log file info is especially useful during the implementation stage, VI WLD create/delete/expand or LCM related tasks. The log files for the VCF photon based appliances can be accessed either via console or SSH.

VxRail 

/var/log/vmware/marvin/tomcat/logs/marvin.log
/var/log/vmware/loudmouth/loudmouth.log

VC Conversion log:
cat /mystic/vxrail_vvd_vc_conversion.log
cat /var/lib/vmware-marvin/runtime.properties

JSON:
cat /var/lib/vmware-marvin/config-journal.json | json_pp

###Useful Log analysis commands###

# cat marvin.log
# tail -f marvin.log
# tail -f marvin.log | grep ERROR
# tail -f marvin.log | grep ERROR –color
# tail -n 100 marvin.log
# more marvin.log

VMware Cloud Builder

SSH to CB and cd to the following location to access the VCF bring-up log files:

Bring-up logs:
/opt/vmware/bringup/logs/vcf-bringup.log
/opt/vmware/bringup/logs/vcf-bringup-debug.log

Tasks details:
ls -lt /var/log/vmware/vcf/bringup
/var/log/vmware/vcf/bringup/vcf-bringup.log
/var/log/vmware/vcf/bringup/vcf-bringup-debug.log

JSON generation & validation:
/opt/vmware/sddc-support/cloud_admin_tools/logs/JsonGenerator.log
/opt/vmware/sddc-support/cloud_admin_tools/logs/PlatformAudit.log

###Useful commands###
#tail vcf-bringup.log
#tail -f vcf-bringup.log
#tail -f vcf-bringup.log | grep ERROR
#cat vcf-bringup.log | grep ERROR
#grep “ERROR” /opt/vmware/bringup/logs/vcf-bringup.log | grep 2019-10-11 | wc -l
#cat /opt/vmware/sddc-support/cloud_admin_tools/logs/PlatformAudit.log

VMware SDDC Manager 

SSH to the SDDC manager VM as user ‘vcf’

Workload Domains: /var/log/vmware/vcf/domainmanager/domainmanager.log

/var/log/vmware/vcf/solutionsmanager/solutionsmanager.log

Host Add/Remove:
/var/log/vmware/vcf/operationsmanager/operationsmanager.log

/var/log/vmware/vcf/sddc-manager-ui-app/sddcManagerServer.log
/var/log/vmware/vcf/lcm/lcm.log
/var/log/vmware/vcf/lcm/lcm.log | morecat /var/log/vmware/vcf/lcm/lcm.log | grep “reached final state COMPLETED_WITH_SUCCESS”
/var/log/vmware/vcf/lcm/lcm-debug.log

View log messages:
tail -f /var/log/messages

Collect SDDC Mgr logs:
/opt/vmware/sddc-support/sos --sddc-manager-logs

vCenter

tail -f /var/log/vmware/vpxd/vpxd.log

ESXi

tail -f /var/log/vmkernel.log

Notes:

– Transfer Log Files via SCP:
scp ./sddcManagerServer.log ringd@10.10.0.10:/users/ringd/logs/

– Find the directory of a specific log file e.g ‘marvin.log’:
find /* -name marvin.log
find /* -name *conversion.log

Useful Reference:

https://www.linux.com/training-tutorials/14-tail-and-head-commands-linuxunix/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s