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
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. €18.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

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 : 9781782172062
Vendor :
VMware
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. €18.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 20, 2013
Length: 150 pages
Edition : 1st
Language : English
ISBN-13 : 9781782172062
Vendor :
VMware
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.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
€189.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
€264.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 120.97
Implementing VMware vCenter Server
€41.99
Troubleshooting vSphere Storage
€32.99
vSphere High Performance Cookbook
€45.99
Total 120.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

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.