メインコンテンツへスキップ

パフォーマンスアーカイブとは何であり、どのようにトリガーされますか?

Views:
1,521
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
perf
Last Updated:

環境

ONTAP 9

回答

  • パフォーマンスコンテンツは、各システムに収集され、格納(アーカイブ)されます。
    • ノードやボリュームのパフォーマンス統計などの指標がログに記録されます。
    • データはデフォルトでルートボリュームにローリングで28日間保持されます。
    • データは常にログに記録されるため、高度なログの開始や停止はありません。
    • レイテンシを低く抑えるため、オーバーヘッドは最小限です。
  • AutoSupport(tm)インフラを使用して、パフォーマンスアーカイブを作成し、NetAppにアップロードできます。
  • パフォーマンスアーカイブは、ONTAPのパフォーマンス問題のトラブルシューティングを目的としているため、パフォーマンス監視やサイジングの支援にはなりません。
パフォーマンスアーカイブをアップロードする方法は?
  1. AutoSupport の転送がHTTPまたはHTTPSであることを確認します。
    • Cluster::> autosupport show -fields transport
      node            transport
      --------------- ---------
      node1       https
    • パフォーマンスアーカイブは通常、圧縮時に50MB以上であるため、ONTAPは転送がSMTPの場合に送信しないようにハードコードされています。
    • SMTPからHTTPSに切り替えると、より大きなファイルサイズの転送が可能になるため、次のコマンドを使用します:system node autosupport modify -node * -transport https
    • 転送がSMTPで、他の方法が機能しない、または環境で許可されていない場合は、7zipファイルを使用した手動の方法またはOneCollectを使用してデータを収集します
  1. system node autosupport invoke-performance-archiveコマンドを実行します:
    • Cluster::> system node autosupport invoke-performance-archive -start-date "11/31/2022 06:00:00" -duration 4h -case-number <case_number> -node *
    • コマンドのオプションは次のとおりです:
      • -start-date <"MM/DD/YYYY HH:MM:SS">
        • タイムゾーンは、event log show 出力またはEMSログと同様にファイラーの時刻です。
      • -duration <[ h][ m][ s]> (or -end-date)
      • -node *
      • -case-number

注:

  • 1回のデータ収集の最大期間は6時間であり、推奨されるサンプル期間は4時間であることに注意してください。
    • 2時間未満の場合は一部の時間カウンターが欠落します。
    • -start-dateに入力する時刻は、ファイラーのタイムゾーンの時刻を反映している必要があります。
    • -start-dateは、少なくとも指定された -duration 時間以上過去である必要があり、そうでない場合は完全な期間が収集されません。
    • 完全な -duration が収集されなかったことを示すエラーメッセージは表示されません。
  • 毎時カウンタを取得するには、ちょうど毎時に開始し、ちょうど毎時に終了するのが最適です。
    • ワークロードの統計はクラスタ全体で測定されるため、クラスタ全体がトリガーされます。
    • 理想的には、パフォーマンスイベントの前後1時間を取得することを推奨します。
    • 日付形式は引用符で囲むことを推奨します。
  1. 次のコマンドを使用して、Performance Archiveのアップロードの進捗状況を表示します:

::> autosupport history show-upload-details -node <node name> -seq-num <seq-num>

  • パフォーマンスアーカイブは、ノードのAutoSupportページ上のActive IQに表示されます。
  • パフォーマンスアーカイブがアップロードされてActive IQに表示されると、一定期間後にサポートが確認できるようになります。
パフォーマンスアーカイブが機能しない場合はどうすればよいですか?
  • ONTAP AutoSupport解決ガイドを使用してAutoSupportのトラブルシューティングを行います。
  • Performance Archiveが有効になっているか、および要求しているアーカイブの日付が保持期間(28日、デフォルト)未満であるかを確認します:

::> set diagnostic
::*> statistics archive config show

検証フィールド:
Is the Performance Archive Enabled?: true

falseの場合、次のコマンドを実行して有効にします:
::*> statistics archive config modify -is-enabled true

:パフォーマンスアーカイブが無効な場合、EMSイベントは次のメッセージも報告します。
::*> event log show  -event perf*
Time                Node             Severity      Event
------------------- ---------------- ------------- ---------------------------
INFORMATIONAL perf.ccma.off: Performance archiver is not enable

  • 両方の stateおよびsupport AutoSupportのパラメータが有効になっていることを確認してください。そうでない場合は、autosupport modifyコマンドを使用して許可してください。

aff200-2n-dal-1::> autosupport show -node * -fields state,support
node      state  support
------------- ------ -------
aff200-dal-1a enable disable
aff200-dal-1b enable disable
2 entries were displayed.


失敗の例

aff200-2n-dal-1::> autosupport show -instance

                      Node: aff200-dal-1a
                     State: enable
                 SMTP Mail Hosts: mailhost
                  From Address: Postmaster
              List of To Addresses: -
      (DEPRECATED) List of Noteto Addresses: -
            List of Partner Addresses: -
  Send AutoSupport Messages to Vendor Support: disable 
          Protocol to Contact Support: https
           Support URL for HTTP/HTTPS: support.netapp.com/asupprod/post/1.0/postAsup
           Support URL for HTTP/S PUT: support.netapp.com/put/AsupPut
                Support Proxy URL:
                 Support Address: autosupport@netapp.com
                Hostname Subject: false
             (DEPRECATED) NHT Enable: true
            Performance Data Enable: true

aff200-2n-dal-1::> system node autosupport invoke-performance-archive -start-date "10/15/2024 15:00:00" -duration 1h -node aff200-dal-1a  -uri "file:///mroot/etc/log/autosupport/perfachivefile1"
The AutoSupport was successfully invoked on node "aff200-dal-1a" (sequence number: 134).

AutoSupport will be saved to mroot/etc/log/autosupport/perfachivefile1.7z.

aff200-2n-dal-1::> autosupport history show -node aff200-dal-1a -seq-num 134
       Seq                   Attempt  Percent  Last
Node      Num   Destination Status         Count   Complete Update
------------ ----- ----------- -------------------- -------- -------- --------
aff200-dal-1a
       134
          retransmit  ignore        -     -     10/15/2024 16:17:52

なぜperfstatが必要なのですか?
  • サポートが perfstat を要求します。
  • ONTAP 9.5 までのリリースでは、一部のデータが欠落している可能性があり、サポートが perfsat を要求します。
  • サポートから要請があった場合にのみ収集してください。
  • 営業チームがサイジングのためにパフォーマンスデータの収集を依頼する場合もあります。
ストレージ管理者は、パフォーマンスアーカイブ内のコンテンツをどのように確認できますか?
パフォーマンステストはどのくらいの期間実行する必要がありますか?
  • 最適な結果を得るには、パフォーマンステストを 少なくとも10〜15分実行することをお勧めします。
  • ただし、テストをより長い期間実行することで、より包括的なデータ収集と測定が可能になります。
  • この長い期間の実行は、持続的なワークロード条件下でのシステムのパフォーマンスをより正確に把握するのに役立ちます。

追加情報

追加情報

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.