Skip to main content
NetApp Knowledge Base

Why would an FCP SAN host login to storage, then immediately logout?

Views:
806
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
san
Last Updated:

Applies to

  • Data ONTAP operating in 7-Mode
  • Data ONTAP 8
  • ONTAP 9

Answer

  • Fabric zoning and storage configuration may allow a host to initially login to a storage target, but some hosts will logout if they have no LUNs mapped from the target.
  • NetApp's event logs only record when an FCP initiator logs in. FCP logouts are not recorded.
  • FCP logins  are seen in EMS, but when you run commands like

"igroup show -v"

or

"fcp initiator show",

there will be no logins for the affected hosts.

  • The FCP login/logout behavior of the host initiators is managed by the host operating system and/or HBA drivers, and can vary.
  • HPUX and AIX are known for logging out initiators when LUNs are NOT present or not being utilized.
  • Regardless of host operating system, if this behavior is present and there are no LUNs mapped to the host's initiator group (igroup), the first step should be to map a new LUN and rescan and/or reboot the hosts. 

Additional Information

In ONTAP 9, the following command is useful when validating FCP host connectivity: 

fcp ping-initiator -vserver <VSERVER> -wwpn <INITIATOR_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.