Research on Software Architecture-Based Dynamic Reconfiguration of Fault Tolerance Mechanisms
- Author
- LiJunGuo
- Advisor
- MeiHong
- School
- Beijing University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Doctoral dissertation
- Year
- 2009
- Downloads
- 618
- Citations
- 4
Abstract
Software-implement fault tolerance (FT) is an effective way to achieve high availability and reliability. It takes two successive steps to tolerate faults in software: the error detection step aims to identify the presence of an error, while the recovery step aims to transfer abnormal states into normal ones. The effectiveness of a fault-tolerant mechanism depends on its fitness for an application context, including fault assumption, application domain, execution environment, etc. This constraint makes fault-tolerant mechanisms inflexible to the change of environment and user requirements. As a kind of Internet-scale software, Internetware runs in an open and dynamic environment, and consists of various third-party components. This openness leads to a fact that its behaviors may change continuously. When applying fault-tolerant mechanisms to Internetware, it is very likely that a formerly effective mechanism no longer works after the fault assumption, fault-tolerant requirements, or application-specific constraints are changed due to the change of execution environment or components upgrade.Reconfiguring fault-tolerant mechanisms for Internentware at runtime is a promising way to achieve high availability and reliability all the time. The reconfiguration includes adding a fault-tolerant mechanism to a non-fault-tolerant component, eliminating existing mechanism from a component, or switching between different mechanisms for a component. This thesis focuses on the above problem of dynamic reconfiguration of fault-tolerant mechanisms for Internetware.There are two major challenges in solving the problem. The first challenge is to make a clear separation between the software’s functional parts and the fault-tolerant parts, and the relationships between these two parts have to be explicitly specified. Otherwise, it is hardly to modify the fault-tolerant parts without do harm to the functional parts. The second challenge is to ensure the correctness and the effectiveness of the dynamic reconfiguration of fault-tolerant mechanisms. In the thesis, we present a Software Architecture (SA)-based approach to achieve the goal.At first, in order to depict the relationship between fault-tolerant mechanisms and application components, we specify the fault-tolerant mechanisms suitable for Internetware as a special architectural style - fault-tolerant styles, which explicitly grasp the mechanisms’structural characters, behavioral characters, and the interactions with application components. The available fault-tolerant styles are also classified and well-organized for the sake of reuse. In addition, a formal model for fault-tolerant SA is given to enable the validation of the reconfiguration. The formal model covers the fault-tolerant styles and dependencies among components, and forms the theoretical foundation of the dynamic reconfiguration of fault-tolerant mechanisms.Second, in order to select the most suitable one from several fault-tolerant styles, we use model checking to obtain solid evidences. As a pre-process step, fault-tolerant styles’behavioral models are automatically translated into a model checker’s verification model, and the fault-tolerant requirements and application-specific constraints are specified as fault-tolerant properties. Then the satisfactions of the required properties for candidate styles are verified by model checking. The satisfied properties and constraints are evidences for the selection.Third, in order to avoid the human mistakes in dynamic reconfiguration and alleviate maintainers’burden, we provide an automatic generation of the reconfiguration operations in middleware. As the first step, the scope of to-be-modified components in an application is automatically identified, with the help of dependency information provided by SA. Then the elements in a fault-tolerant style instance and those in the application are matched via the comparison of the style instance and application’s architecture. At last, model transformation technique automatically merges the style instance and the application architecture, as well as generates a desired fault-tolerant configuration. The merged fault-tolerant SA can be verified for its effectiveness and correctness. At last, we present a framework supporting dynamic reconfigurable FT in middleware. It consists of a fault-tolerant sandbox design and an FT management service. The fault-tolerant sandbox is extended from generic component containers, and it acts as a unit of the reconfiguration. Different fault-tolerant styles are implemented as different combination of container interceptors in the sandboxes. The sandbox supports dynamic loading/unloading of the interceptors to implement the dynamic reconfiguration of fault-tolerant mechanisms. The FT management service acts as the coordinator of dynamic reconfiguration and recovery. The fault-tolerant configuration generated in the above SA-level planning is mapped to a sequence of middleware operations, with the help of Runtime Software Architecture, and executed by the framework. The framework provides transparent FT and dynamic reconfigurable FT for applications, and works well in PKUAS and JBoss.A JEE application, ECperf, is illustrated as a case study in the thesis. It shows the effectiveness of the proposed approach.
Table of contents
Abstract 3-5
Abstract 5-12
Chapter 1 Introduction 12-38
1.1 of the problem 12-14
1.2 development and status 14-31
1.2.1 software faults and fault-tolerant technology 15-18
1.2.2 tectonic fault-tolerant software method 18-29
1.2.3 dynamic configuration of fault tolerance mechanisms 29-31
1.3 outstanding issues 31-32
1.4 content of this study and the main work 32-36
1.4.1 research 32-34
1.4.2 working basis 34-36
1.5 this paper is organized 36-38
Chapter 2 fault-tolerant software architecture based on dynamic configuration mechanism for technical framework 38-52
2.1 Case studies 38-40
2.2 internetware software fault tolerance mechanisms dynamic configuration problem difficulty 40-46
2.2.1 Network configuration software fault-tolerant mechanisms dynamically configure the basic requirements 40-42
2.2.2 dependency on the fault-tolerant mechanisms for dynamic configuration of 42-46
2.3 software-based fault tolerance architecture dynamic configuration methods 46-48
2.3.1 software architecture abstractions Statute ability 46-48
2.3.2 software architecture analytical reasoning 48
2.4 middleware supporting frame 48-49
2.5 dynamic configuration process 49-50
2.6 Summary 50-52
Chapter 3 fault tolerant architecture style and 52-74
3.1 fault-tolerant style description 52-57
3.2 fault-tolerant styles instance 57-67
3.2.1 public tolerant components, connectors and interfaces son 57-60
3.2.2 public tolerance components, connectors and interfaces son combination 60-63
3.2.3 examples of typical fault-tolerant style 63-67
3.3 fault-tolerant architecture, formal specification 67-72
3.3.1 fault-tolerant architecture based model 68-70
3.3.2 fault modeling 70
3.3.3 build fault-tolerant style mold 70-71
3.3.4 dependencies formal model for fault-tolerant architecture influence 71-72
3.4 Summary 72-74
Chapter 4 planning fault tolerance mechanisms dynamically configured 74-102
4.1 Selecting fault-tolerant style 75-83
4.1.1 style selection based on model checking method outlined 75-77
4.1.2 from an architectural model to validate the model conversion 77-82
4.1.3 Case studies 82-83
4.1.4 discussion 83
4.2 using fault-tolerant style 83-95
4.2.1 model-based fault-tolerant configuration combined generation method outlined 83-86
4.2.2 determine the set of components to be configured 86-87
4.2.3 generated model element matching relation 87-90
4.2.4 perform a merge operation 90-95 < br /> 4.3 performance and reliability analysis 95-98
4.3.1 performance Analysis 95-97
4.3.2 reliability Analysis 97-98 < br /> 4.4 tools to achieve 98-99
4.5 Summary 99-102
Chapter 5 middleware supporting frame and implement 102-120
5.1 framework Overview 103
5.2 fault-tolerant sandbox 103-109
5.2.1 component containers and interceptor 103-105
5.2.2 expansion component container is tolerant sandbox 105-109
5.2.3 tolerant sandbox combination 109
5.3 fault-tolerant management services 109-113
5.3 .1 fault-tolerant configuration and recovery strategies 110-112
5.3.2 configuration Manager 112
5.3.3 recovery Manager 112-113
5.4 from the architecture to the middleware fault tolerant configuration describes the configuration file 113-114
5.5 based JEE application server implementation 114-118
5.5.1 implementation based PKUAS 114-115
5.5.2 experimental design and results 115-118
5.6 Summary 118-120
Chapter 6 Conclusion 120 -126
6.1 this work summarizes 120-121
6.2 related work relatively 121-123
6.2.1 dynamically configurable middleware fault tolerance mechanisms supporting technology 121-122
6.2.2 fault-tolerant software architecture modeling and analysis 122-123
6.3 future Work Prospects 123-126
References 126-137
Related dissertations
- Research on Internetware Technologies Based on P2P Network
- Research on Software Architecture-based Composition of Internetware
- Research on the Configuration Control Technology of Embryonic Systems
- Dynamically Reconfigurable FPGA- circuit testing technology research
- Research on Dependability Assurance for Internetware
- The Analysis and Improvement of LEACH Protocol Based on Trust and Energy
- And the realization of software testing reuse management subsystem design
- Research on Architecture-Based Software Reliability Demonstration Testing Method
- Research on Architectural Degeneration of Software System from Defect Analysis Perspective
- Research on Trustworthiness of Resource Adaptability for Internetware
- Design and Implementation of the Yunnan Arts University School of Music Office Automation System
- Design and application of emergency response training platform software architecture
- Design and Implementation of Software Architecture of Preplan Command Platform Based on Cloud Model
- The Design and Realization of Software Architecture of Platform of Vehicle Affairs Management Based on Cloud Model
- The Design of Sensory Data based Traffic Information Management and Service System Software Architecture
- Theory and Method of Component Based Software Reliability Analysis
- Research of Test Management Software Based Test Platform Software Architecture Technology
- A Distributed Disaster Tolerance System Based on RS Code
- Dynamically Reconfigurable Semantic Study of the DSM
- Localization and Isolation of Corrupted Nodes Using Trust-Based Routing Mechanism