Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Troubleshooting vSphere Storage
Troubleshooting vSphere Storage

Troubleshooting vSphere Storage: All vSphere administrators will benefit big-time from this book because it gives you clear, practical instructions on troubleshooting a whole host of storage problems. From fundamental to advanced techniques, it's all here.

eBook
$17.99 $25.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Troubleshooting vSphere Storage

Chapter 2. Commonly Used Tools for Troubleshooting Storage

Now that we have established a little bit of background knowledge on some of the storage concepts and how to identify different components as it pertains to storage within vSphere, it's time to look at a few tools we can use to aid us in troubleshooting storage issues.

This chapter will give you basic knowledge of a troubleshooting methodology provided by VMware and then show us how we can use some of the built-in tools and logs from within vSphere, ESXi, and other applications to discover and solve storage issues. This fundamental knowledge of how to use these tools is key to understanding and interpreting some of the examples throughout the book.

This chapter will cover the following:

  • The vSphere troubleshooting methodology

  • Using vCenter Storage Maps and Storage Reports

  • Using esxtop/resxtop

  • Common logfiles used in storage troubleshooting

The vSphere troubleshooting methodology


In February 2011, VMware released a technical whitepaper titled Performance Troubleshooting for vSphere 4.1 available at http://www.vmware.com/resources/techresources/10179. This document provides a large quantity of information as it pertains to troubleshooting not just storage but also CPU, memory, and network from within a vSphere environment and I highly recommend you read it for yourself. Although the current version of vSphere has changed since its publication, the methodologies, workflows, and recommendations in the document still stand today.

That being said, I will highlight some of the key points of the document as well as explain the importance of applying a troubleshooting methodology within our own environments.

When developing any type of process or workflow, it is very important to start with a broad and holistic view of the overall goal, and the same holds true with a troubleshooting methodology. Although you may find as you move through...

vCenter Storage Views (Reports and Maps)


One of the most commonly used tools used to troubleshoot storage is the Storage Views tab inside the vSphere Client. These storage views provide us with an easy and efficient way to determine what is consuming all of our storage as well as giving us a visually appealing graphical representation of how all of our inventory objects are connected as it pertains to storage.

Tip

Storage views should be available by default within the vSphere Client; however, I have seen times when the tab is not displayed. The storage views functionality is provided by a plugin within vSphere so if you don't see it be sure to have a look in your plugin manager for the vCenter Storage Monitoring plugin and make sure that it is enabled.

The Storage Views tab is available on three of the four vCenter Server Inventory layouts; Hosts & Clusters, VMs and Templates, and Datastores. Depending on which inventory object is selected, the data being displayed will change. However...

Using esxtop/resxtop


VMware's esxtop command is a very useful tool when it comes to really understanding and troubleshooting our environment. For anyone who has ever used the Linux's top command, you will notice that it is very similar in functionality and usability; however, the difference is that esxtop is only available within the ESXi command-line interface (with the exception of resxtop, which is available from the vSphere Management Assistant) and is geared towards a virtual environment. The esxtop tool provides us with many real-time statistics with regard to how our virtual environment is utilizing resources and performing.

However, esxtop is not just a storage troubleshooting tool. We can see in the following screenshot that esxtop is able to present displays on CPU, memory, network, power, interrupt, disk adapters, disk devices, and individual virtual machine disks. For the scope of this book, we will cover only the storage related displays of esxtop; however, I highly recommend...

Logfiles used in vSphere Storage troubleshooting


Logfiles have long been the norm for providing us with a wealth of information as to what is occurring inside any system. The same holds true with vSphere and ESXi. In fact, vSphere has quite a few logfiles that it uses to report on almost every single event that occurs within our environment. This is the main reason why the first thing that is asked to any customer during a support call is to send the logfile bundle for further analysis. Whether it is the ESXi host, vCenter Server, or the virtual machine itself, each has its own set of logfiles stored in different locations.

ESXi logging

ESXi has a very robust logging system with a number of different logfiles. Each one provides a unique and organized way of logging different events that occur. For instance, shell authentication events go to the auth log, patch and update events will go to the esxupdate log, and so on. The following table shows a full list of all the logs contained in an ESXi...

Summary


We should now have a good idea about some of the tools we can use to troubleshoot vSphere Storage, including Storage Maps/Reports, esxtop, and some of the common logfiles that vCenter and ESXi log information messages to. We should also note the importance of implementing and having a solid understanding of how to create and use a troubleshooting methodology within our own environments.

In the next chapter, we will use the knowledge and tools gained from the previous chapters to troubleshoot issues as they pertain to storage connectivity and visibility.

Left arrow icon Right arrow icon

Key benefits

  • Identify key issues that affect vSphere storage visibility, performance, and capacity
  • Comprehend the storage metrics and statistics that are collected in vSphere
  • Get acquainted with the many vSphere features that can proactively protect your environment

Description

Virtualization has created a new role within IT departments everywhere; the vSphere administrator. vSphere administrators have long been managing more than just the hypervisor, they have quickly had to adapt to become a ‘jack of all trades' in organizations. More and more tier 1 workloads are being virtualized, making the infrastructure underneath them all that more important. Due to this, along with the holistic nature of vSphere, administrators are forced to have the know-how on what to do when problems occur.This practical, easy-to-understand guide will give the vSphere administrator the knowledge and skill set they need in order to identify, troubleshoot, and solve issues that relate to storage visibility, storage performance, and storage capacity in a vSphere environment.This book will first give you the fundamental background knowledge of storage and virtualization. From there, you will explore the tools and techniques that you can use to troubleshoot common storage issues in today's data centers. You will learn the steps to take when storage seems slow, or there is limited availability of storage. The book will go over the most common storage transport such as Fibre Channel, iSCSI, and NFS, and explain what to do when you can't see your storage, where to look when your storage is experiencing performance issues, and how to react when you reach capacity. You will also learn about the tools that ESXi contains to help you with this, and how to identify key issues within the many vSphere logfiles.

Who is this book for?

If you are a vSphere administrator, this is the book for you. This book will provide you with 'need to know' information about the various storage transports that ESXi utilizes, the tools and techniques we can use to identify problems, and the fundamental knowledge and steps to take to troubleshoot storage-related issues. Prior knowledge of the VMWare environment is assumed.

What you will learn

  • Identify the root cause of storage issues within vSphere
  • Understand where to look when storage is suddenly not available
  • Use esxtop to monitor and discover pain points in your infrastructure
  • Diagnose and resolve SCSI reservations and queuing issues
  • Design storage properly based on workloads
  • Monitor and alert on your thinly provisioned disks and data store capacity
  • Utilize Storage DRS to proactively balance your capacity and workload on your data stores
  • Maintain compliance in terms of placement with Profile Driven Storage
  • Grant VMs the performance they need with Storage I/O Control
  • Decipher storage-related error entries in the vSphere logfiles

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 20, 2013
Length: 150 pages
Edition : 1st
Language : English
ISBN-13 : 9781782172079
Vendor :
VMware
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Nov 20, 2013
Length: 150 pages
Edition : 1st
Language : English
ISBN-13 : 9781782172079
Vendor :
VMware
Languages :
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 $ 159.97
Implementing VMware vCenter Server
$54.99
Troubleshooting vSphere Storage
$43.99
vSphere High Performance Cookbook
$60.99
Total $ 159.97 Stars icon

Table of Contents

5 Chapters
Understanding vSphere Storage Concepts and Methodologies Chevron down icon Chevron up icon
Commonly Used Tools for Troubleshooting Storage Chevron down icon Chevron up icon
Troubleshooting Storage Visibility Chevron down icon Chevron up icon
Troubleshooting Storage Contention Chevron down icon Chevron up icon
Troubleshooting Storage Capacity and Overcommitment Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.6
(7 Ratings)
5 star 71.4%
4 star 14.3%
3 star 14.3%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Marco C. Oct 13, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The definitive guide to understand vSphere storage management and troubleshooting. Very useful the ending section about problem investigation and solution. A must read.
Amazon Verified review Amazon
Tim Antonowicz Dec 28, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
In my 10+ years of managing and designing vSphere environments, I have come across a few books that should be on the desks of every vSphere Administrator. You should not be caught without a copy of Mastering VMware vSphere by Scott Lowe and Nick Marshall, VMware vSphere Design by Scott Lowe and Forbes Guthrie, and vSphere Clustering Deepdive by Duncan Epping and Frank Denneman. Mike Preston's Troubleshooting vSphere Storage could easily be added to the list. While the book is only 5 chapters long, it is organized in a logical fashion that not only allows for easy reading, but quick bookmarking. The first chapter gives an overview of how storage is organized within virtual environments. It lays out the framework of storage organization within vSphere and how it relates to the physical world of servers, networks, and shared storage. Some basic information is introduced for the novice, followed by more detailed explanations of how the pieces interact. The usual 'alphabet soup' of acronyms doesn't detract from the layout and keeps the reader on track. With this foundation in place, it allows for the other chapters to flow in an organized fashion. The following chapters outline which tools to use to analyze your storage, where to look for problems and how to identify them. Common problems such as contention, capacity, and overcommitment are identified for the reader and several tips are given to show not only what these problems will look like in your environment but also how to identify and resolve them. The three appendices are the 'Crown Jewels' of the book. Appendix A contains a list of your most common storage troubleshooting steps, followed by the commands and procedures you will need to take in order to eliminate each one. Knowing which questions to ask are good, but having the commands at your fingertips when you need them can be invaluable when problems arise. Preston has saved your bacon with this section. Appendix B lists out all of the ESXTOP commands and functions, which ones you will need for various issues, and how to use them. This will save time and frustration for those SysAdmins that don't frequently use the tool. And finally, Appendix C lists out all of you iSCSI error codes. This is something that most of us will seldom need for day-to day administration. However, that one or two times when you are scratching your head trying to navigate out of a difficult situation, it can save critical time. Troubleshooting vSphere Storage is a great reference for any vSphere SysAdmin. Not only does it outline an excellent troubleshooting methodology for your environment, but also lays down a strong background for readers to understand just why storage is important for a healthy vSphere design. I would recommend this book to anybody that manages vSphere as well as Storage admins that need to support vSphere.Tim AntonowiczPrincipal ArchitectVCDX 112@timantz
Amazon Verified review Amazon
SLJ Johnson Oct 24, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A short but concise read on many many trouble shooting tips and tricks for getting your storage working with Vsphere. Some of it you'll already know, but plenty of value in the stuff you don't. Worth the effort in my opinion.
Amazon Verified review Amazon
Josh Atwell Jan 29, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a virtualization administrator for various organizations my biggest skills gap was in troubleshooting storage issues in my environments. Most of the time you're limited to VMware KBs (which are great), blog posts, or trying to work through various help files. What we have always lacked was a comprehensive resource that can provide a strategy, an outline of tools, and an easy reference. Recently I got the opportunity to read this book and in fact used it to repair to issues in my lab.I particularly like the appendices that provide Troubleshooting steps, a breakdown of statistics for esxtop, and iSCSI error codes. The chapters themselves also provide a well structured gathering of valuable information. Mike puts together chapters on1. storage concepts2. Tools used for troubleshooting and managing storage in vSphere3. Troubleshooting storage visibility4. Troubleshooting storage contention5. Troubleshooting capacity and overcommitEach chapter provides a wealth of information and often procedures for configuring storage in vSphere environments.I particularly enjoyed the Tip sections located throughout the chapters. These breakout segments provide a side conversation to the topic at hand. Often these Tip sections would address questions you may have while you're consuming the chapter.All in all I give this book two thumbs up and a three sighs of relief. I'm sure any VMware administrator who picks it up will gain some valuable tidbits, as well as an excellent consolidated reference document for troubleshooting and understanding storage in their environment.
Amazon Verified review Amazon
Andras Herceg Dec 30, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Storage is one of the most important key area in the virtualization, so it is essential and significant to know how it connected to another areas, understand how it works, how can you troubleshoot storage related availability, performance, space, other issues. The author Mike Preston did a great job with his book "Troubleshooting vSphere Storage".The five main chapters covers the most important areas. In the 1st section describes the storage technologies, file systems, PSA, PSP, SATP: the base knowledge. The 2nd chapter has the tools which can be used during an issue investigation: esxtop, charts, reports, maps, logs, views. 3rd chapter writes about LUN masking, numbering, resignaturing, FC/iSCSI/NFS visibility, permissions, authentication, storage related esxcli commands. The 4th chapter covers the contention and performance issues: DAVG/KAVG/GAVG latency (and thresholds), IOPS+RAID (how to design), OS/HBA/LUN queues. The last 5th chapter is about the capacity, and overcommitment: think/thick VMDKs, thin provisioning on SAN (LUN) level, snapshots, swap, monitoring VMFS usage, sDRS.There are three more appendices, which are really useful toolkit for analyzing storage issues: troubleshoot steps, esxtop in-depth, and interpreting iSCSI error codes.The book is not a long one, has only 150 pages. easy-to-understand, logical, has many screenshots, diagrams, charts for illustrating.One problem: the book is a bit short, it could have been longer. There are several topics which would deserve more. And a second: When I was preparing to my VCAP5-DCA exam, the book was not yet exists, it would have helped to me a lot at that time. Anyway I used some other books, such as I would also recommend to check out the "VMware vSphere 5 Clustering Technical Deepdive" by Duncan Epping and Frank DennemanI would recommend this book to especially vSphere admins, but it can useful for vSphere architects as well. If you are managing vSphere infrastructure for a while, and you want to dig a little deeper in storage area, it is a must read book for you.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.