跳转到主内容

ONTAP 9 中的网络第 2 层可达性要求是什么?

Views:
75
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

ONTAP 9

回答

  • 为了识别 OSI 第 2 层的可达性问题,使用 L2 算法来 ping 集群中属于同一广播域的其他端口的 MAC 地址。
  • L2 ping 通过发送 连接故障管理 (CFM)帧来执行
  • 如果端口从其配置的广播域中的任何其他端口接收到 CFM 帧,则认为自己"健康"
  • 如果端口未从其配置的广播域接收到 CFM 帧,则认为自己"降级"

示例:

  1. 跨两个节点的四个端口配置为属于存储端广播域 TEST 
    • node1:e0a
    • node1:e0b
    • node2:e0a 
    • node2:e0b
  2. 在交换机端,预计所有 4 个端口都将在交换机端 VLAN 10 上配置
    • 意外地,一个端口 node2:e0b 在交换机端 VLAN 20 上配置
  3. VLAN 10 上的 3 个端口可以互相 L2 ping 通,并将被标记为健康。
    • node1:e0a on VLAN10 向属于存储端广播域 TEST 的其他端口发送 CFM 帧
    • 交换机成功将 CFM 帧转发到 VLAN 10 上的端口
    • node1:e0a 被标记为健康
    • 对端口 node1:e0b 和 node2:e0a重复此过程 
  4. 由于它位于 VLAN 20 中,因此 VLAN 20 node2:e0b 上的端口将无法 L2 ping 其他 3 个端口,因此将被标记为降级。
    • node2:e0b on VLAN20 向属于存储端广播域 TEST 的其他端口发送 CFM 帧
    • 交换机未配置为将流量从 VLAN 20 转发到 VLAN 10,因此 CFM 帧不会读取 VLAN 10 上的端口
    • node2:e0b 被标记为已降级
  5. 在此示例中,存储端配置的广播域与交换机端配置的广播域不匹配
    • 根据存储端配置,端口都在单个广播域 TEST 中,因此预计具有 L2 可达性
    • 根据交换机端配置,端口分布在两个单独的广播域 VLAN 10 和 VLAN 20 中,因此缺少 L2 连接
    • 当 ONTAP 检测到存储端和交换机端广播域配置不匹配时,端口被标记为降级


::*> broadcast-domain show -broadcast-domain TEST
  (network port broadcast-domain show)
IPspace Broadcast                                         Update
Name    Domain Name    MTU  Port List                     Status Details
------- ----------- ------  ----------------------------- --------------
Default TEST       1500
                            node1:e0a               complete
                            node1:e0b               complete
                            node2:e0a               complete
                            node2:e0b               complete


::> net port show -health
  (network port show)
                          Health
Node       Port      Link Status   Degraded Reasons
--------   --------- ---- -------- -----------------------
node1
           e0a       up   healthy  -
           e0b       up   healthy  -

node2
           e0a       up   healthy  -
           e0b       up   degraded l2_reachability
 

注: node2:e0b 是交换机端 VLAN 20 端口。

追加信息

追加信息_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.