跳转到主内容

运行命令 fcp ping-initiator show 时,"Not-Reachable" 是什么意思?

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

适用于

ONTAP 9

回答

  • 命令 vserver fcp ping-initiator show   显示主机 WWPN 的"not-reachable"响应。

示例:

SAN::*> vserver fcp ping-initiator show -vserver test_svm -wwpn 20:00:00:00:00:00:00:00
               Node     Logical   Ping     Extended
Vserver   WWPN        Name     Interface Status    Status
--------- ----------------- ---------- --------- ----------- -----------------
test_svm
      20:00:00:00:00:00:00:00
               SAN8080-01 SAN8080-01_fcoe_lif_1
                         not-reachable -
      20:00:00:00:00:00:00:00
               SAN8080-02 SAN8080-02_fcoe_lif_1
                         not-zoned -

 

  • 在上面的例子中,LIF SAN8080-01_fcoe_lif_1 是 不可达的。
  • 当发送到主机的 Not reachable 请求未返回时,会看到“ELS_Echo”状态。这并不意味着主机在所有情况下都没有登录存储或连接到存储,因为并非所有设备都支持 ELS_Echo 请求。
  • 我们需要检查主机是否支持并响应 ELS_Echo 请求。
  • 交换机和主机 HBA 厂商文档应显示是否支持 ELS_Echo 请求。
  • 在 SAN 交换机上,我们可以使用“fcping”命令来验证与单个设备或一对设备之间的链路连通性。
  • fcPing 在 Fabric OS 上会向一对端口或单个目标发送一个 Fibre Channel Extended Link Service (ELS) Echo 请求。此命令执行以下功能:
    • 检查指定两个端口的分区配置。
    • 生成对指定源端口的 ELS ECHO 请求并验证响应。
    • 生成对指定目标端口的 ELS ECHO 请求并验证响应。


注意-
有些设备不支持 ELS ECHO 请求。在这种情况下,响应可以是 ELS rejectrequest timeout
当设备未响应 ELS 请求时,需要进一步调试;但是,请勿假定设备未连接。

  • 默认情况下,fcPing 会向每个端口发送五个 ELS_Echo 请求。
  • 当设备未响应 ELS_Echo 请求时,可能需要进一步调试以确定设备是否不支持 ELS_Echo,或者请求是否因其他原因而被拒绝。
  • 无论设备的分区配置如何,fcping 命令都会将 ELS 帧发送到目的端口。
  • 目标设备可以执行以下任一操作:
    • ELS Accept发送到ELS请求。
    • ELS Reject发送到ELS请求。
    • 忽略ELS请求。

 

  •  以下是接受请求的设备和拒绝请求的另一台设备的一个示例,请参阅以下内容-

device:admin> fcping 10:00:00:00:c9:29:0e:c4 21:00:00:20:37:25:ad:05
Source: 10:00:00:00:c9:29:0e:c4
Destination: 21:00:00:20:37:25:ad:05
Zone Check: Not Zoned

Pinging 10:00:00:00:c9:29:0e:c4 [0x20800] with 12 bytes of data:
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1162 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1013 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1442 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1052 usec
received reply from 10:00:00:00:c9:29:0e:c4: 12 bytes time:1012 usec
5 frames sent, 5 frames received, 0 frames rejected, 0 frames timeout
Round-trip min/avg/max = 1012/1136/1442 usec

Pinging 21:00:00:20:37:25:ad:05 [0x211e8] with 12 bytes of data:
Request rejected by 21:00:00:20:37:25:ad:05: Command not supported: time: 1159 usec
Request rejected by 21:00:00:20:37:25:ad:05: Command not supported: time: 1006 usec
Request rejected by 21:00:00:20:37:25:ad:05: Command not supported: time: 1008 usec
Request rejected by 21:00:00:20:37:25:ad:05: Command not supported: time: 1038 usec
Request rejected by 21:00:00:20:37:25:ad:05: Command not supported: time: 1010 usec
5 frames sent, 0 frames received, 5 frames rejected, 0 frames timeout

追加信息

  • "not-reachable" 状态在 Ontap 升级期间不会出现任何问题,只要我们验证了从主机到存储的连接正常工作,并且我们可以通过所有路径访问 lun。     
  • 分区适当且响应迅速的主机示例。

示例:

SAN8080::*> vserver fcp ping-initiator show -vserver test_svm -wwpn 20:00:00:00:00:00:00:00
               Node     Logical   Ping     Extended
Vserver   WWPN        Name     Interface Status    Status
--------- ----------------- ---------- --------- ----------- -----------------
vserver_1
      20:00:00:00:00:00:00:00
             node_1
                   lif_1    reachable wwpn-logged-in

                                    

  • 如果来自主机的 ELS_ECHO 确认或请求超时有任何延迟,即使在这种情况下,我们也会看到主机 WWPN 的"not-reachable"响应。

 

 

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.