1. Field of the Invention
The present invention relates to a method, system, and program for enabling communication between devices using different address formats.
2. Description of the Related Art
A storage area network (SAN) comprises a network liking one or more servers to one or more storage systems. Each storage system could comprise a Redundant Array of Independent Disks (RAID) array, tape backup, tape library, CD-ROM library, or JBOD (Just a Bunch of Disks) components. One common protocol for enabling communication among the various SAN devices is the Fibre Channel protocol, which uses optical fibers to connect devices and provide high bandwidth communication between the devices. In Fibre Channel terms the “fabric” comprises one or more switches, such as cascading switches, that connect the devices. The link is the two unidirectional fibers, which may comprise an optical wire, transmitting to opposite directions with their associated transmitter and receiver. Each fiber is attached to a transmitter of a port at one end and a receiver of another port at the other end.
The Fibre Channel protocol defines a fabric topology. A fabric includes one or more switches, each switch having multiple ports, also referred to as F_Ports. A fiber link may connect an N_Port, or node port, on a device to one F_Port on the switch. N_Port refers to any port on a non-switch device. An N_Port can communicate with all other N_Ports attached to the fabric to which the N_Port is connected, i.e., N_Ports on the immediate switch or interconnected cascading switches.
Another common Fibre Channel topology is the loop. The devices in a arbitrated loop are daisy chained together. An L_Port is a port on a device that has arbitrated loop capabilities. An NL_Port is a device port that is part of a loop and capable of communicating with other N_Ports in a fabric. An FL_Port is a switch port connected to a loop.
In the Fibre Channel architecture, N_Ports and NL_Ports have a 24 bit port address. In a private loop where there is no switch, the upper two bytes of the address are zeroed to x‘00 00’. If the loop is attached to a fabric, i.e., switch and the NL_Port supports fabric login, then the switch assigns the loop identifier that is common to all NL_Ports on the loop as the upper two bytes of the loop device (NL_Port).
In both public and private loops, the last byte of the address is the Arbitrated Loop Physical Address (AL_PA), which identifies the device in the loop.
Numerous installed Fibre Channel configurations utilize a private arbitrated loop, including servers and storage arrays. In the prior art, efforts have been undertaken to allow fabric devices to communicate with private loop devices. This may be desirable to incorporate private loops into larger networks and to allow for scalability of the device population and increase the transmission distance. This is especially important because, as mentioned, most currently installed Fibre Channel configurations are arbitrated private loop configurations.
One technique that may be used to integrate fabric devices into an arbitrated private loop would be to upgrade all the private loop devices to have a 24 bit address, just like the fabric or public loop devices. However, such an upgrade operation would be a substantial undertaking given the number of installed private arbitrated loops. Moreover, many users may be hesitant to perform an upgrade because of concerns that such an upgrade could upset a current satisfactory system configuration. For instance, an upgrade may involve changes to low level software or firmware of the device. System administrators may be inclined against such changes that could have a substantial impact on the entire system performance, especially if the system contains sensitive or very critical data.
Another technique to allow communication between private loop devices and fabric devices involves performing a loop initialization procedure (LIP) to assign the fabric device an 8 bit arbitrated loop address (AL_PA) on the private loop. Loop initialization (LIP) allows new participants onto the private loop, assigns the AL_PAs, and provides notification of topology changes. The fabric device would then use the assigned private loop AL_PA to participate in the private loop just as if the fabric device is physically connected to the private loop. The private loop devices would view the fabric device assigned the 8 bit AL_PA as another private loop device having an 8 bit AL_PA address, even though the fabric device is in fact connected to a switch and uses the full 24 bit address, and may communicate with other fabric devices using the 24 bit address.
An FL_port on the switch connected to the private loop would facilitate communication between the fabric devices assigned the 8 bit AL_PA with the private loop devices. The FL_port on the switch would perform all the functions necessary to obtain the 8 bit private loop address (AL_PA) for the fabric device. Further, when the private loop device transmits a frame destined for the fabric device, the switch port would translate the 8 bit AL_PA of the private loop device in the destination ID field (DID) into the 24 bit fabric address the switch assigned to the transmitting private loop device. The FL_Port would perform similar translation for frames communicated from the fabric device to the private loop device.
One disadvantage of the prior art technique of performing a loop initialization (LIP) to assign each fabric device that wants to communicate on the private loop a private loop AL_PA is that performing the LIP operation will disrupt all the current private loop operations and perform a whole new assignment of addresses to the private loop devices. Further, the FL_Port on the switch connected to the private loop would have to provide notification of the AL_PA changes to all registered nodes in the fabric including the switch, which is disruptive to the fabric devices receiving such notification because they have to perform re-authentication. Further, these notifications may cause a network storm and clutter the network bandwidth. Thus, granting a fabric device access to the private loop by performing a loop initialization (LIP) and assigning the fabric device the 8 bit private loop AL_PA disrupts both the private loop devices and fabric devices. Further details of the Fibre Channel protocol and attaching private arbitrated loops to a switch are described in the publication “Designing Storage Area Networks: A Practical reference for Implementing Fibre Channel SANs”, by Tom Clark (Addison Wesley Longman, 1999), which publication is incorporated herein by reference in its entirety.
Thus, there is a need in the art for improved techniques for allowing fabric devices attached to a switch to communicate with private loop devices.
Provided is a computer implemented method, system, and program for enabling communication between a first network device that communicates using a first address format and a second network device that communicates using a second address format. A frame from the first network device directed toward the second network device is received. A determination is made as to whether one address in the second address format is available to communicate with the second network device. A correspondence is defined between the first network device address in the first address format and the determined address in the second address format if one address in the second address format is available, wherein the determined address is used to represent the first network device to the second network device.
Still further, the first network device may use an address of the second network device in the first address format to communicate with the second network device and the received frame may indicate the first and second network device addresses in the first address format as the source and destination addresses. The first network device address indicated in the frame is set to the defined corresponding address in the second address format for the first network device and the second network device address indicated in the frame is set to a second network device address in the second format. The frame including the first and second network device addresses in the second address format is then transmitted to the second network device.
Additionally, the second network device is a member of a group of network devices that use the second address format to communicate. The first network device uses the defined corresponding address in the second address format to communicate with any member of the group of network devices.
Moreover, correspondences are defined between multiple network device addresses, including the first network device, in the first address format and one determined available address in the second address format. The determined addresses in the second address format are used to represent the multiple network devices to the group of network devices.
In further implementations, the group of network devices comprises an arbitrated loop, such as a private arbitrated loop, attached to a switch. The first network device is capable of communicating with one port on the switch Still Either, the network devices and switch may communicate using the Fibre Channel protocol.
Referring now to the drawings in which like reference numbers represent corresponding parts throughout:
In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several embodiments of the present invention. It is understood that other embodiments may be utilized and structural and operational changes may be made without departing from the scope of the present invention.
Each device that is part of a loop includes an NL_Port. The loop devices 12a, b, c, d include NL_Ports 14a, b, c, d. In the described implementations, each of the ports 6a, b, c, d, e and 14a, b, c, d comprise Fibre Channel ports that implement the Fibre Channel protocols known in the art and include code to execute the protocols of the implementations of the invention described herein. The FL_Port 6e functions as the gateway between the loop devices 12a, b, c, d and the fabric devices 8a, b, c, d.
The switch 4 further includes a name server 16 and fabric controller 18 in which the switch management logic is implemented. The name server 16 comprises a Fibre Channel name server including a database of objects. Each fabric attached device may register or query useful information in the name server 14, including, name, address and class of service capability of other participants. In alternative configurations, the switch 4 may include additional switch ports (F_Ports) to connect to any other number of switches, devices and public/private loops 18. Further details of the switch 4, 9 components are described in the publication entitled “Fibre Channel Switch Fabric—2 (FC-SW—2), Rev. 4.8”, working draft proposal of ANSI (Oct. 27, 2000), which publication is incorporated herein by reference in its entirety.
The name server 16 identifies fabric devices 8a, b, c, d and loop devices 12a, b, c, d with a 24 bit address, including an 8 bit area field, an 8 bit domain field and an 8 bit port ID. The domain field provides an address for a group of one or more interconnected switches in a fabric. The area byte provides an address of a switch port to which the device is connected. If the device is part of an arbitrated loop, then the area byte provides a port address shared by devices on the loop. The combination of the domain and area bytes can identify a fabric loop, or a specific loop attached to a specific switch, such as private loop 10. The port ID provides a unique identifier of a port within a domain and area, or a unique address of a device on an arbitrated loop (L_Port), e.g., the address of the loop devices 12a, b, c, d on private loop 10.
In the topology of
During the loop initialization of the private loop 10, the FL_Port would function as the loop master to provide the assignment of the 8 bit AL_PA addresses to the loop devices 12a, b, c, d. The loop master further maintains an AL_PA bitmap 22 indicating the 8 bit AL_PA addresses assigned to the loop devices 12a, b, c, d. The FL_Port 6e would be assigned an AL_PA of hex “00”. Further details of loop initialization are described in the publication “Fibre Channel Arbitrated Loop (FC-AL—2), Rev. 7.0”, working draft proposal of ANSI (Apr. 1, 1999), which publication is incorporated herein by reference in its entirety. The FL_Port 6e would behave strictly like a private loop 10 member with respect to the private loop devices 12a, b, c, d and at the same time facilitate communication between fabric devices 8a, b, c, d and the private loop devices 12a, b, c, d. In this way, the private loop devices 12a, b, c, d are unaware that they are communicating with fabric devices 8a, b, c, d that utilize a 24 bit address to communicate as all the mapping and translation is handled by the FL_Port 6e.
In the described implementations, the switch 4 would discover the presence of the loop devices 12a, b, c, d and register in the name server 16 a 24 bit address for each private loop device 12a, b, c, d, where the domain and area fields would uniquely identify the private loop 10 as attached to the switch 4 and the port ID would comprise the AL_PA assigned to the private loop device 12a, b, c, d during the LIP performed by the private loop 10. The switch 4 would detect and register the private loop devices 12a, b, c, d as well as fabric devices 8a, b, c, d using Fibre Channel registration techniques known in the art. Thus, after registration with the switch 4, fabric devices 8a, b, c, d address the private loop devices 12a, b, c, d using the 24 bit address maintained in the name server 16, even though the private loop devices 12a, b, c, d can only use an 8 bit address to communicate. The name server 16 would also include information indicating that the loop devices 12a, b, c, d are private loop devices. A private loop mapping 20 provides a defined correspondence of 24 bit to 8 bit addresses to allow communication between fabric devices 8a, b, c, d and private loop devices 12a, b, c, d in the manner described below. In certain implementations, the private loop mapping 20 is maintained in the FL_Port 6e, which handles all mapping and translation between fabric devices 8a, b, c, d that use a 24 bit address to communicate and private loop devices 12a, b, c, d that use an 8 bit address to communicate.
In the Fiber Channel protocol, data and commands are communicated in frames.
In order to communicate with the private loop devices 12a, b, c, d, the fabric devices 8a, b, c, d must perform a PLOGI to discover information and exchange service parameters with the loop devices 12a, b, c, d to determine the Fibre Channel services and class level supported by the loop devices 12a, b, c, d.
If (at block 102) an AL_PA is available in the AL_PA bitmap 22, then the F-Port 6e selects (at block 106) the first available address in the AL_PA bitmap 22, and then marks the selected address as used. The FL_Port 6e then defines (at block 108) in the private loop mapping 20 a correspondence of the selected 8 bit AL_PA to the 24 bit address of the fabric device 8a, b, c, d initiating the PLOGI request. The selected 8 bit AL_PA is used to represent and address the fabric device 8a, b, c, d in the private loop 10. Control then proceeds (at block 110) to block 150 in
With the logic of
In certain implementations, the private loop mapping 20 remains effective until a loop initialization process (LIP) occurs on the private loop 10. Occurrence of a LIP on the private loop 10 would cause the FL_Port 6e to invalidate all the mappings in the private loop mapping 20 and deliver registered state change notifications (RSCNs) to all fabric devices 8a, b, c, d that have registered to receive such notifications. Communication between the fabric devices 8a, b, c, d and the loop devices 12a, b, c, d would not be enabled until the FL_Port 6e initializes a new private loop mapping 20 between the fabric device 8a, b, c, d requesting access to the private loop 10 and a private loop AL_PA. Without the private lop mapping 20, the fabric devices 8a, b, c, d cannot communicate with loop devices 12a, b, c, d.
The technique for enabling communication between network devices described herein may be implemented as a method, apparatus or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term “article of manufacture” as used herein refers to code or logic implemented in hardware logic (e.g., an integrated circuit chip, Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), etc.) or a computer readable medium (e.g., magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, firmware, programmable logic, etc.). Code in the computer readable medium is accessed and executed by a processor. The code in which preferred embodiments of the configuration discovery tool are implemented may further be accessible through a transmission media or from a file server over a network. In such cases, the article of manufacture in which the code is implemented may comprise a transmission media, such as a network transmission line, wireless transmission media, signals propagating through space, radio waves, infrared signals, etc. Of course, those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope of the present invention, and that the article of manufacture may comprise any information bearing medium known in the art.
Certain operations were described as performed by fabric controller 18 and FL_Port 6e. Alternatively, the operations described with respect to the fabric controller 18 and FL_Port 6e may be performed by other components of the switch 4. For instance, the mapping operations described as performed by the FL_Port 6e may be performed by some other components within the switch 4.
The described implementations provide a mapping technique used in a Fibre Channel architecture protocol to allow communication between devices using 24 bit addressing to devices that use 8 bit addressing. However, those skilled in the art will appreciate that the address mapping technique of the described implementations may be utilized with network transmission protocols other than Fibre Channel when groups of devices in the network use different addressing schemes. Accordingly, the invention is not limited to the Fibre Channel protocol environment, but may also be used to provide a mapping technique in non-Fibre Channel environments.
In described implementations, a mapping was provided between 8 bit and 24 bit addresses. In alternative implementations, the mapping may provide correspondence of address formats other than a correspondence of 24 to 8 bit address formats. Thus, implementations are not limited to an 8 to 24 bit address mapping.
In the described implementations, the mapping is established whenever the fabric device submits a PLOGI request to discover the service parameters of the private loop device 12a, b, c, d. In alternative implementations, the mapping may be established during another type of operation between the fabric and loop device.
In the described Fibre Channel protocol, data is communicated between devices in frames, including different fields, that conform to the Fibre Channel frame protocol. In alternative implementations, the frames comprising the data communicated between devices may be implemented in alternative formats according to other network communication protocols known in the art.
The topology of
The foregoing description of various implementations of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
Number | Name | Date | Kind |
---|---|---|---|
5835723 | Andrews et al. | Nov 1998 | A |
5857080 | Jander et al. | Jan 1999 | A |
5974452 | Karapetkov et al. | Oct 1999 | A |
6081836 | Karapetkov et al. | Jun 2000 | A |
6118776 | Berman | Sep 2000 | A |
6137799 | Karapetkov et al. | Oct 2000 | A |
6292838 | Nelson | Sep 2001 | B1 |
6321255 | May et al. | Nov 2001 | B1 |
6542935 | Ishii | Apr 2003 | B1 |
6587455 | Ray et al. | Jul 2003 | B1 |
6681259 | Lemilainen et al. | Jan 2004 | B1 |
6687755 | Ford et al. | Feb 2004 | B1 |
6741585 | Munoz et al. | May 2004 | B1 |
6772210 | Edholm | Aug 2004 | B1 |
Number | Date | Country |
---|---|---|
0697801 | Feb 1996 | EP |
1003315 | May 2000 | EP |
1032162 | Aug 2000 | EP |
Number | Date | Country | |
---|---|---|---|
20020147817 A1 | Oct 2002 | US |