跳转到主内容

如何防止 Unified Manager 报告未连接/未使用的网络端口的"端口状态关闭"事件

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

适用于

  • Active IQ Unified Manager (AIQUM)
  • OnCommand Unified Manager (OCUM)

说明

  • 当 Active IQ Unified Manager 检测到链路状态为关闭的网络端口时,它会报告节点的 Port Status Down 事件,如下例所示

  • Unified Manager 将不会报告Port Status Down端口的事件当链路状态为关闭时
  • 本文介绍如何通过禁用 ONTAP 中的端口来防止 Unified Manager 报告故意断开连接/未使用的网络端口的Port Status Down事件

操作步骤 

使用 System Manager
对于以太网端口
  1. 导航到 NETWORK  | Ethernet ports
  2. 展开节点的部分,指示未使用的端口(将显示为红色图标)。
  3. 在端口下向左滑动 启用/禁用选项。
  4. 端口图标现在将显示为黑色。
对于 FC 端口(需要 ONTAP 9.9.1 或更高版本)
  1. 导航到NETWORK | FC Ports
  2. 展开节点的部分,指示未使用的端口(将显示为红色图标)。
  3. 在端口下向左滑动 启用/禁用选项。
  4. 端口图标现在将显示为黑色。
使用 ONTAP CLI
对于以太网端口
  1. 在 ONTAP CLI 上启用高级模式

set advanced

  1. 确认端口的当前 up-admin 属性

network port show -node <nodename> -port <portname> -fields link, up-admin

示例:

::*> network port show -node Node-01 -port e0b -fields link, up-admin
node   port link up-admin
------- ---- ---- --------
Node-01 e0b  down true

  1. up-admin更改为false作为端口。

network port modify -node <nodename> -port <portname> -up-admin false

  1. 确认该端口在管理上已禁用。

network port show -node <nodename> -port <portname> -fields link, up-admin

  1. 要将来使用/连接端口,可以通过设置-up-admin true

network port modify -node <nodename> -port <portname> -up-admin true

对于 FC 端口
  1. 执行命令观察端口管理状态为启用而运行状态为链路断开

network fcp adapter show

  1. 执行命令以观察用户/系统的端口管理状态已关闭且运行状态为离线

network fcp adapter modify -node <nodename> -adapter <portname> -status-admin down

  1. 执行命令以观察端口管理状态为启动,运行状态为链路未连接。

network fcp adapter modify -node <nodename> -adapter <portname> -status-admin up

  1. 在此操作计划之后,交叉验证 AQIUM 中的端口状态,它必须处于 UP 状态

 

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.