Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
VMware vSphere Troubleshooting
VMware vSphere Troubleshooting

VMware vSphere Troubleshooting: Gain expertise in troubleshooting most common issues to implement vSphere environments with ease

Arrow left icon
Profile Icon Zeeshan Munir
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (4 Ratings)
Paperback Nov 2015 270 pages 1st Edition
eBook
$9.99 $35.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Zeeshan Munir
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (4 Ratings)
Paperback Nov 2015 270 pages 1st Edition
eBook
$9.99 $35.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$9.99 $35.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

VMware vSphere Troubleshooting

Chapter 2. Monitoring and Troubleshooting Host and VM Performance

In the previous chapter, you learned some basic troubleshooting skills and performed some vSphere troubleshooting. This chapter extends those skills deeper by using different monitoring tools to observe vSphere performance and identifies any potential problems that can cause bottlenecks in your infrastructure.

The topics covered in this chapter are as follows:

  • Tools for performance monitoring
  • Analyzing the esxtop results
  • Understanding key performance metrics (CPU, memory, network, storage)
  • Using vMA and remote esxtop
  • Analyzing vCenter performance charts
  • Creating charts
  • Configuring metrics
  • Configuring logging level for performance
  • USB attached virtual machines
  • Fault-tolerant virtual machines

The previous chapter thoroughly covered how to collect diagnostic information and different logs from vSphere hosts. Sometimes, the diagnostic information you have collected is not enough to identify the root cause of the problems vSphere...

Tools for performance monitoring

As already mentioned, VMware provides many power tools to monitor the performance of your vSphere infrastructure. These power tools help you to diagnose different problems of your vSphere hosts and vCenter Server in order to resolve them. Let's take a look at some of the tools.

Using esxtop/resxtop

The main tool for performance monitoring is esxtop, which collects data based on different metrics, for example, host memory usage, network usage, disk usage/IOPs and CPU usage.

Esxtop is just like using top in Linux. It has the same look and feel and provides the same kind of information provided by top tools in Linux. Esxtop is a famous tool almost every seasoned system administrator knows about. It can be used in real-time performance monitoring of vSphere hosts, and metrics can be monitored for system interruptions, CPU, network, disk device, disk adapter, and memory, each on a dedicated screen. The real-time monitoring can help you to identify different...

Analyzing esxtop results

The data collected by esxtop is processed as rates. When you run the esxtop command without any parameters, it presents the server-wide and individual statistics of a VM, the resource pool, the CPU utilization, and a world. A world is a technical term, like a running process in VMware terms, that represents a single VMkernel schedulable entity or a process or processes running on VMkernel. As we have a total of 369 worlds (see Figure 2.1), it is called group of worlds. These worlds can belong to a group of idle worlds, group of system worlds, group of helper worlds, or another group of worlds.

Understanding CPU statistics

I will explain the statistics found in Figure 2.1. The first line you can find in esxtop or vtop starts with the current system time. The uptime indicates how long the host is up. As you can see in the preceding figures, our host is up since the last 431 days. The next is the number of worlds, which in our case is 369.

The next option indicates the...

Memory statistics

VMware vSphere hosts are designed to utilize memory efficiently like other resources. The resource management policies are implemented in the vSphere host to allocate memory to the virtual machines it is hosting. This allocation is based on the allocated memory setting of a virtual machine and the current system load. The vSphere host reveals different memory statistics that can be viewed using esxtop. Before we start looking into memory statistics, let's look at a brief introduction of how a vSphere host manages its memory.

Memory statistics

Figure 2.6

Memory management in a vSphere host

Before we take a look at vSphere host memory metrics, I will walk you through memory management in a vSphere host system briefly. The memory management concept in a vSphere host will help you to understand the metrics displayed by esxtop. A vSphere host reclaims memory to provision memory overcommitment.

Memory overcommitment

The vSphere host system reserves physical memory for guaranteed delivery of memory...

Network metrics

The third common type of metrics that can be obtained from esxtop is network metrics. These metrics can help you troubleshoot network usage for your vSphere host and the virtual machines:

  1. Connect to a vSphere host using SSH and log in as root or an administrative user.
  2. In the command prompt, type esxtop without any flags.
  3. Press n to view the network screen. This screen displays detailed information about network usage.
  4. You need to enable some additional information for the physical network properties of vSphere hosts in esxtop for the UP (uplink), FULLDUPLEX, SPEED, TEAM-PNIC fields. Press c to enable the aforementioned fields; you can press c again to remove any field.
  5. Press f to go into the Current Field Order screen.
  6. Press the Esc key to return to the esxtop network statistics screen.

Understanding network metrics

In esxtop, network statistics are displayed for each port of a virtual switch. These ports are then either linked as uplinks to a physical network adapter or they are...

Storage metrics

Before we start exploring disk performance metrics, I will walk you through three different screens for the disk metrics. The first storage metrics screen is called disk device view, where you can view LUN information; the second one is the disk VM screen where you can see the statistics per virtual machine basis; and the last one is the disk adapter screen where you can view the information of disk statistics per host bus adapter (HBA) basis.

Let's access esxtop to view the disk statistics in the LUN mode:

  1. Connect to a vSphere host using SSH and log in as root or an administrative user.
  2. In the command prompt, type esxtop without any flags.
  3. Press u to switch disk device screen. This screen displays detailed information about storage, including your LUN, available data stores, shares, and number of objects.
  4. Press f to go into Current Field Order screen.
  5. You need to enable some additional information for the Number of Objects and Shares fields. Press c and then press d to enable...

Tools for performance monitoring


As already mentioned, VMware provides many power tools to monitor the performance of your vSphere infrastructure. These power tools help you to diagnose different problems of your vSphere hosts and vCenter Server in order to resolve them. Let's take a look at some of the tools.

Using esxtop/resxtop

The main tool for performance monitoring is esxtop, which collects data based on different metrics, for example, host memory usage, network usage, disk usage/IOPs and CPU usage.

Esxtop is just like using top in Linux. It has the same look and feel and provides the same kind of information provided by top tools in Linux. Esxtop is a famous tool almost every seasoned system administrator knows about. It can be used in real-time performance monitoring of vSphere hosts, and metrics can be monitored for system interruptions, CPU, network, disk device, disk adapter, and memory, each on a dedicated screen. The real-time monitoring can help you to identify different problems...

Analyzing esxtop results


The data collected by esxtop is processed as rates. When you run the esxtop command without any parameters, it presents the server-wide and individual statistics of a VM, the resource pool, the CPU utilization, and a world. A world is a technical term, like a running process in VMware terms, that represents a single VMkernel schedulable entity or a process or processes running on VMkernel. As we have a total of 369 worlds (see Figure 2.1), it is called group of worlds. These worlds can belong to a group of idle worlds, group of system worlds, group of helper worlds, or another group of worlds.

Understanding CPU statistics

I will explain the statistics found in Figure 2.1. The first line you can find in esxtop or vtop starts with the current system time. The uptime indicates how long the host is up. As you can see in the preceding figures, our host is up since the last 431 days. The next is the number of worlds, which in our case is 369.

The next option indicates the...

Memory statistics


VMware vSphere hosts are designed to utilize memory efficiently like other resources. The resource management policies are implemented in the vSphere host to allocate memory to the virtual machines it is hosting. This allocation is based on the allocated memory setting of a virtual machine and the current system load. The vSphere host reveals different memory statistics that can be viewed using esxtop. Before we start looking into memory statistics, let's look at a brief introduction of how a vSphere host manages its memory.

Figure 2.6

Memory management in a vSphere host

Before we take a look at vSphere host memory metrics, I will walk you through memory management in a vSphere host system briefly. The memory management concept in a vSphere host will help you to understand the metrics displayed by esxtop. A vSphere host reclaims memory to provision memory overcommitment.

Memory overcommitment

The vSphere host system reserves physical memory for guaranteed delivery of memory...

Network metrics


The third common type of metrics that can be obtained from esxtop is network metrics. These metrics can help you troubleshoot network usage for your vSphere host and the virtual machines:

  1. Connect to a vSphere host using SSH and log in as root or an administrative user.

  2. In the command prompt, type esxtop without any flags.

  3. Press n to view the network screen. This screen displays detailed information about network usage.

  4. You need to enable some additional information for the physical network properties of vSphere hosts in esxtop for the UP (uplink), FULLDUPLEX, SPEED, TEAM-PNIC fields. Press c to enable the aforementioned fields; you can press c again to remove any field.

  5. Press f to go into the Current Field Order screen.

  6. Press the Esc key to return to the esxtop network statistics screen.

Understanding network metrics

In esxtop, network statistics are displayed for each port of a virtual switch. These ports are then either linked as uplinks to a physical network adapter or they are...

Left arrow icon Right arrow icon

Key benefits

  • Plan, analyze, and design effective solutions for your vSphere environment
  • Troubleshoot problems related to vSphere performance
  • Familiarize yourself with the advanced troubleshooting conceptsand become an xpert level administrator

Description

VMware vSphere is the leading server virtualization platform with consistent management for virtual data centers. It enhances troubleshooting skills to diagnose and resolve day to day problems in your VMware vSphere infrastructure environment. This book will provide you practical hands-on knowledge of using different performance monitoring and troubleshooting tools to manage and troubleshoot the vSphere infrastructure. It begins by introducing systematic approach for troubleshooting different problems and show casing the troubleshooting techniques. You will be able to use the troubleshooting tools to monitor performance, and troubleshoot issues related to Hosts and Virtual Machines. Moving on, you will troubleshoot High Availability, storage I/O control problems, virtual LANS, and iSCSI, NFS, VMFS issues. By the end of this book, you will be able to analyze and solve advanced issues related to vShpere environment such as vcenter certificates, database problems, and different failed state errors.

Who is this book for?

The books is intended for mid-level System Engineers and System Integrators who want to learn VMware power tools to troubleshoot and manage the vSphere infrastructure. Good knowledge level and understanding of virtualization is expected.

What you will learn

  • Configure vSphere management assistant and troubleshooting tools
  • Use troubleshooting tools to monitor performance and troubleshoot different issues
  • Learn how to troubleshoot High Availability and other commonly known problems with clusters such as insufficient resources, failing heartbeats
  • Use Direct Console User Interface (DCUI) to verify configuration
  • Diagnose storage issues including iSCSI, NFS and VMFS problems
  • Manage vSphere Network Virtual and Distributed Switches, Trunks, VLANS
  • Monitor and shape network traffic, configure routes and DNS
  • Quickly resolve common day-to-day problems by analysing logs of VMware vSphere hosts and VMware vCenter Server
  • Debug and resolve commonly known vSphere Cluster problems

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 02, 2015
Length: 270 pages
Edition : 1st
Language : English
ISBN-13 : 9781783551767
Vendor :
VMware
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Nov 02, 2015
Length: 270 pages
Edition : 1st
Language : English
ISBN-13 : 9781783551767
Vendor :
VMware
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 186.97
VMware Performance and Capacity Management, Second Edition
$65.99
Learning VMware vSphere
$65.99
VMware vSphere Troubleshooting
$54.99
Total $ 186.97 Stars icon
Banner background image

Table of Contents

10 Chapters
1. The Methodology of Problem Solving Chevron down icon Chevron up icon
2. Monitoring and Troubleshooting Host and VM Performance Chevron down icon Chevron up icon
3. Troubleshooting Clusters Chevron down icon Chevron up icon
4. Monitoring and Troubleshooting Networking Chevron down icon Chevron up icon
5. Monitoring and Troubleshooting Storage Chevron down icon Chevron up icon
6. Advanced Troubleshooting of vCenter Server and vSphere Hosts Chevron down icon Chevron up icon
A. Learning PowerGUI Basics Chevron down icon Chevron up icon
B. Installing VMware vRealize Operations Manager Chevron down icon Chevron up icon
C. Power CLI - A Basic Reference Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(4 Ratings)
5 star 50%
4 star 25%
3 star 25%
2 star 0%
1 star 0%
Aravind Dec 31, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Must read book for VMware admins
Amazon Verified review Amazon
Amazon Customer Jul 04, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Excellent book
Amazon Verified review Amazon
Amazon Customer Dec 11, 2016
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Good and satisfied
Amazon Verified review Amazon
Placeholder Feb 16, 2019
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
Screenshots are not clear
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.