跳转到主内容

运行fcp ping-Initiator show命令时、"not -achable"是什么意思?

Views:
71
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 无法访问。
  • 如果发送到主机的ELS_Echo 请求未返回、则会显示"Not reachable "状态。这并不意味着主机在任何情况下都不会登录到存储或连接到存储、因为并非所有设备都支持ELS_Echo 请求。
  • 我们需要检查主机是否支持ELS_Echo 请求并对其做出响应。
  • 交换机和主机HBA供应商文档应显示是否支持ELS_Echo 请求。
  • 在SAN交换机上、我们可以使用"fcping "命令验证与单个设备或一对设备之间的链路连接。
  • fcPing On Fabric OS会向一对端口或单个目标发送光纤通道扩展链路服务(ELS) Echo 请求。此命令可执行以下功能:
    • 检查指定的两个端口的分区配置。
    • 向指定的源端口生成ELS ECHO 请求并验证响应。
    • 生成发送到指定目标端口的 ELS ECHO 请求并验证响应。


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

  • 默认情况下、fcPing 会向每个端口发送五个ELS_Echo 请求。
  • 如果设备不响应ELS_Echo 请求,则可能需要进一步调试,以确定设备是否不支持ELS_Echo ,或者请求是否因其他原因而被拒绝。
  • 无论设备的分区配置如何、fcping 命令都会将ELS 帧发送到目标端口。
  • 目标设备可以执行以下任一操作:
    • ELS 请求发送ELS Accept
    • ELS 请求发送ELS Reject
    • 忽略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确认或请求超时出现任何延迟、即使在这种情况下、我们也会看到  主机not-reachable 的" WWPN"响应。

 

 

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.