VCP-6 Objective 7.3–Troubleshoot vSphere Upgrades

For this objective I used the following resources:

Objective 7.3 – Troubleshoot vSphere Upgrades

Knowledge

Identify vCenter Server and vCenter Server Appliance Upgrade Issues

For this section I am going to take the easy way out. Refer to Section 12 of the vSphere Troubleshooting  documentation. This section covers the following topics:

  • Collecting Logs for Troubleshooting a vCenter Server Installation or Upgrade
  • Collect Logs to Troubleshoot ESXi Hosts
  • Errors and Warnings Returned by the Installation and Upgrade Precheck Script
  • Restore vCenter Server Services if Upgrade Fails
  • VMware Component Manager Error During Startup After vCenter Server Appliance Upgrade
  • Microsoft SQL Database Set to Unsupported Compatibility Mode Causes vCenter Server Installation or Upgrade to Fail

Create a Log Bundle

Locate/Analyze VMware Log Bundles

There are multiple ways to get at this information, but I will assume the exam is going to be geared more towards using the vSphere Web Client for this task.

Using vSphere Web Client

Have a look over at VMware KB Article 2032892, Collecting Diagnostic Information for ESX/ESXi Hosts and vCenter Server Using the vSphere Web Client.

      • Log into the vSphere Web Client with administrative privileges
      • Under Inventory Lists, select vCenter Servers
      • Click the vCenter Server that contains the ESX/ESXi hosts you
      • wish to export logs from
      • Select the Monitor tab in right hand navigation screen and choose System Logs
      • Click the Export Systems Logs
      • Select the ESX/ESXi hosts you wish to export logs from
      • Optionally, select the Include vCenter Server and vSphere Web Client Logs.
      • Click Next
      • Select the type of Log Data to be exported
      • Optionally, select to Gather Performance Data
      • When ready click the Generate Log Bundle
      • Once the log bundle is generated, click Download Log Bundle
      • Select a location and click Save

 

Log_Bundle

For additional diagnostic and log collection (either virtual appliance, ESXi hosts, or Windows vCenter) have a look at the following VMware KB articles:

Identify Alternative Methods to Upgrade ESXi Hosts in Event of Failure

For this section not really sure what VMware is after with the “Event of Failure” piece. I am going to tackle this from the perspective of outlining the supported methods of upgrading an ESXi hosts. My guess this will give the baseline knowledge for the exam that you will need.

  • vSphere Update Manager – For me this is my favorite of the options. You should already have VUM installed in your environment so the only work that really needs to be done is importing the ESXi 6.0 ISO into the repository and creating an Upgrade baseline. Super easy.
  • Upgrade via ESXi Installer (ISO on USB/CD/DVD) – In a small enough environment you might just be able to create a boot image from the ESXi 6.0 ISO and place it on a CD/DVD/USB device and boot the ESXi host from it. This would be labeled as an “interactive” upgrade. You will have to provide some inputs to complete the upgrade
  • Perform Scripted Upgrade – I myself haven’t used nor seen a lot of scripted upgrades in the field. It is supported and could be a faster deployment method to multiple hosts over VUM.
  • vSphere Auto Deploy – Using Auto Deploy you can reprovision the host and reboot it with a new image profile. This profile would include the ESXi upgrade to 6.x. You will need to leverage vSphere Image Builder to build the package
  • esxcli – You can use the esxcli command-line utility to upgrade hosts to ESXi 6.x

Configure vCenter Logging Options

  • Log into the vSphere Web Client with administrative privileges
  • Under Resources, select vCenter Servers
  • Click the vCenter Server to update the level of logging
  • Select the Settings tab in right hand navigation screen and choose General
  • From the General  tab click Edit
  • The Edit vCenter Server Settings dialog will be displayed. Select Logging Settings
  • Select the level of logging from the Logging Options dropdown.
  • Click OK when finished

Logging_Options

The available options are:

Option Description
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 – Default) 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

 

%d bloggers like this: