System and method of tunneling SAS-extender discovery through a fibre-channel fabric
An embodiment of invention is a method of tunneling Serial Attached SCSI (SAS) extender discovery through a Fibre Channel (FC) fabric. The SAS interfaces on the SAS extender are initialized first. The FC links are then brought up and device routing table is built. Then a check is made to determine if any SAS devices are connected to the extender. If a SAS device is connected, extender registers its ID with a unique FC4 type as SAS tunneling device in the FC fabric nameserver, and queries discovery of the same device types. If another device of the same type is found, the local extender logs into remote extender through the FC fabric, performs a discovery and identifies all the SAS devices in the remote site, to identify all the devices and route traffic.
Latest IBM Patents:
Serial Attached SCSI (SAS) is the next generation of the Small Computer System Interface (SCSI), used for connecting storage devices to a computer system. It has been developed as an alternative to the Fibre Channel interface (FC), offering similar performance and reduced cost, at the expense of connectivity and scalability.
Tunneling through a Fibre Channel link with SAS traffic introduces the problem of discovery of the SAS devices when a new tunneling extender is introduced into a Fibre Channel fabric. The SAS devices attached to the new tunneling extender will not be visible to the other SAS devices attached to other remote SAS extenders without a new process for initiating discovery.
SUMMARY OF THE INVENTIONIn one embodiment of the invention, the SAS interfaces on the SAS extender are initialized first. The Fibre Channel (FC) links are then brought up and device routing table is built. Then a check is made to determine if any SAS devices are connected to the extender. If no SAS devices are connected to the extender over the SAS ports, then the process waits for a Broadcast Change (BC) primitive, indicating a change has occurred. If a BC primitive is not received, the extender continues to wait. If a BC primitive is received, SAS discovery is performed again.
In one embodiment, if SAS devices are discovered on at least one of the extender SAS links, extender logs into the FC fabric over the FC link, then does a port login into the fabric nameserver, and registers for State Change Notification (SCN), then the extender registers its ID with the fabric nameserver as a FC device with a unique fibre channel FC4 type indicating that it is a SAS tunneling extender. The SAS extender then queries the FC fabric nameserver for any other SAS tunneling extenders with the same FC4 type. At this point, the embodiment checks the results of the query to determine if another SAS tunneling extender is present.
In one embodiment, if another device is found, the extender does a port login to the remote extender, issues a SAS Broadcast Change (BC) primitive that has been encapsulated in a fibre channel frame to the remote SAS extender. The BC primitive is passed to any SAS devices that are attached to the remote extender, causing any remotely attached SAS initiator(s) to perform SAS discovery. Any SAS devices that are attached to the SAS extender will be discovered by the remote SAS extender during this discovery process. At this point, encapsulated SAS traffic can then flow through the FC link between the two SAS extenders. If SAS traffic is detected, depending on the type of the traffic, it is either encapsulated and send over the FC to the remote extender or un-encapsulated from the remote extender and send to the proper port.
In one embodiment, if no device is found, the process waits for Report State Change Notification (RSCN). If RSCN is not detected, the process continues to wait. If RSCN is detected, the process goes through the discovery steps as mentioned in second paragraph above.
One embodiment of invention teaches the configuration management process which allows SAS devices to discover other SAS devices through a Fibre Channel fabric. An example of this application is an SAS storage system which is depicted in
Initiator 110 is connected via SAS interface 120 to a SAS Extender 112, which is connected to remote SAS Extender 114 via a Fibre Channel link 122, which is in turn connected to target storage device 116 via SAS interface 124. Fibre Channel link 122 may be physically kilometers long, allowing data from initiator 110 to be stored remotely on target 116. Initiator 110 and target 116 operate as if the Fibre Channel link 122 and the SAS extenders 112 and 114 are not in the connection, and the link is purely a SAS link.
Link 122 may be hundreds of kilometers long, versus links 120 and 124 which are limited to 10 meters long. Links 120 and 124 may alternately be Serial Advance Technology Attachment (SATA). Link 122 may alternately be Ethernet.
Referring to
In one embodiment, if in step 214 SAS devices are discovered on at least one of the extender SAS links, the process moves to step 218, where the extender logs into the Fibre Channel fabric over the Fibre Channel link. The process flows to step 220, where the extender does a port login into the fabric nameserver. The extender then registers with the Fibre Channel nameserver for State Change Notification (SCN) in step 222, so that if there is a configuration change on the fabric, the extender is notified. In one embodiment, this is a State Change Registration frame (SCR).
Referring to
Referring to
Referring to
Referring to
In one embodiment, if in step 610 there is no SAS traffic received on any of the SAS ports, then the process flows to step 618, where it checks for encapsulated SAS traffic received on the fibre channel port from the fibre channel fabric. If SAS traffic is received over the FC link, the process moves to step 620, and the SAS traffic is un-encapsulated and forwarded to the appropriate SAS port connecting to the addressed SAS device. The process then returns to
In one embodiment, if in there is no encapsulated SAS traffic received from the Fibre Channel fabric, the process transitions to
Referring to
One embodiment of the invention is a method of tunneling serial attached small computer system interface extender discovery through a fibre-channel fabric, the method comprising:
-
- A first serial attached small computer system interface extender checking for a fibre channel report state change notification frame on a fibre channel link; the fibre channel report state change notification indicating that a fabric configuration has changed; wherein the first serial attached small computer system interface extender having a first fibre channel interface and a third interface; wherein a second serial attached small computer system interface extender having a second fibre channel interface and a fourth interface; wherein the first fibre channel interface and the second fibre channel interface are connected via said fibre channel link;
- The first serial attached small computer system interface extender performing discovery on first ports, if the first serial attached small computer system interface extender bringing up the first ports, or if the first serial attached small computer system interface extender receiving a broadcast change primitive on a first link; In case of performing the discovery, if these are no serial attached small computer system interface devices discovered, then monitoring the first link for the broadcast change primitive;
- In case of performing the discovery, if a serial attached small computer system interface devices is discovered, or if the first serial attached small computer system interface extender receives the fibre channel report state change notification, then the first serial attached small computer system interface extender performing the following: logging in to a fibre channel fabric, logging in into a fabric nameserver, registering with the fabric nameserver for the fibre channel report state change notification, registering an identification code with the fabric nameserver as a fibre channel device with a unique first fibre channel type, indicating a tunneling extender, querying the fabric nameserver for any other tunneling extenders with the same first fibre channel type, in case of having no other tunneling extender, monitoring for the fibre channel report state change notification on the fibre channel link, in case of having a tunneling extender, logging in a remote extender, issuing the broadcast change primitive, encapsulated in a fibre channel frame, to the remote extender via the fibre channel link, passing the broadcast change primitive to any device that is attached to the remote extender, a remotely attached initiator performing discovery, discovering any device that is attached to the first serial attached small computer system interface extender, and rebuilding a configuration table;
- The first serial attached small computer system interface extender checking for fibre channel port down condition due to a link failure; and in case of the fibre channel port down condition, the first serial attached small computer system interface extender sending the broadcast change primitive to its corresponding interfaces, initiating discovery, and notifying all local devices that all remote devices may have changed.
A system, apparatus, or device comprising one of the following items is an example of the invention: serial attached small computer system interface extender, fibre-channel fabric, state change notification frame, fibre channel link, fabric configuration, fibre channel interface, port, broadcast change primitive, link, fabric nameserver, identification code, tunneling extender, initiator, SAS device, configuration table, SAS event, or any software, applying the method mentioned above, for purpose of invitation or tunneling serial attached small computer system interface extender discovery through a fibre-channel fabric.
Any variations of the above teaching are also intended to be covered by this patent application.
Claims
1. A method of tunneling serial attached small computer system interface extender discovery through a fibre-channel fabric, said method comprising:
- a first serial attached small computer system interface extender checking for a fibre channel report state change notification frame on a fibre channel link, wherein said fibre channel report state change notification indicates that a fabric configuration has changed;
- wherein said first serial attached small computer system interface extender having a first fibre channel interface and a third serial attached small computer system interface type interface;
- wherein a second serial attached small computer system interface extender having a second fibre channel interface and a fourth serial attached small computer system interface type interface;
- wherein said first fibre channel interface and said second fibre channel interface are connected via said fibre channel link;
- said first serial attached small computer system interface extender performing discovery on first ports, if said first serial attached small computer system interface extender bringing up said first ports, or if said first serial attached small computer system interface extender receiving a broadcast change primitive on a first serial attached small computer system interface type link;
- in case of performing said discovery, if there is no serial attached small computer system interface device discovered, then monitoring said first serial attached small computer system interface link for said broadcast change primitive;
- in case of performing said discovery, if a serial attached small computer system interface device is discovered, or if said first serial attached small computer system interface extender receives said fibre channel report state change notification, then said first serial attached small computer system interface extender performing the following: logging in to a fibre channel fabric, if not already logged in to said fibre channel fabric, logging in into a fabric nameserver, registering with said fabric nameserver for said fibre channel report state change notification, if not already registered with said fabric nameserver for said fibre channel report state change notification, registering an identification code with said fabric nameserver as a fibre channel device with a unique first fibre channel type, indicating a tunneling extender, if not already registered said identification code with said fabric nameserver as said fibre channel device with said unique first fibre channel type, querying said fabric nameserver for any other tunneling extenders with the first fibre channel type, in case of having no other tunneling extender, monitoring for said fibre channel report state change notification on said fibre channel link, in case of having a tunneling extender, logging in a remote extender, issuing said broadcast change primitive, encapsulated in a fibre channel frame, to said remote extender via said fibre channel link, passing said broadcast change primitive to any device that is attached to said remote extender, a remotely attached initiator performing discovery, discovering any serial attached small computer system interface device attached to said first serial attached small computer system interface extender, and rebuilding a configuration table;
- said first serial attached small computer system interface extender checking for fibre channel port down condition due to a link failure;
- in case of said fibre channel port down condition, said first serial attached small computer system interface extender sending said broadcast change primitive to its corresponding interfaces, initiating discovery, and notifying all local devices that all remote devices may have changed;
- checking for a first traffic of serial attached small computer system interface type from said first ports, and encapsulating and forwarding said first traffic to said remote extender via said fibre channel link, if said first traffic is addressed to a serial attached small computer system interface device attached to said remote extender; and
- checking for a second encapsulated traffic of serial attached small computer system interface type received on said fibre channel port via said fibre channel fabric, and un-encapsulating and forwarding said second encapsulated traffic to a port among said first ports which is connected to a receiving serial attached small computer system interface device, if said second traffic is addressed to said receiving serial attached small computer system interface device.
6138161 | October 24, 2000 | Reynolds et al. |
6209023 | March 27, 2001 | Dimitroff et al. |
7085903 | August 1, 2006 | Johnson et al. |
7257730 | August 14, 2007 | Spry |
20050088979 | April 28, 2005 | Mehra |
20050188239 | August 25, 2005 | Golasky et al. |
20050281261 | December 22, 2005 | Zur et al. |
20070073909 | March 29, 2007 | Gasser |
20070294572 | December 20, 2007 | Kalwitz et al. |
20080010530 | January 10, 2008 | Davies et al. |
WO2006025840 | March 2006 | WO |
- Resolve IP Fragmentation, MTU, MSS, and PMTUD Issues with GRE and IPSEC, Oct. 2, 2006, Cisco.
- GRE Tunnel Keepalives, Aug. 20, 2005, Cisco.
- DeSanti et al., RFC4438—Fibre-Channel Name Server MIB, Apr. 2006, Network Working Group.
- DeSanti et al., RFC4983—Fibre Channel Registered State Change Notification, Aug. 2007, Network Working Group.
Type: Grant
Filed: Feb 5, 2008
Date of Patent: Apr 21, 2009
Assignee: International Business Machines Corporation (Armonk, NY)
Inventors: Craig A. Klein (Tucson, AZ), Timothy Allen Johnson (Tucson, AZ), Louie A. Dickens (Tucson, AZ), Daniel James Winarski (Tucson, AZ)
Primary Examiner: Alford W Kindred
Assistant Examiner: Hyun Nam
Attorney: MaxValue IP, LLC
Application Number: 12/025,994
International Classification: G06F 13/12 (20060101); G06F 11/00 (20060101);