Book Image

Mastering VMware vSphere 6.7, - Second Edition

By : Martin Gavanda, Andrea Mauro, Paolo Valsecchi, Karel Novak
Book Image

Mastering VMware vSphere 6.7, - Second Edition

By: Martin Gavanda, Andrea Mauro, Paolo Valsecchi, Karel Novak

Overview of this book

vSphere 6.7 is the latest release of VMware’s industry-leading, virtual cloud platform. It allows organisations to move to hybrid cloud computing by enabling them to run, manage, connect and secure applications in a common operating environment. This up-to-date, 2nd edition provides complete coverage of vSphere 6.7. Complete with step-by-step explanations of essential concepts, practical examples and self-assessment questions, you will begin with an overview of the products, solutions and features of the vSphere 6.7 suite. You’ll learn how to design and plan a virtual infrastructure and look at the workflow and installation of components. You'll gain insight into best practice configuration, management and security. By the end the book you'll be able to build your own VMware vSphere lab that can run even the most demanding of workloads.
Table of Contents (22 chapters)
Free Chapter
1
Section 1: Getting Started
8
Section 2: Managing Resources
13
Section 3: Advanced Topics
18
Section 4: Building Your Lab Environment

Troubleshooting a virtual environment

From my perspective, GUI tools are not the ideal tools to use for TRBL. You will mostly stick with the logs and CLI commands to dig down into your environment if something goes wrong.

Although some GUI tools might be handy, such as vRealize Operations or vRealize Log Insight (discussed in the previous chapter), we will focus on the CLI tools for troubleshooting.

CLI tools

The CLI is the most useful option for TRBL. There are a lot of CLIs available that are used for TRBL in a VMware environment:

  • vSphere ESXi shell: esxcli, which is the new CLI
  • vSphere command-line interface vCLI: esxcfg-*, which is the old CLI

Both CLIs can be used directly from an ESXi host, and the ESXi shell must...