1 / 53

Storage Troubleshooting with VC Ops 5

Storage Troubleshooting with VC Ops 5. Things we want to know in performance. The storage team have requested for greater visibility Joint troubleshooting, capacity planning, performance monitoring . Is there any storage bottlenect? If yes, where?

haracha
Download Presentation

Storage Troubleshooting with VC Ops 5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Storage Troubleshooting with VC Ops 5

  2. Things we want to know in performance • The storage team have requested for greater visibility • Joint troubleshooting, capacity planning, performance monitoring. • Is there any storage bottlenect? If yes, where? • You need to know both Big Picture and details • Your needs: • Be able to quickly tell the overall workload • Be able to quickly tell which VMs are generating the big IOPS. • Be able to tell the total IOPS generate from all VMs, and see a chart to see if there is a spike. • You want to know the 3 dimensions • IOPS: Read, Write, Read/Write Ratio, Total IOPS • Latency: Read, Write, Total • Throughput This is a Level 300 material. I’m assuming you’re hands-on on both vSphere 5 and VC Ops 5. This is based on vSphere 5.0.1 and VC Ops 5.0.1 Please read speaker notes.

  3. The challenges • Your environment • Production Site • 500 servers VM, 3000 desktop VM • 2 vCenters, 80 ESXi, 10 clusters, 60 datastores, 6 RDM. • 50 physical servers (mostly UNIX) • You use VMFS on FC and NFS on 10 GE • 2 storage arrays: 1 high end, 1 midrange • DR Site • Let’s not talk about this. The production is complex enough already! 

  4. Storage counters: ESXi host Datastore Disk Storage Adapter or Storage Path

  5. ESXi: Adapter, Device and Path 1 adapter can many Devices (LUN). 1 Device is accessed via many paths. 1 path can only access 1 Device.

  6. ESXi: Disk

  7. ESXi: Adapter, Device and Path ESXi 5.0 Storage Adapter 1 Storage Adapter 2 vmnic vmhba2 vmhba3 Storage Path Storage Path Storage Path Storage Path Storage Path Storage Path vmhba3 VMFS VMFS NFS RDM Datastore Datastore Datastore Disk Disk Disk

  8. Storage counters: VM Virtual Disk (VMDK, RDM) VM Drive 1 Drive 2 Drive 3 vDisk vDisk vDisk scsi0:0 scsi0:2 Datastore VMFS NFS RDM Datastore Datastore Disk Disk Disk

  9. VC Ops has 4 groups of Storage metrics for a VM ? Not sure what this is Why only at Disk level? ? Not sure what this is These don’t exist in vCenter. RDM? IOPS counters Other counters Latency counters Thruput counters Don’t use Which counters do you take? There are so many of them. Say you want Write Latency. Which one do you take: Virtual Disk, Datastore, Disk, or Storage? I’ll try to answer in the next few slides. If you want to know now, the counter with the black arrow is the counters that I think we should use.

  10. VM: Storage

  11. Comparing VC Ops with vCenter Datastore shows the metric for this VM only, not for every VM in that datastore. Datastore figures will be higher if your VM has snapshot. Disk = physical LUN backing up the datastore. If there is no extent, then Disk = Datastore. Where does the Storage counter come from, as there is no Storage in vCenter? vCenter only has Datastore, Disk, Virtual Disk, as shown in this screenshot. If you know, let me know.

  12. VC Ops has 2 groups of Storage metrics for a Datastore NFS datastore VMFS datastore IOPS counters Other counters Latency counters Not sure the difference between Max Observed and Highest Observed Which counters do you take? There are so many of them. Say you want Write Latency. Which one do you take: Virtual Disk, Datastore, Disk, or Storage? I’ll try to answer in the next few slides. Thruput counters

  13. VC Ops has 4 groups of Storage metrics for a ESXi IOPS counters Other counters Latency counters Thruput counters Which counters do you take? There are so many of them. Say you want Write Latency. Which one do you take: Virtual Disk, Datastore, Disk, or Storage? I’ll try to answer in the next few slides.

  14. VC Ops: Storage metrics from Cluster until World Cluster Datacenter vCenter World Notice Storage is not the group, but Disk. I was hoping for Storage as it is more intuitive. For IOPS or Throughput, it is the sum of all components (e.g. all VM in that vCenter) For Latency, I’m not sure if it is an average, or the max. If it is a Max, that would be an awesome Super Metric! IOPS counters Other counters Latency counters Thruput counters

  15. Storage counters at VC level

  16. Storage counters at World level

  17. Part 1: IOPS

  18. Same data, but on 1 chart

  19. vCenter: performance chart This is the object name. In this case, this is a VM and its name is vCenter5 This one tells us that it is the Datastore group, and it is showing Past day data (last 24 hours)

  20. Same VM & timeline, but from the Disk counter.

  21. vCenter Ops might aggregate differently than vCenter Same info, but this time from vCenter Ops. They are similar, but not identical. Is this because the way VC Ops aggregate? Read peaks at 245 in vCenter vs 217 in VC Ops. Around 13% lower in VC Ops. Write peaks at 137 vs 135. This is close enough.

  22. IOPS: Snapshot causes real IOPS penalty This is from the Virtual Disk counters. 173 reads at Virtual Disk translates into 245 reads at Datastore. This is 40% more 70 writes at Virtual Disk translates into 137 writes at Datastore. This is almost 200%! So a snapshot can cause much higher IOPS.

  23. Again, the same gap remain between vCenter and VC Ops.

  24. IOPS: Conclusion • Use the Datastore counter for vmdk • The Virtual Disk counter is useful if you are comparing with actual IOPS issued at Guest OS level. It will be too low if you have snapshot. • The Storage counter = Virtual Disk • The Disk counter is useful if you are discussing with the Storage team, who is showing you LUN by LUN metrics. Disk = LUN. • It is not useful if your datastore spans multiple LUNs due to Extent. • In most cases, Disk = Datastore as you should avoid Extent. • Use the Disk counter for RDM • VC Ops counter may differ to vCenter • If the number looks strange, check with vCenter. • Sometimes the data in vCenter itself is wrong. • Check a few VMs, not just 1.

  25. Part 2: Latency

  26. VM level: Total Latency

  27. VM Level: Read Latency

  28. Avoid the counter “Datastore | Highest Latency”

  29. Data at VC Ops

  30. Total Latency >< Read Latency + Write Latency

  31. View at Datastore level

  32. Latency: Conclusion • Use the Datastore counter for vmdk • The Virtual Disk counter is useful if you are comparing with actual IOPS issued at Guest OS level. It will be too low if you have snapshot. • The Storage counter = Virtual Disk • The Disk counter is useful if you are discussing with the Storage team, who is showing you LUN by LUN metrics. Disk = LUN. • It is not useful if your datastore spans multiple LUNs due to Extent. • In most cases, Disk = Datastore as you should avoid Extent. • Use the Disk or Virtual Disk counter for RDM • VC Ops counter may differ to vCenter • If the number looks strange, check with vCenter. • Sometimes the data in vCenter itself is wrong. • Check a few VMs, not just 1.

  33. Latency: Conclusion • Do not use the Total Latency • When creating super metric, manually add the Read and the Write. • Use the Datastore counter for vmdk • Use the Disk counter for RDM • VC Ops counter may differ to vCenter • If the number looks strange, check with vCenter. • Sometimes the data in vCenter itself is wrong. • Check a few VMs, not just 1.

  34. Part 3: Throughput

  35. Throughput counters for VM

  36. Throughput counters for VM

  37. Same VM, vastly different data

  38. Throughput: Conclusion • Use the Datastore counter for vmdk • The Virtual Disk counter is useful if you are comparing with actual IOPS issued at Guest OS level. It will be too low if you have snapshot. • The Storage counter = Virtual Disk • The Disk counter is useful if you are discussing with the Storage team, who is showing you LUN by LUN metrics. Disk = LUN. • It is not useful if your datastore spans multiple LUNs due to Extent. • In most cases, Disk = Datastore as you should avoid Extent. • Be careful with the Disk counters, as they can report large numbers • vCenter: Disk | Disk Throughput usage • vC Ops: Disk | IO Usage capacity • VC Ops counter may differ to vCenter • If the number looks strange, check with vCenter. • Sometimes the data in vCenter itself is wrong. • Check a few VMs, not just 1.

  39. Part 4: Other Interesting Metrics

  40. Built-in Super Metric? • The 3 chart below shows summary at World level • The actual world is on the right. It has 5 vCenters

  41. Other interesting metrics

More Related