Sie sind auf Seite 1von 2

SCSI Device Discovery and Authentication Procedure(s)

(T11/00-039v0)
David Peterson, STK-NBG

The text below describes a procedure for discovering and authenticating SCSI device’s in a
Fabric and loop environment. The Fabric SCSI device discovery procedure shall also apply to a
F/NL_Port that supplies the required Simple Name Server service functionality.

Keywords:
I = Initiator
T = Target

Fabric SCSI Device Discovery


1. (I,T) Perform FLOGI (if needed).
2. (I,T) Login with the Name Server.
3. (I,T) Register with the Name Server.
4. (I,T) Login with the Fabric Controller.
5. (I,T) Register for State Change Notification.
6. (I) Issue a GID_FT query to the Name Server with the Domain_ID Scope and Area_ID Scope
fields set to zero, and the FC-TYPE Code set to ‘08’hex.
7. (I) For each Port Identifier returned in the FS_ACC NS_DU for the GID_FT, perform
PLOGI/PRLI (if needed), and issue an INQUIRY command to lun 0 followed by a REPORT
LUNS command to lun 0.
8. (I) Issue an INQUIRY command with the EVPD bit set for each reported lun to obtain the
logical unit’s WWNN and WWPN.

Loop SCSI Device Discovery


1. (I) Obtain a map of the loop. (Or poll all if a loop map is not available.)
2. (I) For each loop ID in the loop map, perform PLOGI/PRLI (if needed), and issue an INQUIRY
command to lun 0.
3. (I) If the INQUIRY command succeeds, issue a REPORT LUNS command to lun 0.
4. (I) Issue an INQUIRY command with the EVPD bit set for each reported lun to obtain the
logical unit’s WWNN and WWPN.

Fabric and Device Authentication


1. NL_Ports shall retain the Fabric Port Name and Fabric Name of the Fabric from the FLOGI
and associate that information with the Loop Fabric Address of that Fabric. This information
shall be retained for as long as the FLOGI with the Fabric is active.
2. SCSI Initiators and SCSI Targets shall validate the current Fabric login following every Loop
Initialization by comparing the Loop Fabric Address, Fabric Port Name, and Fabric Name
received during FLOGI with those reported by the received FAN. All three identifiers reported
by the FAN shall match the values reported during FLOGI or a configuration change has
occurred; LOGO is required and all open Exchanges shall be terminated.
3. NL_Ports shall retain the Node Name and Port Name of the other port from each PLOGI and
associate that information with the Address Identifier of that NL_Port. This information shall
be retained for as long as the PLOGI with the other port is active.
4. SCSI Initiators and SCSI Targets shall validate NL_Port logins following every Loop
Initialization by comparing the Port Name, Node Name, and Address Identifier received
during the PLOGI with those reported by the Name Server (refer to FC-GS-2) or received
ADISC/ACC that follows the Loop Initialization. All three identifiers reported by the Name
Server or ADISC/ACC shall match the values reported during PLOGI or a configuration
change has occurred; LOGO is required and all open Exchanges with that SCSI Initiator or
SCSI Target shall be terminated.

Implementation Notes
1. Track each SCSI device (i.e. lun) using the WWNN returned in the INQUIRY command vital
product data page 0x83 (i.e. Device identification page that returns two identifiers (port
name/node name)).

Das könnte Ihnen auch gefallen