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

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

Views:
3,960
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以上になるため、トランスポートがSMTPの場合、ONTAPは送信しないようにハードコーディングされています。
    • より大きなファイルサイズの転送を可能にするために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 "10/31/2026 06:00:00" -duration 6h -case-number <case_number> -node *
    • コマンドのオプションは次のとおりです:
      • -start-date <"MM/DD/YYYY HH:MM:SS">
        • タイムゾーンはFilerの時刻になり、 event log showの出力、EMSログ、またはdateの出力で確認できます。
      • -duration <[ h][ m][ s]> (or -end-date)
      • -node *
      • -case-number

注:

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

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

  • パフォーマンスアーカイブは、ノードのAutoSupportページ上のActive IQに表示されます。
  • パフォーマンスアーカイブがアップロードされてActive IQに表示されると、一定期間後にサポートが確認できるようになります。
パフォーマンスアーカイブが機能しない場合はどうすればよいですか?

::> 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

  • AutoSupportの stateおよびsupport パラメータの両方が有効になっていることを確認してください。有効になっていない場合は、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.