跳转到主内容

如何在 Active IQ Unified Manager 中识别订阅的 ONTAP EMS 事件

Views:
612
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

适用于

  • ONTAP 9.3.x 及以上版本
  • ONTAP EMS
  • OnCommand Unified Manager 7.x - 9.5.x
  • Active IQ Unified Manager 9.6.x 及以上版本

说明

OnCommand Unified Manager 已更名为 Active IQ Unified Manager,自 9.6 版本起。  在本文中,Unified Manager 将指 OnCommand Unified Manager 7.x - 9.5.x 和 Active IQ Unified Manager 9.6.x 及更高版本。   

Unified Manager 在 7.0 版本中引入了一项功能,允许 Unified Manager 订阅特定的 ONTAP EMS 事件。在这种情况下,Unified Manager 作为一个集中位置来接收关键 EMS 事件,并通过针对 EMS 事件配置的警报向管理员发送通知。集中监控和管理简化了基于这些关键 EMS 事件的关键 EMS 事件和警报通知的配置。  

操作步骤

在 ONTAP 9 上查询 EMS 事件

Unified Manager 需要特定的文本字符串作为输入来配置 EMS 订阅。此文本字符串是 EMS 消息名称。消息名称可以通过在运行的集群上发出 clustershell (CLI) 命令来直接查询 EMS 目录来确定。

先决条件:
  • 您必须具有允许 clustershell(CLI)访问(通过 SSH 客户端)的角色,才能运行 Unified Manager 支持的 ONTAP 版本的 event* 命令。
  • 作为示例运行的所有命令都来自 clustershell,无需提升权限。

要简化命令输入并最大限度地减少拼写错误,请在输入部分文本字符串后使用 tab 补全。

小心

不要在 Unified Manager 中为 EMS 订阅配置或在集群上直接配置使用标记为已弃用的事件。  已弃用的事件可能随时被删除。

什么是严重程度和严重程度定义?

ONTAP 9.3+
clu93::> event catalog show -severity ?
  EMERGENCY           Disruption
  ALERT             Single point of failure
  ERROR             Degradation
  NOTICE            Information
  INFORMATIONAL         Information
  DEBUG             Debug information‌

哪些类型的事件会导致货架故障的 AutoSupport('callhome',destination is 'asup')(shlf* 是通配符搜索)?这些是其他值得关注的高严重程度事件(请参阅 EMS Configuration Express Guide)。请注意以下输出第一列中的消息名称。此消息名称是配置 Unified Manager EMS 订阅功能时所需的字符串。通配符可用于搜索事件。

ONTAP 9.3+
clu93::> event catalog show -message-name callhome.shlf*   
Message              Severity      SNMP Trap Type
-------------------------------- ---------------- -----------------
callhome.shlf.fan         EMERGENCY     Severity-based
callhome.shlf.fan.warn       ERROR       Severity-based
callhome.shlf.fault        ERROR       Severity-based
callhome.shlf.overtemp       ERROR       Severity-based
callhome.shlf.power.intr      ERROR       Severity-based
callhome.shlf.ps.fault       ERROR       Severity-based
6 entries were displayed.

运行 event catalog show -message-name 以查看有关 EMS 事件的详细信息。

ONTAP 9.3+
clu93::> event catalog show -message-name callhome.shlf.fan    

   Message Name: callhome.shlf.fan
     Severity: EMERGENCY
    Description: This message occurs when the system detects faulty hardware on the disk shelf, such as a fan, power supply unit (PSU), or failing temperature sensor. The problem might be environmental (temperature or faulty power) or hardware-related. If your system is configured to do so, it generates and transmits an AutoSupport (or 'call home') message to NetApp technical support and to the configured destinations. Successful delivery of an AutoSupport message significantly improves problem determination and resolution.
Corrective Action: Evaluate the environment in which your system is operating and identify whether the problem is environmental or hardware-related. Your system should be in a room with an operating temperature of 18C to 24C (65F to 75F). If faulty hardware caused the error, such as a bad temperature sensor or a broken fan, replace the faulty part as soon as possible. If you need assistance, contact NetApp technical support.
  SNMP Trap Type: Severity-based
   Is Deprecated: false   

另一个事件怎么样?示例:SnapMirror 备份对业务至关重要,监控状态也很重要。

ONTAP 9.3+
clu93::> event catalog show -message-name snapmirror*
Message              Severity      SNMP Trap Type
-------------------------------- ---------------- -----------------
snapmirror.block.on.reconstruct  NOTICE       Severity-based
snapmirror.block.reconstructErr  ERROR       Severity-based
snapmirror.conf.depre.cpsync    ERROR       Severity-based
snapmirror.conf.full        ERROR       Severity-based
snapmirror.conf.invalidStr     ERROR       Severity-based
snapmirror.conf.obsolete.nvsync  ERROR       Severity-based

"状态"项目是业务需要监控的事件,特别是 SnapMirror 更新中的错误:

ONTAP 9.3+
clu93::> event catalog show -message-name snapmirror.status*
Message              Severity      SNMP Trap Type
-------------------------------- ---------------- -----------------
snapmirror.status.dstUpdateSnapErr 
                 ERROR       Severity-based
snapmirror.status.illegalSrcPath ERROR       Severity-based
snapmirror.status.noBaseSnapshot ERROR       Severity-based
snapmirror.status.updateStatusErr 
                 ERROR       Severity-based
4 entries were displayed.

snapmirror.status.updateStatusErr 事件的详细信息确认何时触发事件以进行监控,以及在遇到问题时可能采取的纠正措施:

ONTAP 9.3+
clu93::> event catalog show -message-name snapmirror.status.updateStatusErr 

   Message Name: snapmirror.status.updateStatusErr
     Severity: ERROR
    Description: This event is generated when Data ONTAP cannot update the ONTAP system registry with upgraded snapmirror status information. Insufficient disk space on the root volume is the most common reason for this failure.
Corrective Action: Check if the root volume is out of disk space by issuing the 'df' command from the appliance CLI. If the root volume is full, either free up space or add more disks on the volume.
  SNMP Trap Type: Severity-based
   Is Deprecated: false
 

检查 ONTAP 9 EMS 目录文件

检查 EMS 目录有三种方法:

  1. 基于文件,使用打开文件的应用程序中的搜索功能。每个正在运行的 ONTAP 集群都有一个 EMS Catalog 副本,位于集群节点上: /etc/ems/ems_catalog.ems。  此 ems_catalog.ems 文件可以下载并在任何文本编辑器(文件格式为 XML)中打开以进行检查。XML 文件也可在本文中找到。  请参见下面的"追加信息"部分,下载由 ONTAP 发布的 EMS Catalog。
  2. EMS Reference 在 docs.netapp.com/cn 中。   可以查看特定事件类型,例如"callhome"或将特定事件类型导出为 PDF。
  3. 请查看 EMS Catalog 文档(PDF 格式)。EMS Catalog PDF 文件可在"更多资源"部分的 Documentation by Product Library: ONTAP 9  中找到,或访问以下特定于版本的链接:

小心

不要在 Unified Manager 中为 EMS 订阅配置或 在集群上直接配置使用标记为已弃用的事件。  已弃用的事件可能随时被移除。  对于 ONTAP 9.0,不要使用 INFORMATIONAL 严重性类,因为它已被弃用。

EMS 目录文件,XML 格式:

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.