This invention relates to the storage of data. In particular, the invention relates to the storage of data using storage components connected by links that support the Fibre Channel (FC) protocol.
The Fibre Channel (FC) protocol enables high-speed point-to-point communications between storage devices through an intelligent collection of switches called a fabric. The storage devices may have one or more node devices called N_Ports which connect directly with ports on the fabric called Fabric Ports (F_Ports). The N_Ports discover each other through the fabric. Any two N_Ports may establish a link by a direct login procedure or a fabric login procedure. Each link is capable of supporting a base level protocol (the FC protocol) as well as one or more upper-level protocols (ULPs) such as the Small Computer Systems Interface (SCSI), the Internet Protocol (IP), the Virtual Interface (VI) Protocol (FCVI), etc. When running a ULP such as VI, a ULP connection must be established between a pair of ULP N_Ports before communication between the N_Ports can occur.
A ULP port e.g., a FCVI port (hereinafter called the “source port”) must discover the port identifier (ID) of the corresponding FCVI port (hereinafter called the “login port”) to which it wishes to send a connection request. This is achieved by querying a name server for the fabric to determine the IP address of the login port or by issuing a FARP (Fabric Address Resolution Protocol) request to all ports on the fabric. Both these techniques to discover the port ID of the login port require a network administrator to manually assign an IP address to the login port. Further, the network administrator has to configure the source port to use the IP address assigned to the login port to discover the port ID of the login port.
If a FARP request is the mechanism used to discover the port ID of the login port, then the source port issues a FARP request to all ports on the fabric. The FARP request includes the IP address of the login port. Each port on the fabric receives the FARP request and compares the IP address therein with its own IP address. Only the port with a matching IP address responds to the FARP request by providing its port ID to the source port.
However, as defined in the FC protocol, the FARP request is an optional service, and is not supported by all manufacturers. Further, manufacturers who provide equipment that supports FARP may require an additional license to use FARP.
Thus, it is desirable that the source and login ports can discover each other by themselves, without a network administrator having to assign IP addresses to the ports, and without the use of FARP requests.
In one embodiment, the invention provides a method for establishing links between Fibre Channel (FC) protocol node devices through a FC fabric. In the method a common name is assigned to a pair of ports. Each port in the pair is located on first and second FC node devices, respectively. The common name-to-port assignment is then stored within a name server for the FC fabric. Each port in the pair of ports is configured to query the name server to establish an identity for the other port in the pair of ports based on the common name. The first and second FC node devices are configured to create a link between the pairs of ports that have been assigned a common name.
Other aspects of the invention will be apparent from the accompanying figures and from the detailed description which follows.
The techniques described herein are applicable to any communications system that supports the Fibre Channel (FC) protocol.
In one embodiment, the invention provides a technique for a pair of FC ports connected to a FC fabric to automatically discover and login to each other. The technique does not require assignments of IP addresses to the FC ports by a network administrator. Further, the technique does not rely on the optional FARP service. Other advantages of the invention will become apparent from the description below.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the invention can be practiced without these specific details. In other instances, structures and devices are shown in block diagram form in order to avoid obscuring the invention.
Reference in this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Moreover, various features are described which may be exhibited by some embodiments and not by others. Similarly, various requirements are described which may be requirements for some embodiments but not other embodiments.
Embodiments of the techniques disclosed herein teach a discovery and login procedure performed by the machines 102 and 104 in order to establish a link 108 between the storage devices 102 and 104. The link 108 may support any type of upper-level protocol (ULP) which runs over the Fibre Channel (FC) protocol. For example, the ULP may include the Small Computer System Interface (SCSI) protocol, or the Virtual Interface (VI) known as FCVI, etc. For purposes of this description, it is assumed that the ULP is the FCVI protocol.
In one embodiment, the method for establishing the FCVI link 108 between storage devices 102 and 104 includes the operations shown in
The operations performed at block 200, in
Referring again to
Referring again to
At block 206, a FCVI link is created between the pair of ports NP1, and NP2, wherein NP1 is used as the login port of NP2, and NP2 is used as the login port of NP1. This is performed in one embodiment, wherein the port NP1 (the source port) logs in directly with the port NP2 (the login port), and the port NP2 (the source port) logs in directly with the port NP1 (the login port).
The operations 200, and 202 shown in
The initialization code also includes a routine to perform the discovery procedure shown in
The version number (see
Referring to
The hardware 900 also typically receives a number of inputs and outputs for communicating information externally. For interface with a user or operator, the hardware 900 may include one or more user input devices 906 (e.g., a keyboard, a mouse, etc.) and a display 908 (e.g., a Cathode Ray Tube (CRT) monitor, a Liquid Crystal Display (LCD) panel).
For additional storage, the hardware 900 may also include one or more mass storage devices 910, e.g., a floppy or other removable disk drive, a hard disk drive, a Direct Access Storage Device (DASD), an optical drive (e.g. a Compact Disk (CD) drive, a Digital Versatile Disk (DVD) drive, etc.) and/or a tape drive, among others. Furthermore, the hardware 900 may include an interface with one or more networks 912 (e.g., a local area network (LAN), a wide area network (WAN), a wireless network, and/or the Internet among others) to permit the communication of information with other computers coupled to the networks. It should be appreciated that the hardware 900 typically includes suitable analog and/or digital interfaces between the processor 902 and each of the components 904, 906, 908 and 912 as is well known in the art.
The hardware 900 operates under the control of an operating system 914, and executes various computer software applications 916, components, programs, objects, modules, etc. (e.g. a program or module which performs operations described with reference to
In general, the routines executed to implement the embodiments of the invention, may be implemented as part of an operating system or a specific application, component, program, object, module or sequence of instructions referred to as “computer programs.” The computer programs typically comprise one or more instructions set at various times in various memory and storage devices in a computer, and that, when read and executed by one or more processors in a computer, cause the computer to perform operations necessary to execute elements involving the various aspects of the invention. Moreover, while the invention has been described in the context of fully functioning computers and computer systems, those skilled in the art will appreciate that the various embodiments of the invention are capable of being distributed as a program product in a variety of forms, and that the invention applies equally regardless of the particular type of machine or computer-readable media used to actually effect the distribution. Examples of computer-readable media include but are not limited to recordable type media such as volatile and non-volatile memory devices, floppy and other removable disks, hard disk drives and optical disks (e.g., Compact Disk Read-Only Memory (CD ROMS), Digital Versatile Disks, (DVDs), etc.), among others.
The description of the present invention with respect to a SAN architecture is intended to be non-limiting. Thus, for example, the techniques disclosed herein apply equally well to a Network Attached Storage (NAS) device.
Number | Name | Date | Kind |
---|---|---|---|
5748612 | Stoevhase et al. | May 1998 | A |
6199112 | Wilson | Mar 2001 | B1 |
6353612 | Zhu et al. | Mar 2002 | B1 |
6606690 | Padovano | Aug 2003 | B2 |
6625747 | Tawil et al. | Sep 2003 | B1 |
6763417 | Paul et al. | Jul 2004 | B2 |
6895453 | Allen et al. | May 2005 | B2 |
6980525 | Banks et al. | Dec 2005 | B2 |
7042877 | Foster et al. | May 2006 | B2 |
7124324 | Au | Oct 2006 | B1 |
7230929 | Betker et al. | Jun 2007 | B2 |
7362717 | Betker | Apr 2008 | B1 |
7386608 | Tsai et al. | Jun 2008 | B2 |
20020191649 | Woodring | Dec 2002 | A1 |
20030091037 | Latif et al. | May 2003 | A1 |
20040010563 | Forte et al. | Jan 2004 | A1 |
20050036499 | Dutt et al. | Feb 2005 | A1 |