跳转到主内容

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

Views:
56
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

适用场景

ONTAP 9

问题解答

  • 性能内容会在每个系统上收集并存储(归档)
    • 记录节点和卷性能统计信息等指标
    • 如何增加 PerfArchive 的数据存储库大小 默认情况下、数据会在根卷上保留28天
    • 数据会不断记录、因此不会启动或停止高级日志记录
    • 降低延迟所需的开销极少
  • 使用AutoSupport (TM)基础架构、可以创建性能归档并上传到NetApp
  • 性能归档不能替代性能监控或有助于规模估算、因为它们用于对ONTAP性能问题进行故障排除
如何上传性能归档?
  1. 确认AutoSupport传输为HTTP或HTTPS
    • Cluster::> autosupport show -fields transport
      node            transport
      --------------- ---------
      node1       https
    • 性能归档在压缩时通常大于或等于50 MB、因此、如果传输为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 "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>

  • [1] 节点的性能归档将显示在Active IQ上的AutoSupport页面上
  • 性能归档上载并显示在 Active IQ上后,一段时间后支持人员可以查看该归档
如果性能归档不起作用、该怎么办?

验证字段:
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
  • 仅在支持部门要求时收集
  • 有时、销售团队可能会要求收集性能数据以进行规模估算
存储管理员如何查看性能归档中的内容?

追加信息

其他信息文本

 

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.