CA2321017C - Method and system for transparent time-based selective software rejuvenation - Google Patents

Method and system for transparent time-based selective software rejuvenation Download PDF

Info

Publication number
CA2321017C
CA2321017C CA002321017A CA2321017A CA2321017C CA 2321017 C CA2321017 C CA 2321017C CA 002321017 A CA002321017 A CA 002321017A CA 2321017 A CA2321017 A CA 2321017A CA 2321017 C CA2321017 C CA 2321017C
Authority
CA
Canada
Prior art keywords
rejuvenation
node
software
fail
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CA002321017A
Other languages
French (fr)
Other versions
CA2321017A1 (en
Inventor
Richard Edwin Harper
Steven Wade Hunter
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of CA2321017A1 publication Critical patent/CA2321017A1/en
Application granted granted Critical
Publication of CA2321017C publication Critical patent/CA2321017C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/008Reliability or availability analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Abstract

A method of enhancing software dependability, includes measuring an elapsed time in a software system running on a computer, determining whether the elapsed time matches a threshold, and when the elapsed time matches the threshold, rejuvenating at least a portion of the software system to reduce the likelihood of an outage and without modifying an application running in the software system.

Description

METHOD AND SYSTEM FOR TRANSPARENT TIME-BASED SELECTIVE
SOFTWARE REJUVENATION
BACKGROUND OF THE INVENTION
Field of the Invention The present invention relates to software rejuvenation, and more particularly to transparent time-based selective software rejuvenation.
Description of the Related Art The software executing in computer and networking systems can exhibit a behavior such that its failure rate increases over time, typically because of programming errors that generate increasing and unbounded resource consumption, or due to data corruption and numerical error accumulation (e.g., round-off errors). Examples of the effects of such errors are memory leaks, file systems that t 5 fill up over time, and spawned threads or processes that are never terminated.
The above-mentioned effects constitute a phenomenon known as "software aging,"
and may be caused by errors in either application, middleware, or operating system software. As the allocation of a system's resources gradually approaches a critical level, the probability that the system will suffer an outage increases. This may be viewed as an increase in the software system's failure rate.
2o Such a software system failure may result in overall system failure, "crashing", "hanging", performance degradation, etc.
One way of reducing the software's failure rate is to reset a portion of the system to recover any lost and unused resources. For example, this may be resetting just the application that is responsible for the aging, or it may be resetting the entire computer system.
This is referred to as 25 "software rejuvenation." When only a part of the system is selected for rejuvenation, this is called "selective rejuvenation." FIG. 1 is a diagram showing the relationship of the software failure rate over time. As shown software ages over time as shown by reference numeral 100, and the effects of software rejuvenations are shown at reference numeral 110.
When the part of the system that is undergoing aging is reinitialized via rejuvenation, its failure rate falls back to its initial (e.g., lower), level because resources have been freed up and/or the effects of numerical errors have been removed. This has a dramatic effect on overall system availability. However, when the failure rate begins to climb again due to the above-mentioned causes, subsequent rejuvenations become necessary.
The transparent nature of this function is partly achieved by being incorporated into a management framework separate and independent of the operating system and application. This approach not only assists in providing transparency, but also allows for portability and interoperability across multiple operating systems. This is important as it is becoming more common for systems management to span multiple platforms in the enterprise.
1 o It should be noted that error-induced resource exhaustion is a fundamentally different phenomenon from performance-based capacity exhaustion. "Error-induced resource exhaustion" is due to the causes mentioned above and its effects can be eliminated temporarily by rejuvenation.
"Performance-based capacity exhaustion" results from increases in performance requirements over time, and its effects can only be eliminated by reducing the computational performance requirements or adding new resources to the system.
In a conventional method and system, a time-based rejuvenation is performed within a single node and a mufti-node environment. However, the conventional method and system assumes that the application must be modified to include calls to a fault tolerance library. Thus, modification of the application software source code is required. This is problematic because if the application source or executable code must be modified, then software rejuvenation technology cannot be applied to the broad class of applications for which the source or executable code cannot be economically modified, such as "shrink-wrapped" applications. Transparency (e.g., the lack of necessity to modify the application source or executable code) allows software rejuvenation to be applied to any application, regardless of whether the code can be modified or not. This extends its applicability to essentially all applications that can be executed on the computer system.
Additionally, the conventional method typically requires a proprietary dedicated system support for the rejuvenation functionality. Thus, the conventional methods and systems significantly restrict the rejuvenation's potential applicability and ease of use.

SUMMARY OF THE INVENTION
In view of the foregoing and other problems, disadvantages, and drawbacks of the conventional methods and structures, an object of the present invention is to provide a method and system for rejuvenating a software system.
Another object is to provide a system and method for rejuvenating a software system such that the rejuvenation is transparent to the user and such that modification may be performed from outside of the system.
In a first aspect of the invention, a method of enhancing software dependability is provided which includes measuring a time elapsed in a software system running on a computer, determining 1 o whether the time matches a threshold, and when the time matches the threshold, rejuvenating at least a portion of the software system to avoid or reduce the likelihood of an outage and without modifying an application running in the software system.
In a second aspect of the present invention, a method for software rejuvenation, includes waiting for a selected inter-rejuvenation interval to expire, determining whether a fail-to node has adequate resources to accept a failover workload, if the determining is that the fail-to node cannot accept the failover workload, sending an alert that adequate resources do not exist to support fault tolerance requirements, and suspending rejuvenation until an operator acknowledges and corrects the deficiency.
In other aspects of the invention, a system and signal-bearing medium storing the method are 2o provided.
Thus, the present invention provides a time-based rejuvenation in several environments (e.g., the preferred embodiment being within a clustered environment). In the invention, the application need not be modified or to include calls to a fault tolerance library. Indeed, no such modification is necessary, and applications obtain the benefit of software rejuvenation without any modification.
In addition, no proprietary, dedicated system support is required for the rejuvenation functionality.
The use of rejuvenation by the present invention is performed within the context of any industry-standard clustering environment. These enhancements significantly expand rejuvenation's potential applicability and ease of use by incorporating its set-up and use within an already familiar management and operational infrastructure and not requiring the operator to use yet another framework.
Transparent Time-Based Selective Software Rejuvenation (TSR), according to the present invention, allows a system operator to cause selective software rejuvenation to be performed automatically, on a periodic basis, without operator intervention, and at a time which is least s disruptive to system operation.
TSR is transparent to the application program. That is, no changes to the application software are required to obtain the benefits of TSR. When software rejuvenation is invoked within a cluster environment, the cluster fail-over services (i.e., Microsoft~ Cluster Services or HACMP) may be used to "gracefully" stop the offending subsystem and restart it on the same or another node in the 1 o cluster, in a controlled manner. For purposes of the present application, "gracefully stopping" means terminating a program or operation in a pre-planned, purposeful manner such as closing out files properly and without any effect to any other subsystem or system performance.
With the unique and unobvious aspects of the present invention, unplanned outages due to resource exhaustion are avoided by periodically rejuvenating the software system. This benefit is 15 provided transparently to the application software. Moreover, since the fail-over capabilities of a clustered system can be used, very little downtime is incurred to perform the rejuvenation. Further, an automatic and continual check on the system's capability to tolerate an unplanned failure can be performed.
2o BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing and other purposes, aspects and advantages will be better understood from the following detailed description of a preferred embodiment of the invention with reference to the drawings, in which:
FIG. 1 is a diagram showing a relationship between the software failure rate over time;
25 FIG. 2 is a schematic block diagram of a cluster environment;
FIG. 3 illustrates software running on an industry-standard two-node cluster;
FIG. 4 illustrates failover on an industry standard two-node cluster, and more specifically cluster 400 illustrates before failover and cluster 410 illustrates after failover occurring;
FIG. 5 illustrates a method 500 and logic flow for transparent time-based software rejuvenation (TSR) commencing with a preliminary setup step;
FIG. 6 illustrates a "successful" rejuvenation on an industry-standard two-node cluster, and specifically showing the cluster "before rejuvenation" 600 and the cluster "after rejuvenation" 610;
FIG. 7 is a schematic diagram showing a preferred architecture for a software rejuvenation system 700 according to the present invention;
FIG. 8 illustrates an exemplary hardware/information handling system for incorporating the present invention therein; and FIG. 9 illustrates a signal bearing medium (e.g., storage medium) for storing steps of a program for software rejuvenation according to the present invention.
DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT OF THE INVENTION
Referring now to the drawings, and more particularly to Figures 2-9, there is shown a preferred embodiment of the method and structures according to the present invention.
Embodiment Referring to FIGS. 2-9, an embodiment of the present invention will be described below.
First, prior to describing the preferred embodiment in detail, it is noted that although transparent software rejuvenation according to the present invention works well and provides benefits within the environment of a single stand-alone computer node, preferably the invention is implemented in the context of a cluster environment. Thus, as described below, the preferred embodiment will be described below within the context of a cluster environment, as shown in Figure 2.
For the purposes of the present invention (and as shown in Figure 2), a cluster 200 can be regarded as a set of computer nodes 210, each of which contains an independent copy of the operating system, that are connected via a network 220 interconnect.
Any node 210 in the cluster 200 is capable of running the application program (e.g., a database or web serving application). The number of nodes 210 in a cluster 200 can range from two to hundreds, Hereinbelow, for ease of explanation and without loss of generality, the invention and its operation will be applied to a two-node cluster.
YOR9-1999-0424 g Typically, in a two-node cluster, a first node is designated the "primary node" and normally runs the application software, and a second node is designated as the "backup node" (e.g., secondary node) and is capable of running the application when the primary node fails.
Distributed cluster management software running on both the primary node and the secondary node continually checks on the health of the primary node and its associated application software.
As shown in Figure 3 which illustrates software running on an industry-standard two-node cluster 300, if this cluster management software detects that any component or subsystem on the primary node 310 has failed (e.g., the application 311, middleware (not illustrated), cluster management software 312, operating system 313, or hardware 314), it causes the application to be 1 o restarted on the secondary node 320, thus providing a degree of fault tolerance. This process is called "failover," and the secondary node 320 is sometimes denoted the "fail-to" node. Figure 4 illustrates failover on an industry standard two-node cluster. That is, cluster 400 illustrates before failover and cluster 410 illustrates after failover.
Several examples of clusters exist within the industry. For example, IBM~
Corporation ~ 5 offers a version called HACMP~ which is utilized in the IBM~ AIX~
operating system environment, and Microsoft~ Corporation offers a version called Microsoft Cluster Server~ which operates within the Microsoft Windows~ NT operating system environment. The preferred embodiment of the present invention is independent of the type of the cluster environment, being equally applicable to clusters running UNIX, NT, or another operating system.
2o Generally, no modifications to the application source code are required for the applications to obtain the fault tolerance benefits of executing in a cluster environment.
All the functionality required to detect the failure of an application or a computer node and restart the application on a secondary node resides within the cluster management software. The cluster management software exports interfaces that allow an external entity to trigger failover even when there is no fault.
25 Transparent Time- Based Rejuvenation (and Symptom-Based Rejuvenation as described in the co-pending application) uses this interface to cause rejuvenation to occur.
The Cluster Manager may be any of a number of off the-shelf software packages commercially-available, for example, such as Netfinity Director~, with special features.
Transparent Time-Based Software Rejuvenation (TSR) according to the preferred embodiment of the present invention, is initiated by a system operator based on an experience-based estimate of the degree of aging experienced by a particular system and application.
Based on a system's history, the operator would know, for example, that a computer node if left to its own devices would be highly likely to suffer an unplanned failure due to resource exhaustion within one week ofbooting. Because unplanned failures are more disruptive and lengthy than planned outages, the operator prefers to preempt this unplanned weekly failure with may be more frequently occurring, but shorter planned outages. At system installation time or any time thereafter, the operator accesses a graphical user interface (GUI) to the rejuvenation functionality.
This user interface, for example, exposes a calendar-like menu which allows the operator to 1 o enable rejuvenation and select intervals for which rejuvenation is allowed to occur. The operator in the aforementioned scenario could, for example, use this interface to cause a planned rejuvenation to occur every predetermined time period (e.g., every four days) or at a particular time on a particular predetermined day of the week. The interface ensures that no two nodes in the cluster are to be rejuvenated at the same time, as the concurrent removal of two or more computer nodes from the cluster might cause the entire cluster to fail. Thus, the setup is where the user sets up the time base and its constraints and parameters.
Once this setup (e.g., shown in Figure 5 as step 500A) is complete, periodic rejuvenation occurs automatically as described below.
2o Operation of the Present Invention Referring to Figure 5, the method 500 and logic flow for TSR is shown commencing with the setup step 500A assumed to have been run.
First, in step 501, the rejuvenation agent (RA) (e.g., preferably implemented in software and described in further detail below with regard to Figure 7) waits for the selected inter-rejuvenation interval to expire. This step includes using a dedicated timer or the like (e.g., the system clock inputs) to determine a time elapsed.
Then in step 502, the rejuvenation agent determines whether the fail-to node has adequate resources to accept the failover workload. For example, the RA matches the workload to the available resources of the node, through an interface to a capacity management software or the like.
YOR9-1999-0424 '7 If the determination is "NO", the process continues to step 503.
In step 503, after it has been determined that the fail-to node cannot accept the failover workload, the rejuvenation agent sends an urgent alert to the operator. That is, an urgent message is sent to the system management subsystem that adequate resources do not exist to support fault tolerance requirements. Such is conveyed to the operator via the GUI.
Thereafter, in step 504, the rejuvenation agent suspends rejuvenation until the operator acknowledges and corrects the deficiency.
If the determination in step 502 is "YES" (e.g., if the fail-to node can accept failover workload), then in step 505, the rejuvenation agent on the primary node instructs the cluster manager 1 o to gracefully (e.g., in a planned way) shut down the application on the primary node and in step 506 to restart the application on a secondary node.
In step 507, the cluster manager designates the old secondary node as the new primary node (e.g., swaps the nodes). This operation is performed by swapping resources from node to node (e.g., an address such as Internet Protocol (IP) address or the like), and the old primary node becomes the new secondary node. Thereafter, the process loops to step 501 and the rejuvenation agent waits for a rejuvenation interval to expire.
The above steps are illustrated in Figure 6 showing a successful rejuvenation on an industry-standard two-node cluster. That is, Figure 6 illustrates 'before rejuvenation" 600 and after rejuvenation" 610.
2o Figure 7 illustrates an exemplary functional architecture of the software components of the time-based software rejuvenation system 700 according to the present invention.
The system 700 includes a Management Interface component 701 which the system operator uses to set-up the time-based rejuvenation. Using this interface, the operator selects the nodes and subsystems that are to undergo rejuvenation and the time interval between rejuvenations for each system or subsystem to be rejuvenated.
As the operator is setting up the rejuvenation schedule, the Management Interface ensures that no two nodes or node subsystems in a cluster get rejuvenated at the same time unless specifically desired by the operator, to prevent the possibility of a system outage due to multiple simultaneous rejuvenations.
YOR9-1999-0424 g The Software Rejuvenation Agent 702 accepts this setup data at initialization time and whenever it is updated by the operator. The Rejuvenation Agent 702 sets up one timer 703 for each node to be rejuvenated, and subsequently based on the value of each timer 703 periodically causes the Rejuvenation Agent 702 to invoke the rejuvenation functionality interface as offered by the existing cluster management software.
Figure 8 illustrates a typical hardware configuration of an information handling/computer system in accordance with the invention and which preferably has at least one processor or central processing unit (CPU) 811.
The CPUs 811 are interconnected via a system bus 812 to a random access memory (RAM) 814, read-only memory (ROM) 816, input/output (I/O) adapter 818 (for connecting peripheral devices such as disk units 821 and tape drives 840 to the bus 812), user interface adapter 822 (for connecting a keyboard 824, mouse 826, speaker 828, microphone 832, and/or other user interface device to the bus 812), a communication adapter 834 for connecting an information handling system to a data processing network, the Internet, an Intranet, a personal area network (PAN), etc., and a ~ 5 display adapter 836 for connecting the bus 812 to a display device 838 and/or printer 839. As mentioned above, the printer 839 may be a digital printer or the like. A timer (e.g., not illustrated in Figure 8 but shown in Figure 7 as timer 703) is preferably operatively coupled to the CPUs 811.
In addition to the hardware/software environment described above, a different aspect of the invention includes a computer-implemented method for performing the above method. As an 2o example, this method may be implemented in the particular environment discussed above.
Such a method may be implemented, for example, by operating a computer, as embodied by a digital data processing apparatus, to execute a sequence of machine-readable instructions. These instructions may reside in various types of signal-bearing media.
Thus, this aspect of the present invention is directed to a programmed product, including 25 signal-bearing media tangibly embodying a program of machine-readable instructions executable by a digital data processor to perform the above method.
Thus, as shown in Figure 9 in addition to the hardware and process environment described above, a different aspect of the invention includes a computer-implemented method according to the present invention, as described above. As an example, this method may be implemented in the particular hardware environment discussed above.
Such a method may be implemented, for example, by operating the CPU 811 (Figure 8), to execute a sequence of machine-readable instructions. These instructions may reside in various types of signal-bearing media.
Thus, this aspect of the present invention is directed to a programmed product, comprising signal-bearing media tangibly embodying a program of machine-readable instructions executable by a digital data processor incorporating the CPU 811 and hardware above, to perform the method of the invention.
This signal-bearing media may include, for example, a RAM contained within the CPU 811, 1 o as represented by the fast-access storage for example. Alternatively, the instructions may be contained in another signal-bearing media, such as a magnetic data storage diskette 900 (Figure 9), directly or indirectly accessible by the CPU 811.
Whether contained in the diskette 900, the computer/CPU 811, or elsewhere, the instructions may be stored on a variety of machine-readable data storage media, such as DASD storage (e.g., a conventional "hard drive" or a RAID array), magnetic tape, electronic read-only memory (e.g., ROM, EPROM, or EEPROM), an optical storage device (e.g. CD-ROM, WORM, DVD, digital optical tape, etc.), paper "punch" cards, or other suitable signal-bearing media including transmission media such as digital and analog and communication links and wireless. In an illustrative embodiment of the invention, the machine-readable instructions may comprise software object code, compiled from 2o a language such as "C", etc.
Thus, TSR, according to the present invention, allows a system operator to cause selective software rejuvenation to be performed automatically, on a periodic basis, without operator intervention, and at a time which is least disruptive to system operation. The "time" may be gauged by a calendar provided to the user through a graphical user interface (GUI).
"Least disruptive" may be determined dynamically or user-selected. The rejuvenation may be based on the time elapsed since the last rejuvenation, or it may be based on having completed a particular workload, such as a certain number of batch jobs.
TSR may be set up within the operator's normal system management console, where the operator may select rejuvenation of all or part of the system.

TSR is transparent to the application program. That is, no changes to the application software are required to obtain the benefits of TSR. When software rejuvenation is invoked within a cluster environment, the cluster management failover services (i.e., Microsoft~
Cluster Services or HACMP) may be used to "gracefully" stop the offending subsystem and restart it on the same or another node in the cluster, in a controlled manner. For purposes of the present application, "gracefully stopping" means terminating a program or operation in a pre-planned, purposeful manner such as closing out files properly and without any effect to any other subsystem or system performance.
Prior to invoking rejuvenation in the cluster case, TSR checks the "fail-to"
node of the cluster 1 o to confirm that it has adequate resources (e.g., processor instruction execution throughput capacity, I/O bandwidth capacity, memory storage capacity, disk storage capacity) to accept the failed-over workload.
If the resource check fails, TSR informs the system operator that the failover cannot occur, alerting the operator of the system's inability to perform rejuvenation and, perhaps more significantly, its inability to tolerate an unplanned failure of the system to be rejuvenated.
Then, the operator can take corrective action to restore the system's fault resilience by performing actions such as adding processors, adding memory, adding I/O
devices, adding storage, or perhaps rejuvenating the fail-to node in an attempt to free up resources consumed by aging on the fail-to node itself.
2o With the unique and unobvious aspects of the present invention, unplanned outages due to resource exhaustion are avoided by periodically rejuvenating the software system. This benefit is provided transparently to the application software.
Rejuvenation can increase a system's mean-time-to-outage by a factor of two or more (e.g., based on an analytical model), depending on the degree of aging. Once it has been set up, the rejuvenation process is completely automated and therefore not susceptible to human error, either in terms of forgetting to perform the rejuvenation, or in terms of errors in performing the rejuvenation itself.
Additionally, rejuvenation can be scheduled to occur at a time of least system workload, when an operator may not be present. Selective rejuvenation allows the operator to only rejuvenate that part of the system that is the cause of the aging, further reducing any impact on system operation. Because transparent rejuvenation requires no modifications to the application software, it can be used for any application running on the system, without modification.
Because the present invention can use the fail-over capabilities of a clustered system, very little downtime is incurred to perform the rejuvenation. Finally, the invention provides an automatic and continual check on the system's capability to tolerate an unplanned failure.
While a preferred embodiment of the present invention has been described above, it should be understood that it has been provided as an example only. Thus, those skilled in the art will recognize that the invention can be practiced with modification within the spirit and scope of the appended claims.

Claims (28)

The embodiments of the invention which an exclusive property or privilege are claimed are defined as follows:
1. A method of enhancing software dependability, comprising:
measuring a time elapsed in a software system running on a computer;
determining whether said elapsed time matches a threshold; and when said elapsed time matches said threshold, rejuvenating at least a portion of said software system to reduce a likelihood of an outage and without modifying an application running in said software system.
2. A method for software rejuvenation, comprising:
waiting for a selected inter-rejuvenation interval to expire in a software system;
determining whether a fail-to node has adequate resources to accept a failover workload;
if said determining determines that the fail-to node cannot accept the failover workload, then sending an alert that adequate resources do not exist to support fault tolerance requirements; and suspending rejuvenation until an operator acknowledges and corrects the deficiency.
3. The method according to claim 2, further comprising:
if the determining determines the fail-to node can accept the failover workload, then a rejuvenation agent on a first node instructing a cluster manager to shut down an open application in a pre-planned manner on the first node; and restarting the application on a second node.
4. The method according to claim 2, further comprising:
if the determining determines the fail-to node can accept the failover workload, then a rejuvenation agent on a node instructing a cluster manager to shut down an open application in a pre-planned manner on the node; and subsequently restarting the application on said node.
5. The method according to claim 2, wherein said software rejuvenation is performable at a thread level.
6. The method according to claim 3, wherein said first node comprises a primary node and said second node comprises a secondary node, said method further comprising:
designating, by the cluster manager, the secondary node as a new primary node, and the primary node as a new secondary node.
7. The method according to claim 2, wherein said rejuvenation is performed in a clustered environment.
8. The method according to claim 2, wherein said rejuvenation is devoid of changing an application running on said system.
9. The method according to claim 2, further comprising:
automatically performing selective software rejuvenation, on a periodic basis, without operator intervention, and at a time which is deemed least disruptive to system operation.
10. The method according to claim 9, wherein said rejuvenation is performed based on one of a time elapsed since a last rejuvenation, and said system having completed a particular workload.
11. The method according to claim 10, wherein said rejuvenation is performed for one of a portion of said system and an entirety of said system.
12. The method according to claim 2, wherein said rejuvenation is performed transparently to an application program running on said system, such that no changes to an application software of said software system are required.
13. The method according to claim 2, wherein said rejuvenation is invoked within a cluster environment, and wherein cluster management failover services are used to controllably terminate one of an offending subsystem and thread, and to restart said one of said subsystem and thread on a same or another node in the cluster.
14. The method according to claim 2, further comprising:
prior to invoking rejuvenation in the cluster, checking a fail-to node of the cluster to confirm whether said fail-to node has adequate resources to accept the failed-over workload.
15. The method according to claim 14, further comprising:
if the resource check fails, then informing a system operator that the failover cannot occur, and alerting the operator of the system's inability to perform rejuvenation.
16. The method according to claim 15, wherein said operator takes corrective action to restore the system's fault resilience by at least one of adding processors, adding memory, adding input/output (I/O) devices, adding storage, and rejuvenating the fail-to node to free up resources consumed by aging on the fail-to node.
17. The method according to claim 2, wherein said rejuvenation is performed, transparently to an application software of said system, based on measuring elapsed time, and by signaling to one of an operator and cluster management software to perform a planned rejuvenation.
18. The method according to claim 2, further comprising:
scheduling said rejuvenation to occur at a time of least system workload.
19. The method according to claim 2, further comprising:
selectively rejuvenating said system such that only that part of the system that is causing aging is rejuvenated.
20. The method according to claim 2, further comprising:
performing said rejuvenation without modifying an application software of said software system.
21. A method for software rejuvenation, comprising:
waiting for a selected inter-rejuvenation interval to expire;
determining whether a fail-to node has adequate resources to accept a failover workload;
if the determining determines that the fail-to node can accept the failover workload, then a rejuvenation agent on a primary node instructing a cluster manager to shut down an open application in a pre-planned manner on the primary node; and restarting the application on one of the primary node and a secondary node.
22. The method according to claim 21, further comprising:
if said determining determines that the fail-to node cannot accept the failover workload, then sending an alert that adequate resources do not exist to support fault tolerance requirements; and suspending rejuvenation until an operator acknowledges and corrects the deficiency.
23. A system for increasing software dependability, comprising:
a timer for measuring an elapsed time in a software system running on a computer; and a management interface, coupled to said timer, for determining whether said elapsed time matches a threshold, wherein when said elapsed time matches said threshold, said management interface rejuvenates at least a portion of said software system to reduce the likelihood of an outage and without modifying an application running in said software system.
24. A system for software rejuvenation, comprising:
a determiner for determining whether a fail-to node has adequate resources to accept a failover workload, upon expiration of an inter-rejuvenation interval; and a rejuvenation agent on a primary node instructing a cluster manager to shut down an open application in a pre-planned manner on the primary node, when said determiner determines that said fail-to node can accept the failover workload, said rejuvenation agent restarting the application on one of the primary node and a secondary node.
25. A system for enhancing software dependability, comprising:
means for measuring a time elapsed in a software system running on a computer;
means for determining whether said elapsed time matches a threshold; and means for rejuvenating at least a portion of said software system, when said elapsed time matches said threshold, to reduce a likelihood of an outage and without modifying an application running in said software system.
26. A signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for computer-implemented dependability of software, said method comprising:
measuring an elapsed time in a software system running on a computer;
determining whether said elapsed time matches a threshold; and when said elapsed time matches said threshold, rejuvenating at least a portion of said software system to reduce the likelihood of an outage and without modifying an application running in said software system.
27. A signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for computer-implemented dependability of software, said method comprising:
waiting for a selected inter-rejuvenation interval to expire in a software system;
determining whether a fail-to node has adequate resources to accept a failover workload;
if said determining determines that the fail-to node cannot accept the failover workload, then sending an alert that adequate resources do not exist to support fault tolerance requirements; and suspending rejuvenation until an operator acknowledges and corrects the deficiency.
28. A signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for computer-implemented rejuvenation of software, said method comprising:
waiting for a selected inter-rejuvenation interval to expire;
determining whether a fail-to node has adequate resources to accept a failover workload;
if the determining determines the fail-to node can accept the failover workload, then causing a rejuvenation agent on a primary node to instruct a cluster manager to shut down an open application in a pre-planned manner on the primary node; and restarting the application on one of the primary node and a secondary node.
CA002321017A 1999-11-17 2000-09-27 Method and system for transparent time-based selective software rejuvenation Expired - Fee Related CA2321017C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/442,003 US6594784B1 (en) 1999-11-17 1999-11-17 Method and system for transparent time-based selective software rejuvenation
US09/442,003 1999-11-17

Publications (2)

Publication Number Publication Date
CA2321017A1 CA2321017A1 (en) 2001-05-17
CA2321017C true CA2321017C (en) 2006-01-31

Family

ID=23755146

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002321017A Expired - Fee Related CA2321017C (en) 1999-11-17 2000-09-27 Method and system for transparent time-based selective software rejuvenation

Country Status (5)

Country Link
US (1) US6594784B1 (en)
JP (1) JP3737695B2 (en)
CN (1) CN1191528C (en)
CA (1) CA2321017C (en)
TW (1) TW484097B (en)

Families Citing this family (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820215B2 (en) * 2000-12-28 2004-11-16 International Business Machines Corporation System and method for performing automatic rejuvenation at the optimal time based on work load history in a distributed data processing environment
US20020087612A1 (en) * 2000-12-28 2002-07-04 Harper Richard Edwin System and method for reliability-based load balancing and dispatching using software rejuvenation
US6810495B2 (en) * 2001-03-30 2004-10-26 International Business Machines Corporation Method and system for software rejuvenation via flexible resource exhaustion prediction
US7225362B2 (en) * 2001-06-11 2007-05-29 Microsoft Corporation Ensuring the health and availability of web applications
US7228551B2 (en) 2001-06-11 2007-06-05 Microsoft Corporation Web garden application pools having a plurality of user-mode web applications
US7430738B1 (en) 2001-06-11 2008-09-30 Microsoft Corporation Methods and arrangements for routing server requests to worker processes based on URL
US7594230B2 (en) 2001-06-11 2009-09-22 Microsoft Corporation Web server architecture
US6922791B2 (en) * 2001-08-09 2005-07-26 Dell Products L.P. Failover system and method for cluster environment
US6978398B2 (en) * 2001-08-15 2005-12-20 International Business Machines Corporation Method and system for proactively reducing the outage time of a computer system
KR100420266B1 (en) * 2001-10-23 2004-03-02 한국전자통신연구원 Apparatus and method for improving the availability of cluster computer systems
US7490137B2 (en) * 2002-03-22 2009-02-10 Microsoft Corporation Vector-based sending of web content
US7159025B2 (en) * 2002-03-22 2007-01-02 Microsoft Corporation System for selectively caching content data in a server based on gathered information and type of memory in the server
US6915384B2 (en) 2002-03-22 2005-07-05 Microsoft Corporation Multiple-level persisted template caching
US6986076B1 (en) * 2002-05-28 2006-01-10 Unisys Corporation Proactive method for ensuring availability in a clustered system
US7529822B2 (en) * 2002-05-31 2009-05-05 Symantec Operating Corporation Business continuation policy for server consolidation environment
JP2004248083A (en) * 2003-02-14 2004-09-02 Ricoh Co Ltd Network communication terminal device
US8392755B2 (en) * 2003-09-22 2013-03-05 Alcatel Lucent Providing protection switching via failure prediction
US7181651B2 (en) * 2004-02-11 2007-02-20 Sun Microsystems, Inc. Detecting and correcting a failure sequence in a computer system before a failure occurs
US7353431B2 (en) * 2004-02-11 2008-04-01 Sun Microsystems, Inc. Method and apparatus for proactive fault monitoring in interconnects
US7900206B1 (en) 2004-03-31 2011-03-01 Symantec Operating Corporation Information technology process workflow for data centers
US8627149B2 (en) * 2004-08-30 2014-01-07 International Business Machines Corporation Techniques for health monitoring and control of application servers
US7418709B2 (en) * 2004-08-31 2008-08-26 Microsoft Corporation URL namespace to support multiple-protocol processing within worker processes
US7418712B2 (en) * 2004-08-31 2008-08-26 Microsoft Corporation Method and system to support multiple-protocol processing within worker processes
US7418719B2 (en) * 2004-08-31 2008-08-26 Microsoft Corporation Method and system to support a unified process model for handling messages sent in different protocols
US7409576B2 (en) * 2004-09-08 2008-08-05 Hewlett-Packard Development Company, L.P. High-availability cluster with proactive maintenance
US8055952B2 (en) * 2004-11-16 2011-11-08 Siemens Medical Solutions Usa, Inc. Dynamic tuning of a software rejuvenation method using a customer affecting performance metric
US7484128B2 (en) * 2005-01-11 2009-01-27 Siemens Corporate Research, Inc. Inducing diversity in replicated systems with software rejuvenation
US7565395B2 (en) * 2005-02-01 2009-07-21 Microsoft Corporation Mechanism for preserving session state when using an access-limited buffer
JP4616674B2 (en) 2005-03-18 2011-01-19 株式会社日立製作所 Resource lending method and resource lending system
JP2007004595A (en) 2005-06-24 2007-01-11 Hitachi Ltd Computer control method, computer, information processing system and program
US8326990B1 (en) 2005-07-15 2012-12-04 Symantec Operating Corporation Automated optimal workload balancing during failover in share-nothing database systems
US7702966B2 (en) * 2005-09-07 2010-04-20 Intel Corporation Method and apparatus for managing software errors in a computer system
US7823029B2 (en) * 2005-09-07 2010-10-26 International Business Machines Corporation Failure recognition, notification, and prevention for learning and self-healing capabilities in a monitored system
CN100435105C (en) * 2005-09-26 2008-11-19 西安交通大学 System regeneration method for application server in cluster environment
US8117505B2 (en) * 2005-11-07 2012-02-14 Microsoft Corporation Resource exhaustion prediction, detection, diagnosis and correction
JP4649341B2 (en) * 2006-01-24 2011-03-09 株式会社日立製作所 Computer control method, information processing system, and computer control program
JP2007226400A (en) * 2006-02-22 2007-09-06 Hitachi Ltd Computer management method, computer management program, stand-by server for managing configuration of execution server, and computer system
US7657793B2 (en) * 2006-04-21 2010-02-02 Siemens Corporation Accelerating software rejuvenation by communicating rejuvenation events
CN100435106C (en) * 2006-11-21 2008-11-19 西安交通大学 Application server classification regeneration method
JP4923990B2 (en) 2006-12-04 2012-04-25 株式会社日立製作所 Failover method and its computer system.
JP5052955B2 (en) * 2007-05-09 2012-10-17 株式会社日立製作所 Application high availability operation method, online version change method, and computer system
JP4937194B2 (en) * 2008-06-12 2012-05-23 ヤフー株式会社 System, method, and program for estimating when application is unresponsive
US8984123B2 (en) * 2009-04-23 2015-03-17 Nec Corporation Rejuvenation processing device, rejuvenation processing system, computer program, and data processing method
WO2010122710A1 (en) * 2009-04-23 2010-10-28 日本電気株式会社 Rejuvenation processing device, rejuvenation processing system, computer program, and data processing method
JP5203321B2 (en) * 2009-09-04 2013-06-05 日本電信電話株式会社 Memory leak handling method, apparatus and program
JP5321658B2 (en) * 2011-08-26 2013-10-23 株式会社日立製作所 Failover method and its computer system.
US9465654B2 (en) * 2012-02-07 2016-10-11 Veritas Technologies Llc Intelligent failover or shutdown of an application using input/output shipping in response to loss of connectivity to data storage in a cluster
CN106469102B (en) * 2015-08-19 2019-06-25 龙芯中科技术有限公司 Software regeneration method and device in Java Virtual Machine
CN112711541B (en) * 2021-01-20 2023-07-18 广西师范大学 Unsupervised software aging detection method based on local outlier factor of data stream
CN116074305A (en) * 2021-10-30 2023-05-05 华为技术有限公司 Application downloading and installing method, application aging method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715386A (en) 1992-09-30 1998-02-03 Lucent Technologies Inc. Apparatus and methods for software rejuvenation
CA2106280C (en) * 1992-09-30 2000-01-18 Yennun Huang Apparatus and methods for fault-tolerant computing employing a daemon monitoring process and fault-tolerant library to provide varying degrees of fault tolerance
FI103450B (en) * 1996-04-23 1999-06-30 Nokia Mobile Phones Ltd Multimedia terminal and method for conducting multimedia reception
US6112136A (en) 1998-05-12 2000-08-29 Paul; Steven J. Software management of an intelligent power conditioner with backup system option employing trend analysis for early prediction of ac power line failure

Also Published As

Publication number Publication date
JP3737695B2 (en) 2006-01-18
JP2001188684A (en) 2001-07-10
US6594784B1 (en) 2003-07-15
CN1191528C (en) 2005-03-02
CA2321017A1 (en) 2001-05-17
TW484097B (en) 2002-04-21
CN1305154A (en) 2001-07-25

Similar Documents

Publication Publication Date Title
CA2321017C (en) Method and system for transparent time-based selective software rejuvenation
US6978398B2 (en) Method and system for proactively reducing the outage time of a computer system
JP3982353B2 (en) Fault tolerant computer apparatus, resynchronization method and resynchronization program
US5715386A (en) Apparatus and methods for software rejuvenation
KR100557399B1 (en) A method of improving the availability of a computer clustering system through the use of a network medium link state function
US7716520B2 (en) Multi-CPU computer and method of restarting system
US6820215B2 (en) System and method for performing automatic rejuvenation at the optimal time based on work load history in a distributed data processing environment
US7062676B2 (en) Method and system for installing program in multiple system
US7610582B2 (en) Managing a computer system with blades
KR100618275B1 (en) Synchronization of processor in a fault toferant multi-processor system
US20080162985A1 (en) Method and apparatus for customizable surveillance of network interfaces
CN111880906A (en) Virtual machine high-availability management method, system and storage medium
US7565565B2 (en) Automated error recovery of a licensed internal code update on a storage controller
US20030212788A1 (en) Generic control interface with multi-level status
US20040177242A1 (en) Dynamic computer system reset architecture
US6370657B1 (en) Hot processor swap in a multiprocessor personal computer system
US7206975B1 (en) Internal product fault monitoring apparatus and method
EP0701209B1 (en) Apparatus and method for software rejuvenation
JP2003173272A (en) Information processing system, information processor and maintenance center
WO2007099606A1 (en) Processor control method
US8806500B2 (en) Dynamically setting the automation behavior of resources
JPH10116261A (en) Check point restarting method for parallel computer system
US7934128B2 (en) Methods, systems and computer program products for fault tolerant applications
JPH05216855A (en) Multi-cpu control system
WO2023198276A1 (en) Handling failure of an application instance

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed

Effective date: 20150928

MKLA Lapsed

Effective date: 20150928