VCAP-DCV Deploy Objective 5.3

Home / study guide / VCAP-DCV Deploy Objective 5.3

In this section we are going to cover “Manage and analyze vSphere log files”

Here are the objective from the blueprint :

  • Generate vSphere log bundles
  • Configure logging levels for vSphere
  • Configure and test centralized logging
  • Analyze log entries to obtain configuration information
  • Analyze log entries to identify and resolve issues

Lab Setup:

Using VMware workstation:

  • Microsoft Servers 2012R2 for Services (DNS , DHCP, etc…)
  • installed esx0
  • Installed VCSA
  • Management workstation (Windows OS)

 Documents used:

  • vSphere Host Profiles v6.0

Generate vSphere log bundles:

To generate support bundle login in to the vCSA under port 5480 with root user and click on create support bundle

support

Or you can do it from vCenter , from the Home screen >> Administration >> System Configuration >> Objects >> Action

logbundle

Or you can do it via the CLI run the following command from /usr/bin/:

support2

Configure logging levels for vSphere:

To configure the amount of detail that vCenter Server collects in log files

Click on the vCenter object >> Manage >> Settings >> General >> Edit

loggins

  • None (Disable logging) Turns off logging
  • Error (Errors only) Displays only error log entries
  • Warning (Errors and warnings) Displays warning and error log entries
  • Info (Normal logging) Displays information, error, and warning log entries
  • Verbose (Verbose) Displays information, error, warning, and verbose log entries
  • Trivia (Extended verbose) Displays information, error, warning, verbose, and trivia log entries

Configure and test centralized logging:

We already discuss this in the following syslog post

VCAP-DCV Deploy Objective 1.1 – part 3

Analyze log entries:

Analyzing logs to my opinion comes with experience, its hard to write something about it, the way that i am going to recommend to study for it is the following

  • On purpose fail system component and look at the logs
  • Try to mix unsupported configuration and see the failed messages
  •  Look at the logs when the system is healthy to see what going on

In addition you will have to know on what logs to look at , i have a post from the VCP study guide that can help, also look at all the troubleshooting posts in this sites and others.(there are a good bloggers out there)

VCP6-DCV blueprint section 7 – Objective 7.1: Troubleshoot vCenter Server, ESXi Hosts, and Virtual Machines

Thanks for reading

Mordi.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *