Más contenido relacionado La actualidad más candente (20) Similar a Azure Stack HCI - パフォーマンス履歴 と Azure Monitor (20) Azure Stack HCI - パフォーマンス履歴 と Azure Monitor1. Azure Stack HCI の
パフォーマンス履歴とAzure Monitor
MICROSOFT MVP FOR MICROSOFT AZURE
松本 裕志
2019年12月7日
Windows Server Community Meetup #03
2. 自己紹介
• 松本 裕志 (Matsumoto, Hiroshi)
• ハードウェアメーカ 勤務
– Azure Stack Hub や Azure Stack HCI の設計構築など。
• System Center User Group Japan メンバー
• ブログ:https://mhiroblog.wordpress.com/
• Facebook:https://www.facebook.com/people/Hiroshi-Matsumoto/100012360255052
5. Consistently build and run hybrid apps across on-premises, cloud, and edge
Azure Stack Portfolio
Hyperconverged solution Cloud-native integrated systemCloud-managed appliance
7. Dell Customer Communication - Confidential
High-performance
SQL Server
When to use Azure Stack HCI
Branch office
and edge
Trusted enterprise
virtualization
Scale-out
storage
Virtual desktop
infrastructure
12. Dell Customer Communication - Confidential
Start small…
Minimal footprint
Just 2 servers minimum
(4 × SSD) or (2 SSD + 4 HDD) per server
No minimum processor and memory
1 × 10 Gbps network adapter
SATA, DOM, M.2
1+ Gbps uplink
10+ Gbps
back-to-back
(no high-speed switch)
13. Dell Customer Communication - Confidential
Scale with your needs
Scale up, scale out
Up to 16 servers per cluster
Up to 4,000 TB storage capacity per cluster
Beyond 1,000 servers with cluster sets
With no downtime
Automatic VM load balancing
Automatic storage rebalancing
Add drives
into existing servers
Add servers
to the cluster
14. 10+ GbE full mesh connectivity with 3 servers, no high-speed switch required
Simplify networking with 3+ servers with full mesh
15. 10+ GbE full mesh connectivity with 5 servers, no high-speed switch required
19. パフォーマンス履歴
⚫ S2D を構成すると有効になる。
⚫ 無効化することもできる。 ( Stop-ClusterPerformanceHistory –DeleteHistory:データを削除する場合のオプション)
⚫ Powershell か、Windows Admin Center から確認できる。
⚫ 50 以上の重要なカウンターを自動的に収集し、クラスターに最大1年間保存される。
20. パフォーマンスの確認 (Powershell)
⚫ Powershell コマンドで確認する。
オブジェクト コマンド例
Get-PhysicalDisk Get-PhysicalDisk -SerialNumber "XYZ456" | Get-ClusterPerf
Get-NetAdapter Get-NetAdapter "Ethernet" | Get-ClusterPerf
Get-ClusterNode Get-ClusterNode "Server123" | Get-ClusterPerf
Get-VHD Get-VHD "C:¥ClusterStorage¥MyVolume¥MyVHD.vhdx" | Get-ClusterPerf
Get-VM Get-VM "MyVM" | Get-ClusterPerf
Get-Volume Get-Volume -FriendlyName "MyVolume" | Get-ClusterPerf
Get-Cluster Get-Cluster "MyCluster" | Get-ClusterPerf
21. パフォーマンスの確認 (Powershell)
◆ コマンド例
Get-ClusterNode s2d01 | Get-ClusterPerf
-ClusterNodeSeriesName ClusterNode.Cpu.Usage
-TimeFrame LastHour
タイムフレーム 間隔 保持期間
LastHour 10 秒毎 1 時間
LastDay 5 分毎 25 時間
LastWeek 15 分毎 8 日間
LastMonth 1 時間毎 35 日間
LastYear 1 日毎 400 日間
22. ドライブのパフォーマンス履歴
シリーズ ユニット 説明 ソース
physicaldisk.iops.read 1 秒あたり ドライブによって完了した 1 秒あたりの読み取り操作の数。 Disk Reads/sec
physicaldisk.iops.write 1 秒あたり ドライブによって完了した 1 秒あたりの書き込み操作の数。 Disk Writes/sec
physicaldisk.iops.total 1 秒あたり 合計数は、読み取りまたは書き込みドライブによって完了した 1 秒あたりの操作。 Disk Transfers/sec
physicaldisk.throughput.read 1 秒あたりのバイト数 データの量は、1 秒あたりのディスクから読み取る。 Disk Read Bytes/sec
physicaldisk.throughput.write 1 秒あたりのバイト数 1 秒あたりのドライブに書き込まれたデータの量。 Disk Write Bytes/sec
physicaldisk.throughput.total 1 秒あたりのバイト数 データの読み取りまたは書き込みを 1 秒あたりのドライブの合計数量。 Disk Bytes/sec
physicaldisk.latency.read 秒数 ドライブからの読み取り操作の平均待機時間。 Avg. Disk sec/Read
physicaldisk.latency.write 秒数 ドライブへの書き込み操作の平均待機時間。 Avg. Disk sec/Writes
physicaldisk.latency.average 秒数 ドライブとの間のすべての操作の平均待機時間。 Avg. Disk sec/Transfer
physicaldisk.size.total バイト数 ドライブの記憶域の合計容量。 ー
physicaldisk.size.used バイト数 ドライブの使用されているストレージの容量。 ー
https://docs.microsoft.com/ja-jp/windows-server/storage/storage-spaces/performance-history-for-drives
23. ネットワーク アダプターのパフォーマンス履歴
シリーズ ユニット 説明 ソース
netadapter.bandwidth.inbound 1 秒あたりのビット数 ネットワーク アダプターで受信したデータの比率。 8 × Bytes Received/sec
netadapter.bandwidth.outbound 1 秒あたりのビット数 ネットワーク アダプターから送信されたデータの比率。 8 × Bytes Sent/sec
netadapter.bandwidth.total 1 秒あたりのビット数 送受信ネットワーク アダプターから送信されたデータの合計の割合。 8 × Bytes Total/sec
netadapter.bandwidth.rdma.inbound 1 秒あたりのビット数 Over RDMA ネットワーク アダプターで受信したデータの比率。 8 × Inbound bytes/sec
netadapter.bandwidth.rdma.outbound 1 秒あたりのビット数 ネットワーク アダプターで RDMA 経由で送信されるデータの比率。 8 × Outbound bytes/sec
netadapter.bandwidth.rdma.total 1 秒あたりのビット数
データの合計の割合の受信または over RDMA ネットワーク アダプター
で送信します。
8 ×上記の合計
https://docs.microsoft.com/ja-jp/windows-server/storage/storage-spaces/performance-history-for-network-adapters
24. サーバーのパフォーマンス履歴
シリーズ ユニット 説明 ソース
clusternode.cpu.usage % アイドル プロセッサ時間の割合。
Hyper-V Hypervisor Logical Processor > _Total >
% Total Run Time
clusternode.cpu.usage.guest %
ゲスト (仮想マシン) の要求時に使用されるプロセッサ時間の
割合。
Hyper-V Hypervisor Virtual Processor > _Total > %
Total Run Time
clusternode.cpu.usage.host % ホストの要求時に使用されるプロセッサ時間の割合。
Hyper-V Hypervisor Root Virtual Processor > _Total
> % Total Run Time
clusternode.memory.total バイト数 サーバーの物理メモリの合計。 ー
clusternode.memory.available バイト数 サーバーの使用可能なメモリ。 ー
clusternode.memory.usage バイト数 サーバーの割り当てられたメモリを (使用できません)。 ー
clusternode.memory.usage.guest バイト数 ゲスト (仮想マシン) の要求時に割り当てられたメモリ。 ー
clusternode.memory.usage.host バイト数 ホストの要求時に割り当てられたメモリ。 ー
https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/performance-history-for-servers
25. VHD のパフォーマンス履歴
シリーズ ユニット 説明 ソース
vhd.iops.read 1 秒あたり ドライブによって完了した 1 秒あたりの読み取り操作の数。 Read Operations/Sec
vhd.iops.write 1 秒あたり ドライブによって完了した 1 秒あたりの書き込み操作の数。 Write Operations/Sec
vhd.iops.total 1 秒あたり 合計数は、読み取りまたは書き込みドライブによって完了した 1 秒あたりの操作。 上記の合計
vhd.throughput.read 1 秒あたりのバイト数 1 秒あたりの仮想ハード ディスクから読み取られたデータの量。 Read Bytes/sec
vhd.throughput.write 1 秒あたりのバイト数 1 秒あたりの仮想ハード ディスクに書き込まれたデータの量。 Write Bytes/sec
vhd.throughput.total 1 秒あたりのバイト数
データの読み取りまたは書き込みを 1 秒あたりの仮想ハード_ディスクの合計数
量。
上記の合計
vhd.latency.average 秒数 仮想ハード ディスクとの間のすべての操作の平均待機時間。 Latency
vhd.size.current バイト数
仮想ハード ディスク、動的に拡張される場合の現在のファイルのサイズ。
固定である場合、系列は収集されません。
ー
vhd.size.maximum バイト数
仮想ハード ディスク、動的に拡張される場合の最大サイズ。 固定である場合、
サイズです。
ー
https://docs.microsoft.com/ja-jp/windows-server/storage/storage-spaces/performance-history-for-vhds
26. 仮想マシンのパフォーマンス履歴
シリーズ ユニット 説明 ソース
vm.cpu.usage % 仮想マシンの割合は、そのホスト サーバーのプロセッサの使用されています。 ー
vm.memory.assigned バイト数 仮想マシンに割り当てられたメモリの量。 ー
vm.memory.available バイト数 使用可能、割り当てられている量のメモリの数量。 ー
vm.memory.maximum バイト数 動的メモリを使用している場合は、仮想マシンに割り当てることができるメモリの最大数量です。 ー
vm.memory.minimum バイト数 動的メモリを使用している場合は、仮想マシンに割り当てることができるメモリの最小数量です。 ー
vm.memory.pressure ー 仮想マシンに割り当てられたメモリを仮想マシンで必要なメモリの比率です。 ー
vm.memory.startup バイト数 仮想マシンを起動に必要なメモリの数量。 ー
vm.memory.total バイト数 メモリの合計。 ー
vmnetworkadapter.bandwidth.inbound 1 秒あたりのビット数 仮想マシンでそのすべての仮想ネットワーク アダプター間で受信したデータの比率。 ー
vmnetworkadapter.bandwidth.outbound 1 秒あたりのビット数 仮想マシンでそのすべての仮想ネットワーク アダプターを介して送信されるデータの比率。 ー
vmnetworkadapter.bandwidth.total 1 秒あたりのビット数 送受信のすべての仮想ネットワーク アダプター間で仮想マシンから送信されたデータの合計の割合。 ー
https://docs.microsoft.com/ja-jp/windows-server/storage/storage-spaces/performance-history-for-vms
27. ボリュームのパフォーマンス履歴
シリーズ ユニット 説明 ソース
volume.iops.read 1 秒あたり このボリュームで完了した 1 秒あたりの読み取り操作の数。 Reads/sec
volume.iops.write 1 秒あたり このボリュームで完了した 1 秒あたりの書き込み操作の数。 Writes/sec
volume.iops.total 1 秒あたり 合計数は、読み取りまたは書き込みこのボリュームで完了した 1 秒あたりの操作。 上記の合計
volume.throughput.read 1 秒あたりのバイト数 1 秒間には、このボリュームからの読み取りデータの量。 Read bytes/sec
volume.throughput.write 1 秒あたりのバイト数 1 秒間には、このボリュームに書き込まれたデータの量。 Write bytes/sec
volume.throughput.total 1 秒あたりのバイト数 データの読み取りまたは書き込みを 1 秒間には、このボリュームの合計数量。 上記の平均
volume.latency.read 秒数 このボリュームからの読み取り操作の平均待機時間。 Avg. sec/Read
volume.latency.write 秒数 このボリュームへの書き込み操作の平均待機時間。 Avg. sec/Write
volume.latency.average 秒数 このボリュームの間のすべての操作の平均待機時間。 上記の平均
volume.size.total バイト数 ボリュームの記憶域の合計容量。 ー
volume.size.available バイト数 ボリュームの使用可能記憶域容量。 ー
https://docs.microsoft.com/ja-jp/windows-server/storage/storage-spaces/performance-history-for-volumes
35. Azure Monitor
⚫ オンプレミスとクラウドの両方の Windows サーバーや仮想マシンを含むさまざまなリソースからテレメトリを収集、分析、および処理するソリューション
⚫ Azure Monitor の Log Analytics ワークスペースに収集される
⚫ 監視対象に Log Analytics エージェントをインストールする
⚫ Azure Log Analytics エージェント
⚫ 旧称:Microsoft Monitoring エージェント (Windows)
⚫ 旧称:OMS エージェント (Linux)
⚫ 通知はメール、SMS や Webhook など利用可能
39. エージェントの通信要件
通信先 ポート 通信方向 HTTPS インスペクション
*.ods.opinsights.azure.com 443 アウトバンド はい
*.oms.opinsights.azure.com 443 アウトバンド はい
*.blob.core.windows.net 443 アウトバンド はい
*.azure-automation.net 443 アウトバンド はい
https://docs.microsoft.com/ja-jp/azure/azure-monitor/platform/log-analytics-agent#network-firewall-requirements
⚫ Azure Log Analytics エージェント の通信要件
⚫ エージェントからインターネット接続できない場合は、Log Analytics ゲートウェイを設置する
46. 既定の監視ルール
⚫ 既定で作成されている アラートルールは 6 つ
アラート名 条件 リソースタイプ
CPU utilization Over 85% for 10 min Server
Disk capacity utilization Over 80% for 10 min Server
Memory utilization Available memory less than 100 MB for 10 min Server
Heartbeat Fewer than 2 beats for 5 min Server
System critical error Any critical alert in the cluster system event log Cluster
Health service alert Any health service fault on the cluster Cluster
47. アクショングループ
⚫ 通知方法を追加する場合は、Azure Monitor から操作する
https://docs.microsoft.com/ja-jp/azure/azure-monitor/platform/action-groups
No. 方法
1 Automation Runbook
2 Azure Functions
3 ARM のロールへのメール
4 電子メール/SMS/プッシュ/音声
5 ITSM
6 ロジックアプリ
7 Webhook のセキュリティ保護
8 Webhook
49. まとめ
⚫ 10GB や 25GB スイッチなしでも 3ノード以上の Azure Stack HCI が構成できるようになる
⚫ Kubernetes on Azure Stack HCI が Coming Soon
⚫ パフォーマンス履歴により、CPU やネットワークの利用率など確認を簡単にできるようになった
⚫ WAC と組み合わせるとより便利
⚫ Azure Monitor のセットアップも簡単
⚫ メールだけでなく、SMS や Webhook などで通知することも可能
⚫ 安心 便利に Azure Stack HCI 使える
50. Reference
• BRK3122 - Modernize your RO/BO with Azure Stack HCI
– https://myignite.techcommunity.microsoft.com/sessions/82904?source=sessions
• BRK2138 – Discover Azure Stack HCI
– https://myignite.techcommunity.microsoft.com/sessions/82907?source=sessions
• BRK3124 - Jumpstart your Azure Stack HCI deployment
– https://myignite.techcommunity.microsoft.com/sessions/82906?source=sessions
• BRK3123 - What's new for Azure Stack HCI: 45 things in 45 minutes
– https://myignite.techcommunity.microsoft.com/sessions/82905?source=sessions
• パフォーマンス履歴
– https://docs.microsoft.com/ja-jp/windows-server/storage/storage-spaces/performance-history
• Collect log data with the Log Analytics agent
– https://docs.microsoft.com/ja-jp/azure/azure-monitor/platform/log-analytics-agent