跳转到主内容

什么是性能归档?它们是如何触发的?

Views:
52
Visibility:
Public
Votes:
0
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
    • 压缩时性能归档通常为 50 MB 或更大,因此如果传输为 SMTP ,则 ONTAP 会硬编码为不传输
    • 要从SMTP切换到HTTPS、而SMTP允许传输更大的文件大小、可以使用以下命令: 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 2008123456 -node *
    • 以下是命令的以下选项:
      • -start-date <"MM/DD/YYYY HH:MM:SS">
      • -duration <[ h][ m][ s]> (or -end-date)
      • -node *
      • -case-number
    • 注:
  • 请注意、任何一次收集的最长持续时间为6小时、建议的采样周期为4小时
    • 如果时间少于2小时、则会丢失一些每小时计数器
    • 在中输入的时间 -start-date 应反映 文件管理器时区中的时间
    • -start-date必须至少为 -duration过去指定的小时数、否则不会收集完整的时间范围。
    • 系统不会显示任何错误消息、指示未 -duration 收集完成
  • 最好从整点开始、再从整点结束、以捕获每小时计数器
    • 由于工作负载统计信息是在整个集群中测量的,因此必须触发整个集群
    • 建议最好在性能事件前后获取一小时的时间
    • 建议使用日期格式作为报价
  1. 要查看性能归档上传的进度,您可以使用以下命令:

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

  • 性能归档将显示在 AutoSupport 页面上节点的 Active IQ
  • 上传性能归档并显示在 Active IQ 上之后,支持人员可以在一段时间后查看该性能归档
如果性能归档不起作用,该怎么办?
  • 使用 ONTAP AutoSupport 解决指南对 AutoSupport 进行故障排除
  • 验证是否已启用性能归档、并且您请求的归档日期小于保留期限(默认为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 enabled.

为什么需要 perfstat ?
  • 支持人员将请求 perfstat
  • 在 ONTAP 9.5 之前的版本中,可能缺少某些数据,支持部门将要求提供 perfsat
  • 仅在支持部门要求时收集
  • 有时,销售团队可能会请求收集性能数据以进行规模估算
存储管理员如何查看性能归档中的内容?

追加信息

附加信息 _text

 

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.
Scan to view the article on your device