1. Field of the Invention
The invention relates to networks, more particularly to storage area networks (SANs) and yet more particularly to copying data between devices on the SAN.
2. Description of the Related Art
Storage Area Networks (SANs) are becoming more common as a means to lower storage costs and increase storage efficiency while increasing storage flexibility. One common function in an SAN is to copy data from one storage device to another, such as during a backup operation. Conventionally, this is done by the host computer issuing commands to read the data from the original location and write it to the desired location. This method requires extensive use of the host computer. Thus, it is relatively costly in terms of host requirements.
Some parties, such as Crossroads Systems Inc. and Chaparral Network Storage, Inc., provide copy engines which respond to the SCSI Extended Copy Command. Using these engines, the data is transferred directly between the storage devices by this dedicated hardware. Thus host usage is reduced. However, further complexities make such copy engines difficult to use. First, zoning in a SAN is difficult as the copy engine needs access to both devices, even though they would otherwise be in different zones. For more details on zoning, please refer to U.S. patent application Ser. No. 10/123,996 for “FIBRE CHANNEL ZONING BY DEVICE NAME IN HARDWARE” by Ding-Long Wu, David C. Banks and Jieming Zhu Filed Apr. 17, 2002 and Ser. No. 09/426,567 for “METHOD AND SYSTEM FOR CREATING AND IMPLEMENTING ZONES WITHIN A FIBRE CHANNEL SYSTEM,” by David Banks, Kumar Malavalli, Paul Ramsay, Kha Sin Teow, and Jieming Zhu filed Oct. 22, 1999, both of which are hereby incorporated by reference. Further, each host using the copy facility would also have to be zoned to the facility, so this just adds great complexity to zoning schemes and may reduce security in many cases. Further, it is very common for hosts to have different LUN mappings than the internal LUNs on the storage devices. The copy engines do not comprehend these mappings, so each host must be manually configured to understand the various mappings and do conversions when using the copy service. This is a problem for a single host and rapidly becomes unmanageable with multiple hosts.
Thus copying data between storage devices on a SAN has many problems. It would be desirable to provide a simple facility to minimize host usage and administrative burdens such as zoning and LUN mappings.
In embodiments according to the present invention, the copy capability is moved into the SAN fabric and provided as a data mover service. A well-known address is utilized to receive copy commands from the hosts. Each switch in the fabric contains a front end or service interface. The service interface of the switch connected to the host receives the copy command and manages access control or zoning and LUN mapping. LUN mapping and zoning are based on shared databases. Maintaining single, shared databases among the switches for LUN mapping and zoning greatly reduces administrator burden. By decoupling the need for the host to talk to the copy engine, zoning is greatly simplified as only the switches will be able to send commands to the copy engine, so the copy engine need only be zoned to have access to all of the desired storage devices, with no host access to the copy engine. Assuming correct zoning, the service interface will perform any necessary LUN mapping on the received copy command and forward the command to a copy engine to perform the copy operation.
The switch service interface will also maintain copy operation status, querying the copy engine if necessary, so that any host status requests are also simply handled. Additionally, if multiple copy engines are present, the switches can communicate to perform load balancing.
Referring now to
Referring now to
The service interfaces 150-156 cooperate with the administrator to develop a shared or replicated database of the LUN mappings between the various hosts and the various storage devices. In this manner, when a host requests a copy operation it need only use the LUNs it knows. A LUN mapping is not required to be kept in each host. The service interface 150-156 substitutes the proper LUN values for each storage device 122, 124 so that neither the host 104, 106 nor the copy engine 120 need perform the mapping or conversion. Thus, the administrator need only develop one database for the LUN mapping, allowing multiple host operation to be readily developed.
Administration is also simplified because the host need not be in the same zone as the copy engine. Because the Extended Copy command will emanate directly from a switch 110116, the copy engine 120 can be isolated from all hosts 104-106. Thus, the copy engine 120 can be placed in a zone with all of the desired storage devices 122, 124 without fear of security breeches, as the hosts 104, 106 will not have access to any storage device 122, 124 through the copy zone. Further, an additional duty of the service interface 150-156 is to inspect a copy zoning table to be sure that the host 104, 106 has authority to request a copy between the two specified devices and, if desired, the location or extents on those devices. This second database is also shared or replicated by the services interfaces 150-156 so that the administrator need only maintain one database of the allowed copy zones. A data mover interface 158 is provided in the copy engine 120 to interface with the service interfaces 150-156.
The processor complex 202 also includes an I/O bus interface 212, such as a PCI bus, to connect to Fibre Channel circuits 214 and 216. The Fibre Channel circuits 214, 216 in the preferred embodiment each contain eight Fibre Channel ports. Each port is connected to an external SERDES circuit 218, which in turn is connected to a media interface 220, which receives the particular Fibre Channel medium used to interconnect switches used to form a fabric or to connect to various devices.
Referring now to
As can be seen, the block diagrams of a switch 200 and the copy engine 400 are similar, so that the software required to perform the copy engine functionality can be added to the switch 200, preferably along with additionally RAM to allow more buffer storage space, provided sufficient processor throughput is available. If not, processor performance can be increased as necessary.
Proceeding then to
Therefore, a simple mechanism and method have been shown where data copying becomes a fabric facility, with service interfaces in each switch coordinating with attached hosts and controlling a copy engine or engines connected to the fabric through a data mover interface. Host usage is reduced and management complexity is reduced in this arrangement.
While the invention has been disclosed with respect to a limited number of embodiments, numerous modifications and variations will be appreciated by those skilled in the art. It is intended, therefore, that the following claims cover all such modifications and variations that may fall within the true sprit and scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
6343324 | Hubis et al. | Jan 2002 | B1 |
6400730 | Latif et al. | Jun 2002 | B1 |
6704836 | Griswold et al. | Mar 2004 | B1 |
6772290 | Bromley et al. | Aug 2004 | B1 |
6816891 | Vahalia et al. | Nov 2004 | B1 |
6877044 | Lo et al. | Apr 2005 | B2 |
6883073 | Arakawa et al. | Apr 2005 | B2 |
6944732 | Thunquest et al. | Sep 2005 | B2 |
6981114 | Wu et al. | Dec 2005 | B1 |
7139845 | Kaushik | Nov 2006 | B2 |
7197047 | Latif et al. | Mar 2007 | B2 |
20030005119 | Mercier et al. | Jan 2003 | A1 |
20030126225 | Camble et al. | Jul 2003 | A1 |
20030149830 | Torr et al. | Aug 2003 | A1 |
20030189935 | Warden et al. | Oct 2003 | A1 |
20030208614 | Wilkes | Nov 2003 | A1 |
20040078641 | Fleischmann | Apr 2004 | A1 |
20040141498 | Rangan et al. | Jul 2004 | A1 |
Number | Date | Country |
---|---|---|
WO 02071224 | Sep 2002 | WO |
Entry |
---|
Fiber Channel Framing and Signaling American National Std. For IT, Jul. 9, 2001, rev.1.3, pp. 1-49. |
Extended Copy Command, T10/99-143r1, Apr. 2, 1999. |
“Fibre Channel—Fabric Generic Requirements (FC-FG);” American National Standards Institute; ANSI X3.289-1996. |
“Fibre Channel—Physical and Signaling Interface (FC-PH);” American National Standard for Information Systems; Jun. 1, 1994; pp. beginning-14, 98-99. |
“Fibre Channel—Framing and Signaling (FC-FS);” NCITS working draft proposed American National Standard for Information Technology; Feb. 8, 2002; pp. beginning to 10, 80-81. |
“Fibre Channel—Generic Services—3 (FC-GS-3);” American National Standards Institute; ANSI NCITS 348-2001, Jul. 31, 2001. |
Number | Date | Country | |
---|---|---|---|
20040230704 A1 | Nov 2004 | US |