vHoge

VMwareのアレコレ備忘録。CLIでがんばるネタ多め。

Get-VsanStat って何が取れるの?

コマンドで vSAN の性能情報を取得するなら PowerCLI の Get-VsanStat というのが定番。

developer.vmware.com

ではあるんですが、具体的に取れる情報って何だ…ってのがパッと見で見当たらなかったので、実環境に対して取得してみたメモ。

環境

以下の環境にて実施しています。

  • vSphere 7.0 U3d
  • PowerCLI 12.7

PowerCLI13 入ってる環境とは違うところでやってた(白目)

取れる値

対象のオブジェクト毎に異なる。
値の意味までは追っていないが、値の名前で察しはつくかと。

クラスタ

Backend.ReadIops
Backend.ReadThroughput
Backend.AverageReadLatency
Backend.WriteIops
Backend.WriteThroughput
Backend.AverageWriteLatency
Backend.RecoveryWriteIops
Backend.RecoveryWriteThroughput
Backend.RecoveryWriteAverageLatency
Backend.Congestion
Backend.OutstandingIO
Backend.ResyncReadIops
Backend.ResyncReadThroughput
Backend.ResyncReadLatency
VMConsumption.ReadIops
VMConsumption.ReadThroughput
VMConsumption.AverageReadLatency
VMConsumption.WriteIops
VMConsumption.WriteThroughput
VMConsumption.AverageWriteLatency
VMConsumption.Congestion
VMConsumption.OutstandingIO
Capacity.TotalCapacity
Capacity.UsedCapacity
Capacity.FreeCapacity
Capacity.SavedCapacityByDedup
Capacity.DedupRatio

ESXi ホスト

Backend.Congestion
Backend.OutstandingIO
Backend.ReadIops
Backend.ReadThroughput
Backend.AverageReadLatency
Backend.WriteIops
Backend.WriteThroughput
Backend.AverageWriteLatency
Backend.RecoveryWriteIops
Backend.RecoveryWriteThroughput
Backend.RecoveryWriteAverageLatency
Backend.ResyncReadIops
Backend.ResyncReadThroughput
Backend.ResyncReadLatency
VMConsumption.Congestion
VMConsumption.OutstandingIO
VMConsumption.ReadIops
VMConsumption.ReadThroughput
VMConsumption.AverageReadLatency
VMConsumption.WriteIops
VMConsumption.WriteThroughput
VMConsumption.AverageWriteLatency
VMConsumption.ClientCacheHitsIops
VMConsumption.ClientCacheHitRate
HostNetwork.NetworkInboundThroughput
HostNetwork.NetworkInboundPacketsPerSecond
HostNetwork.NetworkInboundPacketsLossRate
HostNetwork.NetworkOutboundThroughput
HostNetwork.NetworkOutboundPacketsPerSecond
HostNetwork.NetworkOutboundPacketsLossRate

仮想マシン

Performance.ReadIops
Performance.ReadThroughput
Performance.ReadLatency
Performance.WriteIops
Performance.WriteThroughput
Performance.WriteLatency

仮想ディスク

VirtualDisk.IopsLimit
VirtualDisk.NormalizedIopsRead
VirtualDisk.NormalizedIopsWrite
VirtualDisk.NormalizedIops
VirtualDisk.NormalizedIopsDelayedRead
VirtualDisk.NormalizedIopsDelayedWrite
VirtualDisk.DelayedNormalizedIops

ESXi ホストの物理ディスク

Performance.DeviceReadIops
Performance.DeviceThroughputRead
Performance.PhysicalLayerReadLatency
Performance.DeviceWriteIops
Performance.PhysicalLayerWriteThroughput
Performance.PhysicalLayerWriteLatency
Performance.DeviceAverageLatency
Performance.GuestAverageLatency
Performance.ReadCacheHitRate
Performance.WriteBufferFreePercentage
Performance.CacheInvalidations
Performance.Evictions
Performance.ReadCacheReadIops
Performance.ReadCacheReadLatency
Performance.WriteBufferReadIops
Performance.WriteBufferReadLatency
Performance.ReadCacheWriteIops
Performance.ReadCacheWriteLatency
Performance.WriteBufferWriteIops
Performance.WriteBufferWriteLatency

ディスクグループ

とにかく多い…

Performance.DelayedIops
Performance.QueueLatency
Performance.NamespaceQueueIops
Performance.NamespaceQueueThroughput
Performance.RecoveryQueueIops
Performance.RecoveryQueueThroughput
Performance.RecoveryQueueLatency
Performance.VMQueueIops
Performance.VMQueueThroughput
Performance.VMQueueLatency
Performance.MetaQueueIops
Performance.MetaQueueThroughput
Performance.MetaQueueLatency
Performance.DelayedIOPercentage
Performance.DelayedIOAverageLatency
Performance.ReadCacheHitRate
Performance.WriteBufferFreePercentage
Performance.CacheInvalidations
Performance.Evictions
Performance.ReadCacheReadIops
Performance.ReadCacheReadLatency
Performance.WriteBufferReadIops
Performance.WriteBufferReadLatency
Performance.ReadCacheWriteIops
Performance.ReadCacheWriteLatency
Performance.WriteBufferWriteIops
Performance.WriteBufferWriteLatency
Performance.DrainedSsdBytes
Performance.ZeroBytesDrained
Performance.MemoryCongestion
Performance.SlabCongestion
Performance.SsdCongestion
Performance.IopsCongestion
Performance.LogCongestion
Performance.CompCongestion
Performance.ReadIops
Performance.ReadThroughput
Performance.AverageReadLatency
Performance.WriteIops
Performance.WriteThroughput
Performance.AverageWriteLatency
Performance.WriteOutStandingIO
Performance.RecoveryWriteOutstandingIO
Performance.OutstandingIOWriteSize
Performance.OutstandingRecoveryWriteIOSize
Performance.ReadCacheSize
Performance.WriteBufferSize
Performance.Capacity
Performance.UsedCapacity
Performance.CapacityReserved
Performance.QueueThroughput
Performance.ResyncReadIops
Performance.ResyncReadThroughput
Performance.PolicyChangeReadIops
Performance.PolicyChangeReadThroughput
Performance.PolicyChangeReadLatency
Performance.PolicyChangeWriteIops
Performance.PolicyChangeWriteThroughput
Performance.PolicyChangeWriteLatency
Performance.EvacuationReadIops
Performance.EvacuationReadThroughput
Performance.EvacuationReadLatency
Performance.EvacuationWriteIops
Performance.EvacuationWriteThroughput
Performance.EvacuationWriteLatency
Performance.RebalanceReadIops
Performance.RebalanceReadThroughput
Performance.RebalanceReadLatency
Performance.RebalanceWriteIops
Performance.RebalanceWriteThroughput
Performance.RebalanceWriteLatency
Performance.RepairReadIops
Performance.RepairReadThroughput
Performance.RepairReadLatency
Performance.RepairWriteIops
Performance.RepairWriteThroughput
Performance.RepairWriteLatency

ESXi ホストの NIC

vSAN トラフィックが流れる NIC しか出てこない(はず)

Performance.NetworkInboundThroughput
Performance.NetworkInboundPacketsPerSecond
Performance.NetworkInboundPacketsLossRate
Performance.NetworkOutboundThroughput
Performance.NetworkOutboundPacketsPerSecond
Performance.NetworkOutboundPacketsLossRate

ESXi ホストの vmkernel

同じく、vSAN トラフィックが流れる vmk しか出てこない(はず)

Performance.NetworkInboundThroughput
Performance.NetworkInboundPacketsPerSecond
Performance.NetworkInboundPacketsLossRate
Performance.NetworkOutboundThroughput
Performance.NetworkOutboundPacketsPerSecond
Performance.NetworkOutboundPacketsLossRate

後日談

というのを調べた後で lamw 大先生の Github で以下のドキュメントを見つける orz
画面対比なので観点が少し違うが、多くの人はこちらの方が求めている情報なのではと…

github.com