A method for load sharing and high availability in a cluster of computers. The cluster includes a first computer and a second computer which perform a task An active application runs in the first computer and a standby application is installed in the second computer. The active application and the standby application are included in an application group. A first plurality of applications is installed in the first computer; the first plurality includes the running active application. The active application performs the task and stores in memory of the first computer state parameters and a policy. A synchronized copy of the state parameters and the policy pertaining to the task is maintained by storing in memory of the second computer. Preferably, the cluster is in a security gateway between data networks and performs a task related to security of one or more of the networks.
|
1. A method for enabling high availability and load sharing of highly-replicated applications in computer clusters, the method comprising the steps of:
(a) providing at east two computers operationally connected to each other;
(b) designating a plurality of identical application groups, wherein each said application group includes one active application and one standby application that:
(i) have synchronized state parameters;
(ii) have synchronized security policies; and
(iii) are configured to run on different computers of said at least two computers,
and wherein each said application group includes one backup application, and wherein respective backup applications have non-synchronized state parameters and synchronized security policies with respective application groups;
(c) initially allocating said plurality of application groups to said at least two computers such that active applications are distributed according to an allocation policy among said at least two computers;
(d) upon detection of at least one event during application operation: activating said respective standby applications to newly-designated respective active applications, while changing said respective backup applications to newly-designated respective standby applications, only for application groups affected by respective events in order to continue said application operation.
5. A computer-readable storage medium having computer-readable code embodied on the computer-readable storage medium, the computer-readable code comprising:
(a) program code for designating a plurality of identical application groups, wherein each said application group includes one active application and one standby application that:
(i) have synchronized state parameters;
(ii) have synchronized security policies; and
(iii) are configured to run on different computers of at least two computers operationally connected to each other, and
wherein each said application group includes one backup application, and wherein respective backup applications have non-synchronized state parameters and synchronized security policies with respective application groups;
(b) program code for initially allocating said plurality of application groups to said at least two computers such that active applications are distributed according to an allocation policy among said at least two computers; and
(c) program code for, upon detection of at least one event during application operation, activating said respective standby applications to newly-designated respective active applications while changing said respective backup applications to newly-designated respective standby applications, only for application groups affected by respective events in order to continue said application operation.
3. A system for enabling high availability and load sharing of highly-replicated applications in computer clusters, the system comprising:
(a) at least two computers operationally connected to each other, said at least two computers configured to have a plurality of identical application groups, wherein each said application group includes one active application and one standby application that:
(i) have synchronized state parameters;
(ii) have synchronized security policies; and
(iii) are configured to run on different computers of said at least two computers;
wherein each said application group further includes one backup application, wherein respective backup applications have non-synchronized state parameters and synchronized security policies with respective application groups, wherein said plurality of application groups are configured to be initially allocating to said at least two computers such that active applications are distributed according to an allocation policy among said at least two computers; and
wherein said respective standby applications are configured to be activated to newly-designated respective active applications and said application groups are configured to change said respective backup applications to newly-designated respective standby applications, upon detection of at least one event during application operation, only for application groups affected by respective events in order to continue said application operation.
2. The method of
(f) upon recovering from said at least one event, restoring said newly-designated respective active applications to restored respective standby applications, restoring said newly-designated respective standby applications to restored respective backup applications, and designating subsequent respective active applications only for application groups affected by said respective events.
4. The system of
|
Not applicable
The present invention relates to computer systems and, more particularly, to a method and system architecture for providing load sharing and/or high availability between virtual systems or applications running in a cluster of computers preferably in a security gateway between data networks Specifically, the applications residing in different computers of the cluster synchronize state parameters and policy between the applications.
There is a growing need within large enterprises to extend networks, applications, and corporate databases to business partners, and employees working off site and other guest users. At the same time, many administrators are starting to divide infrastructure among various departments and groups using virtual LANs (VLANs). Although VLAN technology is effective at functionally dividing these networks companies are still required to deploy separate security systems, e.g. firewall, virtual private networks (VPN), and intrusion prevention devices in front of each network segment to achieve comprehensive security The extension of the corporate networks and subdivision into separate VLANs results in an enterprise network which is expensive and carries a large management overhead.
In order to alleviate this problem Check Point™ (Check Point Software Technologies Ltd.) offers a product VPN-1® Virtual System Extension (VSX™) as a high-speed, multi-policy virtualized security solution designed for large-scale enterprise environments like data centers and campus networks. The VSX cluster is composed of multiple virtual security systems, each of which is a complete virtualized version of a VPN gateway.
Referring now to
There is thus a need for, and it would be highly advantageous to have a method of failover and load sharing between distinct virtual systems 103 of different cluster members 101, a method which maximizes efficient use of available resources in the cluster with high availability, scalability and simple reconfigurability.
Reference is now made to
The term “virtual system” as used herein is an application installed in a computer, wherein the application performs a function and wherein the computer is not dedicated solely for the function or a single instance of the function. There is a least a potential for more than one “virtual system” to be installed on the computer, each “virtual system” using its own segment of memory attached to the computer; a “virtual system” functions identically or similarly to a non-virtual or dedicated system, e.g. non-virtual firewall system; “virtual systems” are individually configured and managed even if installed on the same computer 101; if a “virtual system” performs a function in a network, each “virtual system” installed may be connected to different network, either physical or virtual (VLAN); aid failure in one virtual system does not necessarily cause a failure in other virtual systems installed in the same computer 101. For further information regarding “virtual systems” and clusters thereof; reference is made to Check Point user information document (701171 March 2006) entitled “Check Point VSX Version NGX R60” included herein for all purposes as if fully set forth herein.
Hereinafter, the terms “virtual system” and “application” are used interchangeably in the context of parallel processes running under a single operating system in a computer.
The terms “application group” or “virtual system group” as used herein interchangeably, refers to multiple copies of the same application or process ruffling in different computers of a cluster.
The term “virtual system” should not be confused with the term “virtual machine”. A “virtual machine”, or “hardware virtual machine”, includes different execution environments on a single computer; each of which runs an operating system. The “virtual machine” (not related to the present invention) allows processes written for one operating system to be executed on a machine which runs a different operating system, or provide execution “sandboxes” which provide a greater level of isolation between processes but requires more resources than when running multiple processes on the same instance of an operating system.
The terms “monitoring” and “detecting” as used herein referring to a load or failure of a virtual system includes both automatic monitoring and detecting such as by a machine or manual monitoring and detection by a human being.
The term “memory” as used hereinafter refers to any type of computed memory or information storage device including volatile and non-volatile memory, random-access memory, magnetic memory, (e.g. hard disk) optical memory, (e.g. CD), EEPROM and flash memory.
According to the present invention there is provided a method for load sharing and high availability in a cluster of computers The cluster includes a first computer and a second computer which perform a task. An active application runs in the first computer and a standby application is installed in the second computer. The active application and the standby application are included in all application group. A first plurality of applications is installed in the first computer; the first plurality includes the running active application. All applications of the first plurality and the standby application have identical functionality for performing the task. The active application performs the task and stores state parameters and a policy in memory of the first computer A synchronized copy of the state parameters and the policy pertaining to the task is maintained by storing in memory of the second computer. Preferably, the cluster is in a security gateway between data networks and performs a task related to security of one or more of the networks. Preferably, the task includes one or more of filtering, malicious code scanning, authentication, auditing, encryption, intrusion detection, virus detection, worm detection, quality of service, secure sockets layer termination, link translation and/or routing. The first plurality preferably further includes a second standby application. A second plurality of applications is preferably installed in said second computer and includes the standby application and a second active application with the identical functionality The second standby application and the second active application are included in a second application group. When the cluster further includes a third computer, a third plurality of applications runs in the third computer the third plurality preferably includes a backup application, and the backup application is further included in the application group. Preferably, the backup application maintains, stored in memory, e.g. hard disk of the third computer, a synchronized copy of the policy but the state parameters are not synchronized. Preferably, the application croup is monitored for failure and when a failure is detected in the active application, load of the active application is transferred to the standby application and the state of the standby application is upgraded to active, producing a new active application. Upon recovering from the failure, the state of the standby application is preferably restored (manually or automatically). When the cluster includes a third computer and when the application group includes a backup application running in the third computer; and when a failure is detected in the active application, the backup application is synchronized with the new active application and the backup application is thereby upgraded to a standby state. When recover from failure occurs, the state of the backup virtual state is preferably restored. Preferably, the application group is monitored for load balance between the computers and upon detecting a load imbalance between the computers, load is redistributed between the active application and the standby application. Preferably, the active application and the standby application are configured for high availability and/or load sharing. The running of the active application with the standby application includes synchronizing preferably by performing a unicast data transfer between the active and the standby applications.
According to the present invention there is provided, a cluster of computers including a first computer and a second computer. An active application runs in the first computer and a standby application is installed in the second computer. The active application and the standby application form an application group. A first plurality of applications run in the first computer. The first plurality includes the active application. All applications of the first plurality and the standby application have identical functionality for performing a similar task. The cluster includes: a synchronization mechanism which synchronizes the standby application by storing in memory of the second computer a synchronized copy of the state parameters and the policy pertaining to the filtering The synchronization is preferably performed by unicast data transfer between the active application and the standby application Preferably, a mechanism monitors for failure within the application group, and when a failure is detected in the active application, a mechanism upgrades the standby application to an active state, and the standby application becomes a new active applications Preferably, the cluster includes a mechanism which monitors for load balance between the computers and upon detecting a load imbalance between the computers, load is redistributed between the active application and the standby application When the the application group includes a backup application, the cluster includes a third computer which runs the backup application and when a failure is detected in the active or standby application, a mechanism upgrades the backup application to a standby state and initiates synchronization with the active application
According to the present invention there is provided a program storage device readable by a computer in a cluster including a first computer and a second computer. The program storage device tangibly embodies a program of instructions executable by the computer to perform a method for performing a task by configuring and running an active application in the first computer and configuring a standby application in the second computer; wherein the active application and the standby application form an application group; wherein a first plurality of applications are installed in the first computer, wherein the first plurality includes the active application. The running of the active application includes performing the task and storing in memory of the first computer state parameters and a policy pertaining to the task. A synchronized copy of the state parameters and the policy are stored in memory of the second computer, in the standby application. Preferably, all applications standby, active and backup installed in all the computers of the cluster are programmed by the same program of instructions stored on the program storage device.
The invention is herein described, by way of example only, with reference to the accompanying drawings, wherein:
The present invention is of a system and method of failover and load sharing in a cluster. Specifically, the system and method includes failover and load sharing between virtual systems or applications shared between multiple cluster members 101.
Prior art clusters which provide redundancy, high capacity and failover are “connection based”, (e.g. source/destination, IP address and port number). Load is shared based on connections. When a cluster member, for instance 101a fails, connections handled by 101a are re-routed to other cluster members for instance 101b and/or 101c. In embodiments of the present invention, as opposed to prior art clusters provided high availability, redundancy and failover are not based on connections. Functions such as high availability, load sharing and failover are achieved without having to manage connections.
The principles and operation of a system and method of high availability and load sharing between virtual systems in a cluster of computers, according to the present invention, may be better understood with reference to the drawings and the accompanying description.
It should be noted, that although the discussion herein relates primarily to virtual systems which perform as firewalls in a network. e.g. LAN or other sub-network the present invention may, by non-limiting example, alternatively be configured as well using virtual systems which perform other security applications such as encryption, intrusion detection, and malicious code scanning, and filtering, e.g. parental control filtering, authentication, auditing, encryption, virus detection, worm detection, quality of se-vice and/or routing. The present invention in some embodiments can be configured as an application gateway to perform secure sockets layer (SSL) termination including encryption, and link translation. The present invention may alternatively be configured as well using virtual systems which perform functions unrelated to computer security, e.g. searching in a data base Further, a function, such as mathematical processing, may be performed, according to an embodiment of the present invention in a cluster of computers not attached to an external network
Computer or cluster member 101, in different embodiments of the present invention may use dedicated hardware, e.g. additional interfaces 204, for transferring data individually to virtual systems and/or portions of memory 209 specifically allocated to individual virtual systems or a dedicated processor 201 in case there are multiple processors 201. In some cases, previously existing cluster 101 cluster members may be reprogrammed to achieve a cluster with virtual system load sharing and high availability, according to embodiments of the present invention.
Before explaining embodiments of the invention in detail, it is to be understood that the invention is not limited in its application to the details of design and the arrangement of the components set forth in the following description or illustrated in the drawings. The invention is capable of other embodiments or of being practiced or carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein is for the purpose of description and should not be regarded as limiting.
By way of introduction, principal intentions of the present invention are to:
(1) provide increased availability and/or redundant load sharing within a cluster;
(2) provide configuration simplicity with a preferably identical configuration within all cluster members;
(3) system scalability with each cluster, member increasing capacity and redundancy in a similar way; and
(4) reduce system overhead by performing synchronization solely by unicast data transfer only between specific cluster members and not by broadcast of data transfer between all cluster members.
Referring now to the drawings,
Further, cluster members 101 in different embodiments may be distributed in different external networks and attached over network connections provided a mechanism ensures that each cluster member 101 receives its required traffic. An example of a distributed cluster includes cluster members 101 as virtual private network (VPN) gateways running VPNs as virtual systems 203.
Cluster members 101 may be interconnected by one or more additional synchronization networks, not shown, through which the synchronization (e.g. of state parameters, policy) and/or management can be performed.
Cluster members 101 can be connected to a number of layer 2 devices 105 and each may be connected to any number of networks 111.
As in system 30, active virtual system 203A and standby virtual system 203S are synchronized so that standby copy 203S becomes active if cluster member 101 storing active virtual system 203A experiences a failure. Furthermore, when the failure occurs in system 40, backup virtual system 203B is upgraded to become a standby virtual system 203S and begins to synchronize with newly active virtual system 203A. Upon recovery, system 203A is restored to the original active state and virtual system 203S is restored to a standby state and virtual system 203B is restored to a backup state. An example of backup state failover is illustrated in
Another failure mode is illustrated in
Reference is now made to
Reference is now made to
The control mechanism in cluster 40 may be performed in a number of ways known in the art. Preferably, code in the kernel driver of one or more cluster members 101 periodically monitor (e.g. by polling or “watchdog”) the state of all cluster members 101 and interfaces between cluster members 101 and virtual systems 203. In the event of a failure in a virtual system 203, the kernel driver changes the role of virtual systems 203 of the cluster as described above.
As such, those skilled in the art will appreciate that the conception, upon which this disclosure is based, may readily be utilized as a basis for the designing of other structures, methods and systems for carrying out the several purposes of the present invention,. It is important, therefore, that the claims be regarded as including such equivalent constructions insofar as they do not depart from the spirit and scope of the present invention.
While the invention has been described with respect to a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of the invention may be made.
Patent | Priority | Assignee | Title |
10079723, | Dec 31 2008 | International Business Machines Corporation | Dynamic high availability policy creation based upon entries in a configuration management database (CMDB) and a best practices template |
10270803, | Apr 04 2007 | SRI International | Method and apparatus for detecting malware infection |
10608878, | Dec 31 2008 | International Business Machines Corporation | Dynamic high availability policy creation based upon entries in a configuration management database (CMDB) and a best practices template |
10824343, | Aug 08 2008 | Amazon Technologies, Inc. | Managing access of multiple executing programs to non-local block data storage |
11768609, | Aug 08 2008 | Amazon Technologies, Inc. | Managing access of multiple executing programs to nonlocal block data storage |
8544031, | Dec 12 2007 | International Business Machines Corporation | Use of modes for computer cluster management |
8806105, | Aug 08 2008 | Amazon Technologies, Inc. | Managing access of multiple executing programs to non-local block data storage |
8938796, | Sep 20 2012 | Case secure computer architecture | |
8955122, | Apr 04 2007 | SRI International | Method and apparatus for detecting malware infection |
9027098, | Mar 14 2013 | RIBBON COMMUNICATIONS OPERATING COMPANY, INC | Systems, methods, and computer program products for recording service status of applications |
9122633, | Sep 20 2012 | Case secure computer architecture | |
9386043, | Mar 14 2013 | RIBBON COMMUNICATIONS OPERATING COMPANY, INC | Tracking security service status of applications |
9529550, | Aug 08 2008 | Amazon Technologies, Inc. | Managing access of multiple executing programs to non-local block data storage |
Patent | Priority | Assignee | Title |
7055053, | Mar 12 2004 | Hitachi, Ltd. | System and method for failover |
7260625, | Jun 27 2003 | Hitachi, Ltd. | Data center system and method for controlling the same |
7287186, | Jun 02 2003 | QUEST SOFTWARE INC | Shared nothing virtual cluster |
20020112189, | |||
20030126240, | |||
20030126388, | |||
20040153719, | |||
20060015773, | |||
20060089965, | |||
20060112244, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 29 2006 | DROR, AMIT | Check Point Software Technologies Ltd | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017905 | /0609 | |
Jun 29 2006 | SCHORY, OMER | Check Point Software Technologies Ltd | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017905 | /0609 | |
Jul 11 2006 | Check Point Software Technologies Ltd. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Mar 05 2014 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Feb 15 2018 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Mar 13 2022 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Sep 14 2013 | 4 years fee payment window open |
Mar 14 2014 | 6 months grace period start (w surcharge) |
Sep 14 2014 | patent expiry (for year 4) |
Sep 14 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 14 2017 | 8 years fee payment window open |
Mar 14 2018 | 6 months grace period start (w surcharge) |
Sep 14 2018 | patent expiry (for year 8) |
Sep 14 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 14 2021 | 12 years fee payment window open |
Mar 14 2022 | 6 months grace period start (w surcharge) |
Sep 14 2022 | patent expiry (for year 12) |
Sep 14 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |