1. Technical Field
The present invention relates to providing communications between computing devices. More particularly, some examples of the invention concern using one or more data replication communication links for general communications between computing devices.
2. Description of Related Art
Computing systems often include computing devices located at different sites. Computing devices at separate sites may communicate over one or more different types of networks. As an example, if a user has a primary datacenter and also has a backup datacenter (for disaster recovery or other purposes), the two datacenters typically are connected with a wide area network (WAN) for IP communications, and storage area network (SAN) for storage communications (for example for replicating data). As an example, IP network communications may be used for web browsers, email, databases, banking, and voice over IP.
With regard to backing up data, many business, government, and other types of computer users, update and store data at a primary datacenter site, and maintain a backup copy of the data, called a remote mirror, at a secondary datacenter site that is physically remote from the primary site. The primary site may be called a local site, and the secondary site may be called a remote site. Storing a backup copy of data at a remote site permits recovering data from the remote site in the event of an equipment failure or other disaster, for example a fire or explosion, which damages or destroys data at the local site. Copying data to a remote secondary site as a backup, for disaster recovery, is referred to as data replication, data shadowing, data mirroring, data duplexing, or remote copying.
The International Business Machines (IBM) Peer-to-Peer Remote Copy (PPRC) facility is an example of a synchronous remote data replication system. With PPRC, when a data update is written from an application running on a host at a local site, to a storage device at the local site, a storage controller at the local site stores the update on the storage device at the local site, and also forwards the update to a storage controller at a remote site for storage on a storage device at the remote site.
A SAN used for backing up data to a remote site, or a WAN used for IP communications between sites, may fail. If the WAN fails, IP communications between the sites will not be possible. The IP communications will be nonfunctional even if the SAN is functioning normally. Users have attempted to avoid the loss of IP communications and/or storage communications, by employing redundant IP networks and redundant storage area networks. However, setting up and maintaining backup networks is generally very costly. For example, in a typical disaster recovery system using redundant networks, the networks are the costliest part of the system, and generally amount to 60-80% of the cost, while hardware and software make up only 20-40% of the cost. Consequently, existing techniques for maintaining network availability are generally inadequate.
One aspect of the invention is a method for communicating in a computing system. An example of the method includes establishing a local communications interface at a local site. This example also includes writing local site communication information to the local communications interface. Writing local site communication information to the local communications interface comprises storing the local site communication information on a first site storage device at the local site, and sending the local site communication information from the first site storage device at the local site, to a third site storage device at a remote site, wherein the local site communication information is sent from the first site storage device to the third site storage device using a remote data replication protocol. This example further includes receiving remote site communication information at the local communications interface at the local site.
Other aspects of the invention are described in the sections below, and include, for example, a computing system, and a signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform operations for communicating in a computing system.
Some examples of the invention advantageously provide a robust and low cost technique for maintaining IP communications capabilities when a primary IP network fails, by using data replication communication link(s) for IP communications. Also, some examples of the invention provide improved utilization of existing communications links. Further, some examples of the invention beneficially operate seamlessly with existing software. Still further, some examples of the invention beneficially provide two-way communications utilizing one-directional remote data replication technology. The invention also provides a number of other advantages and benefits, which should be apparent from the following description.
The nature, objectives, and advantages of the invention will become more apparent to those skilled in the art after considering the following detailed description in connection with the accompanying drawings.
One aspect of the invention is a computing system that provides communications between computing devices in the computing system. As an example, the computing system may be embodied by the hardware components and interconnections of the geographically dispersed computing system 100 shown in
The computing system 100 may include a first computing device 102 (which may also be called a node), and a first storage system 104, which are located at a local site 106. The first computing device 102 is coupled to a first storage controller 108 in the first storage system 104 with link 110, which may be, for example, a FCP (Fibre Channel Protocol) link, or parallel SCSI links. Similarly, the computing system 100 may also include a second computing device 112, and a second storage system 114, which are located at a remote site 116. The second computing device 112 is coupled to a second storage controller 118 in the second storage system 114 with link 120, which may be, for example, a FCP link or parallel SCSI links. The words “local” and “remote” are used to distinguish between two sites. However, the designation of one of the sites as “local” and the designation of the other site as “remote” is arbitrary. In other words, the “local” site could be referred to as the “remote” site, and the “remote” site could be referred to as the “local” site. Additionally, the second computing device 112 may be called the peer computing device (or node) of the first computing device 102, and similarly, the first computing device 102 may be called the peer computing device of the second computing device 112. As an example, the local site 106 and the remote site 116 may be separated by a distance of 103 kilometers or more. Alternatively, the local site 106 and the remote site 116 may be much closer together, and, for example, could be in the same building, room, or equipment enclosure. The computing system 100 may be implemented, for example, utilizing the Microsoft Windows operating system (which is produced by Microsoft Corporation), or the IBM AIX operating system (which is produced by International Business Machines Corporation), and the PPRC function of Enterprise Storage Servers (ESS), which are manufactured by International Business Machines Corporation.
In some examples of the computing system 100, the local site 106 could have more than one computing device, and similarly, the remote site 116 could have more than one computing device. Generally, any number of computing devices could be included at each site 106, 116, and in one example, four computing devices could be included at each site 106, 116. In the example shown in
The first computing device 102 may include a first memory 122, a first non-volatile storage 124, and a first processor 126. Similarly, the second computing device 112 may include a second memory 128, a second non-volatile storage 130, and a second processor 132. As an example, each of the processors 126, 132 may be an Intel processor. In some examples, each computing device 102, 112 could have more than one processor. The memories 122, 128 may, for example, be used to store data and application programs and/or other programming instructions executed by the processors 126, 132. As an example, the memories 122, 128 may be implemented with RAM. The non-volatile storage 124, 130 may be, for example, hard disk drives, or drives for reading and writing from optical or magneto-optical media, tape drives, or any other suitable type of storage. In some examples the memories 122, 128 or the non-volatile storages 124, 130 could be eliminated, or the memories 122, 128 and non-volatile storages 124, 130 could be provided on the processors 126, 132, or alternatively, external from the computing devices 102, 112.
Each computing device 102, 112 may be, for example, a switch (such as an Ethernet switch, an Internet Protocol switch, or other type of switch), a router, or a server. In some implementations where the computing devices 102, 112 are switches, or routers, the computing devices 102, 112 may route the communications over an Ethernet link or a Fibre Channel link, depending on availability and load, and in these implementations individual client computers need not have access to disks on the storage system(s). As an example, each computing device 102, 112 may be a Cisco Catalyst 4500 Series Switch, manufactured by Cisco Systems, Inc. As another example, each computing device 102, 112, may be a Cisco 7600 Series Router, manufactured by Cisco Systems, Inc. Alternatively, a server computer with routing software could also function as a router. As another example, each computing device 102, 112 may be an IBM xSeries server, manufactured by International Business Machines Corporation. Alternatively each computing device 102, 112 could be an IBM zSeries Parallel Sysplex server, such as a zSeries 900, running the z Operating System (z/OS). In another example, each computing device 102, 112 could be an IBM S/390 server running OS/390. Alternatively, each computing device 102, 112 could be implemented with a mainframe computer, a computer workstation, a personal computer, a supercomputer, or other suitable computing device. It is not necessary for each computing device 102, 112 to be implemented with the same type of computing device.
The first storage system 104 may include one or more first data disks 136, a first site disk 138 (also called a first primary site disk), and a second site disk 140 (also called a second secondary site disk), which are coupled to the first storage controller 108. Similarly, the second storage system 114 may include one or more second data disks 144, a third site disk 146 (also called a first secondary site disk), and a fourth site disk 148 (also called a second primary site disk), which are coupled to the second storage controller 118. Each disk 136, 138, 140, 144, 146, 148 could also be implemented as a volume. In one example, the first storage system 104 and the second storage system 114 are each a model 2105 Enterprise Storage Server, manufactured by International Business Machines Corporation. The first storage controller 108 may be coupled to the second storage controller 118 with a first Fibre Channel link 150, and a second Fibre Channel link 152, (which may be unidirectional, and which may also be called communications links or PPRC communications links or data replication communications links). Appropriate communications technology other than Fibre Channel, (for example ESCON (Enterprise Systems Connection)) could also be used for these links. Generally, examples of the invention may be implemented with unidirectional protocols, such as ESCON, and may also be implemented with bi-directional protocols, such as Fibre Channel Protocol (FCP). The logical PPRC paths 150 and 152 may each represent one or more physical paths. When referring to the data disks 136, 144, and site disks 138, 140, 146, 148, the word “disk” is intended to broadly cover any suitable type of storage device, using any suitable technology, such as magnetic, optical, magneto-optical, or electrical, and includes hard disk drives, optical disks or discs (for example, CD-RW, DVD-RW, or DVD+RW), floppy disks, magnetic data storage disks or diskettes, magnetic tape, digital optical tape, EPROMs, EEPROMs, RAM, Non-Volatile RAM, and flash memory.
The local site 106 and the remote site 116 are communicatively coupled with a communications link, which, for example, may be an Ethernet link. More specifically, the first computing device 102 may be coupled to the second computing device 112 with a primary communications link 154. Client computers 156, 158, 160, 162, which may be included in some alternative embodiments, may be coupled to the first computing device 102 and the second computing device 112 via a backup communications link 164, which may provide an alternate communications path between the first computing device 102 and the second computing device 112. The backup communications link 164 provides extra communications redundancy between the first computing device 102 and the second computing device 112, which probably is not needed when examples of the invention are utilized. As an example, each client computer 156, 158, 160, 162 may be a personal computer, and may run any suitable operating system, for example Windows, Linux, Unix, or an Apple operating system.
In addition to the hardware embodiments described above, other aspects of the invention concern a method for communicating in a computing system.
In the context of
This signal-bearing medium may comprise, for example, first memory 122, first non-volatile storage 124, and/or first data disks 136. Alternatively or additionally, the signal-bearing medium may comprise, second memory 128, second non-volatile storage 130, and/or second data disks 144. Alternatively, the instructions may be embodied in a signal-bearing medium such as the optical data storage disc 200 shown in
U.S. patent application Ser. No. 10/685,878, filed Oct. 14, 2003, titled “Remote Activity Monitoring”, is incorporated herein by reference. One aspect of the invention disclosed in that application is a method for remotely monitoring activity. An example of that method may be summarized as follows: The method includes the operations of generating first server heartbeat information at a first server at a local site, and storing the first server heartbeat information in a first primary site disk at the local site. The method also includes sending the first server heartbeat information from the first primary site disk, to a first secondary site disk at a remote site. The method further includes receiving information from a second secondary site disk at the local site, and determining if the information received from the second secondary site disk includes updated heartbeat information.
For ease of explanation, but without any intended limitation, exemplary method aspects of the present invention are described with reference to the computing system 100 described above and shown in
An example of the method aspects of the present invention is illustrated in
Referring to
Sequence 400 may also include operation 404, which comprises receiving a command from an application, to create a local communications interface. In some examples, the command from the application may be a command to open a TCP/IP socket. In other examples, the command may be a command to open another type of socket. The sequence 400 may also include operation 406, which comprises determining if a TCP/IP network is functioning (and in some embodiments, also includes determining if the TCP/IP network is less busy than the data replication network). For example, operation 406 may comprise determining if primary communications link 154 and/or backup communications link 164 is functioning. If in operation 406 it is determined that a TCP/IP network is functioning, then the sequence 400 may include operation 408, which comprises communicating, between a local site and a remote site, using a functioning TCP/IP network.
If in operation 406 it is determined that a TCP/IP network is not functioning, then TCP/IP communications may be conducted over data replication PPRC links 150 and 152. In alternative examples, TCP/IP communications may be conducted over the data replication PPRC links 150 and 152 even when a TCP/IP network is functioning, for example, for load balancing, if the data replication network is less busy than a TCP/IP network that could be used. Thus, in some alternative examples, an application may automatically use whichever network (the TCP/IP network or the data replication network) is less busy for TCP/IP communications.
If in operation 406 it is determined that a TCP/IP network is not functioning (or in alternative embodiments, if the data replication network is less busy than the TCP/IP network(s)), then the sequence 400 may continue with operation 410, which comprises establishing the local communications interface at the local site 106. As an example, the local communications interface may be a first TCP/IP socket, and operation 410 may comprise opening the TCP/IP socket.
Sequence 400 may also include operation 412, which comprises sending a command from the local site 106 to the remote site 116, wherein the command is a command to the remote site 116 (for example a command to the second computing device 112 at the remote site 116) to establish the remote communications interface at the remote site 116. The remote site 116 (for example the second computing device 112 at the remote site 116) may send an acknowledgment back to the local site 106 (for example to the first computing device 102 at the local site 106), to let the local site 106 know that the command (which may also be referred to as a call) was received successfully. As an example, the remote communications interface at the remote site 116 may be a second TCP/IP socket. The sequence 400 may also include operation 414, which comprises establishing the remote communications interface at the remote site 116. As an example, the remote communications interface may be a second TCP/IP socket. After the remote communications interface at the remote site 116 is established, the communications interface (which may be a socket) may be monitored by the second computing device 112 at the remote site 116 to identify when communications are received at the remote communications interface. In some examples the first TCP/IP socket and the second TCP/IP socket may be members of a simulated TCP/IP socket library. The simulated socket library facilitates communications over the remote copy communications links 150, 152, such that, to applications that send and receive data, the communications appear to be over an Ethernet network or another traditional TCP/IP network such as modem, token ring, or wireless, rather than over the data replication communications links 150, 152.
Referring to
Native error checking methods of PPRC may be used. For example, if the local site communication information is not replicated from the first site disk 138 to the third site disk 146, PPRC returns an I/O error. If an I/O error is received at the local site 106, the state of the mirror may be investigated to determine if the I/O should be retried or not.
Referring to
Sequence 400 may also include operation 432, which comprises generating the remote site communication information at the remote site 116. As an example, the remote site communication information may be generated by an application running on the second computing device 112, and may be a response to the local site communication information. The remote site communication information may be, for example, a command or data or an acknowledgment. Sequence 400 may also include operation 434, which comprises writing the remote site communication information to the remote communications interface. Operations 436 and 438, discussed next, may be considered to be part of operation 434.
Referring to
In an alternative embodiment, rather than using separate site disks 138 and 140 at the local site 106, a single disk could be used wherein writes and reads are made to separate byte ranges on the single disk at the local site 106. Similarly, a single site disk could be used at the remote site 116 in place of the two site disks 146, 148. Thus, examples of the invention may write and read to separate byte ranges on a single disk at the local site 106, which may be mirrored to separate byte ranges on a single disk at the remote site 116. More generally, storage devices other than disks could also be used.
Sequence 400 may also include operation 442, which comprises storing the remote site communication information on the second site disk 140 at the local site 106. Operations 420, 422, 424, 426, 436, 438, 440, and 442 may be performed by the remote data replication technology. Sequence 400 may also include operation 444, which comprises reading the remote site communication information from the second site disk 140 at the local site 106, and sending the remote site communication information to the local communications interface, where the remote site communication information is then received. The process of writing or reading the site disks can use multiple paths to the storage volume, in order to eliminate single points of failure. Sequence 400 may also include operation 446, which comprises having an application at the local site 106 read the remote site communication information from the local communications interface. The second site disk 140 can be read by a socket library (for example a TCP/IP socket library), and the third site disk 146 can be read by a socket library (for example a TCP/IP socket library), while a remote copy operation is active.
The sequence 400 may also include operation 448, which comprises closing the local communications interface and the remote communications interface, which in some examples may comprise closing the first TCP/IP socket and the second TCP/IP socket.
Generally, some examples of the invention may be called two-way network communications using remotely mirrored disks. Further, some examples of the method aspect of the invention may be called a method for performing two way network communications using remote mirroring technology. Some examples of the invention may be summarized as follows. A programmer or application at a site A creates a socket for communicating with a site B, and writes data to that socket, and then closes the socket when the communications are completed. A custom socket library is used at site A, which provides TCP/IP (or other protocols) services such as in-order delivery and acknowledgments, and two mirrored disk pairs are utilized to communicate with a socket at site B created with a similar custom socket library at site B. To applications and users, the custom socket library appears to be a standard socket library. Once the custom socket library is implemented, a storage area network can be used for IP communications, and the storage area network can act as a backup network for a wide area network, such as a company intranet. Thus, a backup IP network need not be provided, and accordingly, networking costs can be significantly reduced. Similarly, using currently available technology, an IP network could be used as a backup for a storage area network.
The following is a representation of data flow during implementation of an example of the invention: Application->Socket Library->Local Storage Volume->Remote Copy Technology->Remote Storage Volume->Socket Library->Application. This representation may be described as follows: An application (for example, a database, email client, or web browser) sends data, to a custom socket library, and the data is stored on a local storage volume, all which are at a first site, and then the data is transmitted using PPRC mirroring to a second site, and the data is stored on a remote storage volume at the second site, and the data is sent to a custom socket library at the second site, and lastly, the data is sent to an application at the second site.
While the foregoing disclosure shows a number of illustrative embodiments of the invention, it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the scope of the invention as defined by the appended claims. Furthermore, although elements of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
This application is a continuation of U.S. patent application Ser. No. 10/862,173, filed on Jun. 4, 2004, which patent application is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 10862173 | Jun 2004 | US |
Child | 12329529 | US |