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

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

In this post i will cover the last subject in before I take the course and then the two VCP 6 exams.

The following are the objective from the blueprint:

  • Monitor status of the vCenter Server service
  • Perform basic maintenance of a vCenter Server database
  • Monitor status of ESXi management agents
  • Determine ESXi Host stability issues and gather diagnostics information
  • Monitor ESXi system health
  • Locate and analyze vCenter Server and ESXi logs
  • Troubleshoot common issues, including:
    • vCenter Server service
    • SSO
    • vCenter Server connectivity
    • Virtual machine resource contention, configuration and operation
    • Platform Services Controller (PSC)
    • Problems with installation
    • VMware Tools installation
    • Fault Tolerant network latency

 

Monitor status of the vCenter Server service:

To look or to modify vCenter services  from the home page click on system configuration under nodes , vCenter and objects click on services. From here you can monitor the service health and state in addition you can also Stop/Start the services.

vcenter_services1

Perform basic maintenance of a vCenter Server database:

There is a great blog post on VMware blogs (https://blogs.vmware.com/kb/2013/05/the-inside-scoop-maintenance-tips-for-your-vsphere-database.html)

basically we need to perform the following tasks:

  • Monitor scheduled database jobs to ensure they are running correctly
  • Collect Stats
  • Rebuild Indexes
  • Delete old data
  • Monitor Database Growth

Monitor status of ESXi management agents:

To restart the the ESXi host management agent you can do via the ESXi console or via SSH(if enabled)

The following symptoms taking from VMware KB1003490 requires management agent restart:

  • Cannot connect ESXi/ESX to VirtualCenter/vCenter Server
  • Cannot connect directly to the ESXi/ESX host from the VMware Infrastructure Client / vSphere Client
  • Cannot stop or start a virtual machine
  • A virtual machine is shown as running in vCenter Server when it is not
  • vCenter Server displays the error:  “Virtual machine creation may fail because agent is unable to retrieve VM creation options from the host” 

esxi_tshoot2

 

Monitor ESXi system health:

To monitor the status of ESXi  health , we can look under hosts and cluster the host and than monitor, in the monitor tab you want to pay attention to the “Issues” and “Hardware Status” sub tabs

Issues will include all the warning and error for the esxi host and under Hardware status you can find any hardware related issues .in addition you can setup alerts and warning for a specific threshold in your ESXi hosts.

esxi_tshoot1

Determine ESXi Host stability issues and gather diagnostics information:

This subject is very vague i looked at the troubleshooting document and i didn’t know if i need now to know all the issues with ESXi host so i google it and i found the following VMware KB article : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007813 . This KB also includes links to other issues and how to collect diagnostics .

Locate and analyze vCenter Server and ESXi logs:

ESXi logs:

logs1
Source: VMware vSphere Troubleshooting document

 

vCenter logs:

logs2
Source: VMware vSphere Troubleshooting document

 

logs3
Source: VMware vSphere Troubleshooting document

 

You can also access some of your ESXi and vCenter logs from the web client

logs4

 

Troubleshoot common issues:

So i looked at the  VMware vSphere Troubleshooting document for some information about this subject and i couldn’t find a “Common issues” with each subject , so i decided to look for KB articles , here is what i found:

 

 

Thanks for reading

Mordi.

 

 

Leave a Reply

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