The invention relates to file access over a network and in particular to transparent routing of client requests for files and/or other resources that reside on a plurality of servers.
Larger corporations and other organizations may want to store records, files and other resources across several servers servicing their needs. It becomes desirable in such situations to group several servers together so that they appear to a client as a single, logical unit. Ideally, such a single logical unit would have no duplication of data objects contained therein. Furthermore, the single logical unit should have as little overhead as possible in servicing any given resource request that arrives at a server belonging to the distributed logical unit. In many situations, the requested resource object may not reside at the same server that originally receives the resource request, so that some form of forwarding, routing, or acquisition of the desired resource must occur in order to service that original resource request.
Multi-server environments are known wherein a client wishing to access specific information or a specific file is redirected to a server that has the piece of the requested information or file. The client then establishes a new connection to the other server upon redirect and severs the connection to the originally contacted server. However, this approach defeats the benefit of maintaining a long-lived connection between the client and the initial server.
Another approach is “storage virtualization” where an intermediary device is placed between the client and the servers, with the intermediary device providing the request routing. None of the servers is hereby aware that it is providing only a portion of the entire partitioned service. Adding the intermediary device adds complexity to the system.
It would therefore be desirable to provide a method and system that allows a client to contact any server in a multi-server environment and to access resources, such as files, distributed across the multi-server environment while maintaining a connection only to the contacted server.
The invention is directed to a system and a method that allow a resource request made to a server group to be laterally routed to the server having the desired resource object without making expensive query-response transactions with each and every server in the group. The connection with the server having the desired resource object should be long-lived, with that server returning said resource object to the requesting client.
It is another object of the present invention to share group membership information between the group members so that such group membership information may be deterministically processed, along with a requested resource object, to indicate a particular server assigned to have the desired resource object and do so from any server.
In accordance with the invention as embodied and broadly described herein, the invention provides, inter alia, methods, computer program products, and systems for allowing a plurality of servers to provide coherent support for incoming requests for services. To this end, the systems and methods described herein distribute, organize and maintain resources across a plurality of services. The servers are truly equivalent in that they each can respond to an incoming request in the same manner. Thus, the server appear equivalent to those clients that are requesting access to resources maintained on the system. In one embodiment, this appearance of equivalence is achieved, at least in part, by providing each server within the distributed server system, a table that lists a reference for each resource maintained by the distributed server system. The reference is preferably a direct reference in that it directly points to or otherwise references the server that is actually responsible for or has control over the resource associated with that reference. Thus, a server group according to the invention provides a system for distributed resource allocation that reduces network traffic associated with other forms of distributed resource allocation, by providing for a fixed ceiling of one level of redirection for each request for access to a resource.
Each server has access to the entire group membership information stored in the routing table. This routing table may be updated with each access and reflects changes in group membership due to additions, removals, or temporary unavailability of the various servers that make up the group. When changes have propagated through the server group, all relevant routing tables at each server will contain identical information.
When a server receives a resource request, it uses the relevant routing table to identify which group member should actually hold the resource object or a part of the resource object. The request may then be serviced by laterally accessing the desired data object from the correct server without making expensive query-response transactions over the network.
More particularly, the invention, in one aspect, includes methods for accessing a resource distributed over a plurality of servers in a network. The methods establish a connection to a server via the network, request the resource from the server, determine a distribution of the resource among the plurality of servers, and return the resource distributed over the plurality of servers via the server while maintaining a network connection to the server. Optionally, the distribution is determined from a routing table that resides on each of the plurality of servers and is synchronized between the plurality of servers. The routing table may contain a reference to the resource or to a portion of the resource residing on each of the plurality of servers. The reference may be a direct reference to the associated resource.
In another aspect the invention provides a client-server system for accessing a distributed resource. The system may comprise a plurality of servers connected to a network, a resource distributed over the plurality of servers, with each server including a routing table which associates the resource or the portion of the resource with a corresponding one of the servers.
Further features and advantages of the present invention will be apparent from the following description of preferred embodiments and from the claims.
The following figures depict certain illustrative embodiments of the invention in which like reference numerals refer to like elements. These depicted embodiments are to be understood as illustrative of the invention and not as limiting in any way.
The systems and methods described herein include systems for organizing and managing resources that have been distributed over a plurality of servers on a data network. The invention, in part, is directed to transparent request routing for retrieving distributed resources in a partitioned resource environment. Although the systems and methods described herein will be largely directed to storage devices and applications, it will be understood by those of skill in the art that the invention may be applied to other applications, including distributed file systems, systems for supporting application service providers and other applications. Moreover, it will be understood by those of ordinary skill in the art that the systems and methods described herein are merely exemplary of the kinds of systems and methods that may be achieved through the invention and that these exemplary embodiments may be modified, supplemented and amended as appropriate for the application at hand.
Referring first to
The client 12 can be any suitable computer system such as a PC workstation, a handheld computing device, a wireless communication device, or any other such device, equipped with a network client capable of accessing and interacting with the server 16 to exchange information with the server 16. The network client may be a web client, such as a web browser that can include the Netscape web browser, the Microsoft Internet explorer web browser, the Lynx web browser, or a proprietary web browser, or web client that allows the user to exchange data with a web server, and ftp server, a gopher server, or same other type of network server. Optionally, the client 12 and the server 16 rely on an unsecured communication path, such as the Internet 14, for accessing services at the remote server 16. To add security to such a communication path, the client and the server can employ a security system, such as any of the conventional security systems that have been developed to provide to the remote user a secured channel for transmitting data aver the Internet. One such system is the Netscape secured socket layer (SSL) security mechanism that provides to a remote user a trusted path between a conventional web browser program and a web server.
The server 16 may be supported by a commercially available server platform, such as a Sun Sparc™ system running a version of the Unix operating system and running a server capable of connecting with, or transferring data between, any of the client systems. In the embodiment of
The server 16 may also include other components that extend its operation to accomplish the transactions described herein, and the architecture of the server 16 may vary according to the application. For example, the web server may have built in extensions, typically referred to as modules, to allow the server to perform the operations hereinafter, or the web server may have access to a directory of executable files, each of which files may be employed for performing the operations, or parts of the operations.
In such an arrangement, the client 12 will contact one of the servers, for example server 161, in the group 16 to access a resource, such as a file, database, application, or other resource, that is available over the network 14. The contacted server 161 itself may not hold or have control over the resource. Typically, the client 12 connects to one server within the group 16. The server group 16 is configured to make the partitioned resources available to the clients 12. For illustration, the diagram shows two resources, one resource 18 that is partitioned over all three servers, servers 161, 162, 163, and another resource 17 that is partitioned over two a of the three servers. There is no specific limit on the number of servers in a server group 16. Similarly, there is no specific limit on the number of resources. In other words, each resource may be contained entirely on a single server, or it may be partitioned over several servers—all of the servers in the server group, or a subset of the server group. In practice, there may of course be limits due to implementation considerations, for example the amount of memory available in the servers or the computational limitations of the servers. Moreover, the grouping itself, i.e., deciding which servers will comprise a group, may in one practice comprise an administrative decision. In a typical scenario, a group might at first contain only a few servers, perhaps only one. The system administrator would add servers to a group as needed to obtain the level of service required. Increasing servers creates more space (memory, disk storage) for resources that are stored, more CPU processing capacity to act on the client requests, and more network capacity (network interfaces) to carry the requests and responses from and to the clients. It will be appreciated by those of skill in the art that the systems described herein are readily scaled to address increased client demands by adding additional servers into the group 16.
An exemplary resource in the context of the present invention can be one or more volumes of data stored in form of blocks, wherein different blocks can be stored on different servers. This so-called “block storage service” can be viewed as essentially representing a network-accessible disk drive. In a conventional storage server, such a volume is contained within a single server. A conventional server may provide more than one volume, but always stores volumes in their entirety.
Referring now to
Referring now to
It is transparent to the client 12 to which server 161, 162, 163 he is connected. Instead, the client only sees the servers in the server group 16 and requests the resources of the server group 16. It should be noted here that the routing of client requests is done separately for each request. This allows portions of the resource to exist at different servers. It also allows resources, or portions thereof, to be moved while the client is connected to the server group 16—if that is done, the routing tables 165 are updated as necessary and subsequent client requests will be forwarded to the server now responsible for handling that request. At least within a resource 17 or 18, the routing tables 165 are identical. The described invention is different from a “redirect” mechanism, wherein a server determines that it is unable to handle requests from a client, and redirects the client to the server that can do so. The client then establishes a new connection to another server. Since establishing a connection is relatively inefficient, the redirect mechanism is ill suited for handling frequent requests.
The resources spread over the several servers can be directories, individual files within a directory, or even blocks within a file. Other partitioned services could be contemplated. For example, it may be possible to partition a database in an analogous fashion or to provide a distributed file system, or a distributed or partitioned server that supports applications being delivered over the Internet. In general, the approach can be applied to any service where a client request can be interpreted as a request for a piece of the total resource, and operations on the pieces do not require global coordination among all the pieces.
Although
As discussed above, in certain embodiments, the systems of the invention may be realized as software components operating on a conventional data processing system such as a Unix workstation. In such embodiments, the system can be implemented as a C language computer program, or a computer program written in any high level language including C++, Fortran, Java or basic. General techniques for such high level programming are known, and set forth in, for example, Stephen G. Kochan, Programming in C, Hayden Publishing (1983).
While the invention has been disclosed in connection with the preferred embodiments shown and described in detail, various modifications and improvements thereon will become readily apparent to those skilled in the art. Accordingly, the spirit and scope of the present invention is to be limited only by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5392244 | Jacobson et al. | Feb 1995 | A |
6070191 | Narendran et al. | May 2000 | A |
6108727 | Boals et al. | Aug 2000 | A |
6122681 | Aditya et al. | Sep 2000 | A |
6141688 | Bi et al. | Oct 2000 | A |
6144848 | Walsh et al. | Nov 2000 | A |
6148414 | Brown et al. | Nov 2000 | A |
6189079 | Micka et al. | Feb 2001 | B1 |
6195682 | Ho et al. | Feb 2001 | B1 |
6212565 | Gupta | Apr 2001 | B1 |
6226684 | Sung et al. | May 2001 | B1 |
6292181 | Banerjee et al. | Sep 2001 | B1 |
6341311 | Smith et al. | Jan 2002 | B1 |
6360262 | Guenthner et al. | Mar 2002 | B1 |
6389462 | Cohen et al. | May 2002 | B1 |
6434683 | West et al. | Aug 2002 | B1 |
6460083 | Niwa et al. | Oct 2002 | B1 |
6473791 | Al-Ghosein et al. | Oct 2002 | B1 |
6498791 | Pickett et al. | Dec 2002 | B2 |
6598134 | Ofek et al. | Jul 2003 | B2 |
6687731 | Kavak | Feb 2004 | B1 |
6725253 | Okano et al. | Apr 2004 | B1 |
6732171 | Hayden | May 2004 | B2 |
6742059 | Todd et al. | May 2004 | B1 |
6766348 | Combs et al. | Jul 2004 | B1 |
6813635 | Jorgenson | Nov 2004 | B1 |
6850982 | Siegel | Feb 2005 | B1 |
6859834 | Arora et al. | Feb 2005 | B1 |
6886035 | Wolff | Apr 2005 | B2 |
6944777 | Belani et al. | Sep 2005 | B1 |
6950848 | Yousefi'zadeh | Sep 2005 | B1 |
6957433 | Umberger et al. | Oct 2005 | B2 |
6985956 | Luke et al. | Jan 2006 | B2 |
7043564 | Cook et al. | May 2006 | B1 |
7076655 | Griffin et al. | Jul 2006 | B2 |
7085829 | Wu et al. | Aug 2006 | B2 |
7089293 | Grosner et al. | Aug 2006 | B2 |
20010039581 | Deng et al. | Nov 2001 | A1 |
20020008693 | Banerjee et al. | Jan 2002 | A1 |
20020009079 | Jungck et al. | Jan 2002 | A1 |
20020059451 | Haviv | May 2002 | A1 |
20020065799 | West et al. | May 2002 | A1 |
20020138551 | Erickson | Sep 2002 | A1 |
20020194324 | Guha | Dec 2002 | A1 |
20030005119 | Mercier et al. | Jan 2003 | A1 |
20030074596 | Mashayekhi et al. | Apr 2003 | A1 |
20030117954 | De Neve et al. | Jun 2003 | A1 |
20030225884 | Hayden | Dec 2003 | A1 |
20040049564 | Ng et al. | Mar 2004 | A1 |
20040080558 | Blumenau et al. | Apr 2004 | A1 |
20040083345 | Kim et al. | Apr 2004 | A1 |
20040103104 | Hara et al. | May 2004 | A1 |
20040128442 | Hinshaw et al. | Jul 2004 | A1 |
20050010618 | Hayden | Jan 2005 | A1 |
20050108362 | Weinert et al. | May 2005 | A1 |
20050144199 | Hayden | Jun 2005 | A2 |
Number | Date | Country |
---|---|---|
6332782 | Dec 1994 | JP |
9022374 | Jan 1997 | JP |
2001067278 | Mar 2001 | JP |
WO-9953415 | Oct 1999 | WO |
WO 9953415 | Oct 1999 | WO |
WO 0138983 | May 2001 | WO |
WO 0237943 | May 2002 | WO |
WO 0244885 | Jun 2002 | WO |
WO 02056182 | Jul 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20040030755 A1 | Feb 2004 | US |