A Fiber channel switch is provided for a relative addressing scheme for domain values to avoid losing portions of a Fiber channel identifier. At a Fiber channel switch, data is stored that assigns a relative domain field value to a run-time domain. The relative domain field value used for a Fiber channel identifier is determined for devices connected to the switch based on the run-time domain of the devices and the virtual storage area network in which the devices are active. A Fiber channel identifier is stored in a memory of the switch that comprises the relative domain field value determined for the device together with area and port values for the device. The relative domain value is either a reserved domain field value for an existing virtual storage area network or any of the regular domain field values for a new virtual storage area network.
|
1. A method comprising:
at a fibre channel switch, storing data that assigns a relative domain field value that is mapped to a run-time domain in one of a plurality of virtual storage area networks, wherein the relative domain field value is a reserved domain field value and is identified with particular run-time domains;
determining the relative domain field value to use for a fibre channel identifier for each of a plurality of devices connected to the fibre channel switch based on the run-time domain of the respective device and the virtual storage area network in which the respective device is active such that the fibre channel identifier does not change even if the run-time domain of the respective device changes; and
storing in a memory of the fibre channel switch the fibre channel identifier for each of the plurality of devices, the fibre channel identifier comprising the relative domain field value determined for the device together with area and port values for the device.
18. One or more non-transitory computer readable storage media encoded with software comprising computer executable instructions and when the software is executed operable to:
at a fibre channel switch, store data that assigns a relative domain field value that is mapped to a run-time domain in one of a plurality of virtual storage area networks, wherein the relative domain field value is a reserved domain field value and is identified with particular run-time domains;
determine the relative domain field value to use for a fibre channel identifier for each of a plurality of devices connected to the fibre channel switch based on the run-time domain of the respective devices and the virtual storage area network in which the respective devices are active such that the fibre channel identifier does not change even if the run-time domain of the respective device changes; and
store in a memory of the fibre channel switch the fibre channel identifier for each of the plurality of devices, the fibre channel identifier comprising the relative domain field value determined for the device together with area and port values for the device.
11. An apparatus comprising:
a network interface unit configured to enable communications over a fibre channel network;
a first memory that is configured to store data that assigns a relative domain field value that is mapped to a run-time domain in one of a plurality of virtual storage area networks, wherein the relative domain field value is a reserved domain field value and is identified with particular run-time domains;
a second memory; and
a processor configured to be coupled to the network interface unit, to the first memory and to the second memory, the processor configured to:
determine the relative domain field value to use for a fibre channel identifier for each of a plurality of devices based on the run-time domain of the respective devices and the virtual storage area network in which the respective devices are active such that the fibre channel identifier does not change even if the run-time domain of the respective device changes; and
store in the second memory the fibre channel identifier for each of the plurality of devices, the fibre channel identifier comprising the relative domain field value determined for the device together with area and port values for the device.
2. The method of
3. The method of
4. The method of
5. The method of
6. The method of
7. The method of
8. The method of
9. The method of
10. The method of
12. The apparatus of
13. The apparatus of
14. The apparatus of
15. The apparatus of
16. The apparatus of
19. The one or more computer readable storage media of
20. The one or more computer readable storage media of
21. The one or more computer readable storage media of
22. The one or more computer readable storage media of
23. The one or more computer readable storage media of
24. The one or more computer readable storage media of
|
The present disclosure relates to Fibre Channel switches used to route traffic in Fibre Channel networks.
In a Fibre Channel network, Fibre Channel switches are deployed to direct traffic between host server devices and storage array devices. The Fibre Channel switches store in memory at least one Fibre Channel identifier for each device that connects to it. The Fibre Channel identifier comprises three absolute values for Domain, Area and Port. When a run-time domain changes, the corresponding Fibre Channel identifiers for that domain become invalid all at once. This causes significant frustration for a network administrator because often the Fibre Channel identifiers are configured manually. In addition, performance of the network is degraded when the Fibre Channel identifiers for devices connected to the switches are lost.
A Fibre Channel switch and related methods are provided for a relative addressing scheme for domain values used by the switch to avoid losing other portions of a Fibre Channel identifier if a particular run-time domain becomes invalid. At a Fibre Channel switch, data is stored that assigns a relative domain field value to a run-time domain in one of a plurality of virtual storage area networks. The relative domain field value used for a Fibre Channel identifier is determined for each of a plurality of devices connected to the Fibre Channel switch based on the run-time domain of the respective devices and the virtual storage area network in which the respective devices are active. A Fibre Channel identifier is stored in a memory of the Fibre Channel switch for each of the plurality of devices. The Fibre Channel identifier comprises the relative domain field value determined for the device together with area and port values for the device. The relative domain value is either a reserved domain field value for an existing virtual storage area network or any of the regular domain field values for a new virtual storage area network. The reserved domain field value is a domain field value that is not to be explicitly used in a Fibre Channel network for Fibre Channel identifiers according to the applicable Fibre Channel industry standards.
Referring first to
As shown in
Reference is now made to
Reference is now made to
When the Domain field 70 is 8-bits, there are a total of 256 possible values that can be created from the 8-bits. However, as shown in
Turning to
Reference is now made to
The VSAN and WWN of a device constitute the key uniquely identifying an entry in the FCID Persistent Table 50. A system administrator may manually enter the FCIDs via a command line interface or he/she can also let the switch automatically populate the FCID Persistent Table 50 in persistent memory 24 when a device logs into the switch. Many system administrators enter FCIDs manually because they want the FCIDs to follow a precise scheme. For example, some administrators may assign FCIDs following a “front-panel order” where the Area field is a line-card slot and the Port field is the port number, as shown below:
The problem arises when the run-time domain changes, e.g., run-time domain “1E” in the example above. All of the entries in the persistent memory associated with the domain “1E” are wiped clean, even if the system administrator had manually entered them one at a time.
Reference is now made to
Thus, as depicted in
However, a similar relatively addressing scheme can be used for a newly created VSAN where even the non-reserved domain values [1 . . . 239] that are normally used for run-time domains [1 . . . 239] can be assigned and interpreted in a relative way instead of an absolute way. Thus, for domain values [1 . . . 239], a relatively addressing scheme is used that is similar to that described above for the reserved domain values [0, 240 . . . 255], where 1 means first run-time domain in the VSAN, 2 means second run-time domain in the VSAN, . . . , 239 means 239th run-time domain in the VSAN. A table similar to that shown in
The advantage of the use of the reserved domain values [0, 240 . . . 255] approach is that it can be used for an existing VSAN because the normal domain values [1 . . . 239] are continued to be used in an absolute way, while the remaining 17 reserved domain values are used in a relative way (so even if the run-time domain changes, their corresponding FCID entries do not need to be changed. However, only 17 run-time domains out of the available run-time domains can be protected using the reserved domain values for an existing VSAN. The advantage of the using the non-reserved domain values [1 . . . 239] in the relative approach is that it can handle all 239 domains in a relative way, though it is not backwards compatible.
Reference is now made to
At 120, the processor of the Fibre Channel switch determines the relative domain field value to use for a Fibre Channel identifier for each of a plurality of devices connected to the Fibre Channel switch based on the run-time domain of the respective devices and the virtual storage area network in which the respective devices are active. Moreover, when a switch is configured to serve a plurality of run-time domains, operation 120 involves determining which of the plurality of plurality of relative domain field values to use for a Fibre Channel identifier for each of the plurality of devices based on which of the plurality of run-time domains is assigned to the respective devices and the virtual storage area network in which the respective devices are active.
Operation 130 involves the storage of the Fibre Channel identifiers in persistent memory. Specifically, a Fibre Channel identifier for each of the plurality of devices is stored in the FCID Persistent Table in persistent memory of the Fibre Channel switch, where the Fibre Channel identifier comprises the relative domain field values determined for the respective devices together with area and port values for the devices. At the completion of operation 130, the switch is configured to perform normal Fibre Channel switching operations with respect to traffic to and from the plurality of devices using their respective Fibre Channel identifiers determined according to operation 120.
Turning now to
When storing Fibre Channel identifiers for devices, the relative addressing scheme described herein is compatible with the absolute addressing scheme on the same switch, even for Fibre Channel identifiers associated with the same run-time domain within the same VSAN. That is, for some Fibre Channel identifiers in the same run-time domain, the actual domain value may be stored in the Fibre Channel identifier and for other Fibre Channel identifiers in that run-time domain, the assigned relative domain value is stored using the relative addressing scheme.
Furthermore, the relative addressing domain value techniques described herein may be used when a single domain is assigned to a switch within a VSAN as well as when more than one domain is assigned to a single switch within the same VSAN. This is depicted above in the example of
Fibre Channel switches use persistent memory to store Fibre Channel identifiers to account for a situation when the switch has to reboot. In the event of a switch reboot, all devices that need to login to the switch will try to log in to get a new Fibre Channel identifier. Some devices will request a generic Fibre Channel identifier (as opposed to the previously assigned identifier) but unless they get the same Fibre Channel identifier as they used prior to switch reboot, those devices will “lock-up” and not operate properly in the Fibre Channel network. Consequently, a persistent memory, e.g., battery powered RAM, is used to store the Fibre Channel identifier to account for such devices. However, when the relative addressing scheme described herein is employed, the switch will return the same Fibre Channel identifier as before (including Area and Port field values) because the loss of the run-time domain does not cause the switch to lose the Area and Port field values as described herein.
To restate the techniques described herein, current FCID assignment and storage techniques store the three absolute values of the Domain, Area and Port fields of a FCID. This implies that when the current run-time domain changes, the corresponding FCIDs become invalid, all at once, causing both frustration to system administrators that may have configured the FCIDs manually one at a time, as well as potential performance problems in the Fibre Channel network. These issues can be avoided by not explicitly storing the run-time domains in the FCIDs, and instead using a relative addressing scheme to store relative domain field values that are either special reserved domain field values (e.g., “0” and “240”-“255”) associated respectively with the first, the second, . . . , and the last run-time domains in a particular VSAN or regular domain field values associated with a new VSAN that are assigned in a relative manner as described herein.
A further advantage of the techniques described herein is that, because FCIDs are stored in persistent memory, to delete them is slower than if they were stored in volatile memory, e.g., volatile RAM. Moreover, to delete potentially up to thousands of FCIDs in one instance when the run-time domain(s) changes can also have a performance impact on the switch, which is already under stress for having to re-run several network protocols in order to reassign the run-time domains that become invalid within various VSANs. Thus, by employing the techniques described herein, the switch does not need to wipe clean the up to thousands of entries that are part of the FCID Persistent Table every time the run-time domain(s) associated with the various VSANs become invalid.
In sum, a method is provided comprising: at a Fibre Channel switch, storing data that assigns a relative domain field value to a run-time domain in one of a plurality of virtual storage area networks; determining the relative domain field value to use for a Fibre Channel identifier for each of a plurality of devices connected to the Fibre Channel switch based on the run-time domain of the respective device and the virtual storage area network in which the respective devices are active; and storing in a memory of the Fibre Channel switch a Fibre Channel identifier for each of the plurality of devices, the Fibre Channel identifier comprising the relative domain field value determined for the device together with area and port values for the device.
In addition, an apparatus is provided (as depicted in
Further still, provided herein is one or more computer readable storage media encoded with software comprising computer executable instructions and when the software is executed operable to: at a Fibre Channel switch, store data that assigns a relative domain field value to a run-time domain in one of a plurality of virtual storage area networks; determine the reserved domain field value to use for a Fibre Channel identifier for each of a plurality of devices connected to the Fibre Channel switch based on the run-time domain of the respective device and the virtual storage area network in which the respective device is active; and store in a memory of the Fibre Channel switch a Fibre Channel identifier for each of the plurality of devices, the Fibre Channel identifier comprising the relative domain field value determined for the device together with area and port values for the device.
The above description is intended by way of example only.
Desai, Ronak, Sasso, Christian, Kasat, Siddharth, Goyal, Ankur
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
7606167, | Apr 05 2002 | Cisco Systems, Inc; Cisco Technology, Inc | Apparatus and method for defining a static fibre channel fabric |
20040233921, | |||
20050050268, | |||
20070266132, | |||
20070291785, | |||
20090092141, | |||
20090141657, | |||
20090219928, | |||
WO3088050, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 25 2010 | SASSO, CHRISTIAN | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 025195 | /0296 | |
Oct 25 2010 | GOYAL, ANKUR | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 025195 | /0296 | |
Oct 25 2010 | KASAT, SIDDHARTH | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 025195 | /0296 | |
Oct 25 2010 | DESAI, RONAK | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 025195 | /0296 | |
Oct 26 2010 | Cisco Technology, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Oct 16 2017 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Oct 13 2021 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Apr 15 2017 | 4 years fee payment window open |
Oct 15 2017 | 6 months grace period start (w surcharge) |
Apr 15 2018 | patent expiry (for year 4) |
Apr 15 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Apr 15 2021 | 8 years fee payment window open |
Oct 15 2021 | 6 months grace period start (w surcharge) |
Apr 15 2022 | patent expiry (for year 8) |
Apr 15 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Apr 15 2025 | 12 years fee payment window open |
Oct 15 2025 | 6 months grace period start (w surcharge) |
Apr 15 2026 | patent expiry (for year 12) |
Apr 15 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |