一种面向服务器集群的高可用中间框架研究与实现
发布时间:2019-05-24 10:55
【摘要】:高可用系统,也称容灾系统,对于IT而言,就是为计算机信息系统提供的一个能应付各种灾难的环境。当计算机系统在遭受如火灾、水灾、地震、战争等不可抗拒的自然灾难以及计算机犯罪、计算机病毒、掉电、网络/通信失败、硬件/软件错误和人为操作错误等人为灾难时,容灾系统将保证用户数据的安全性(数据容灾),甚至,一个更加完善的容灾系统,还能提供不间断的应用服务。高可用技术已经有很长的发展历史,在关键性业务环节,可以说是必不可少。如何快速,准确的处理故障,并减少故障时带来的损失,一直是高可用技术追求的目标。 本论文主要研究并实现了一种面向集群的高可用中间框架。该框架提供了通用的二次开发接口,简单易用,可以作为高可用系统或容灾系统的底层框架。在研究和设计本框架期间,深入研究和学习了国内外集群系统、分布式系统、搜索引擎系统、云平台以及大数据相关领域的现有技术和发展趋势。 本论文对诸多高可用系统所需要的技术,进行了深入研究和总结,包括如何支持多个操作系统平台,,诸如Uinx/Linux, Windows, MacOS以及Solaris等,也包括如何支持在不同处理器架构上的编程研究,诸如32位和64位编程的总结。同时在设计中,结合使用了软件工程中的面向对象编程思想、面向接口编程思想、面向组件编程思想、设计模式的思想以及多种数据结构和算法等。通过对这一系列方法和思想的运用,设计了本论文所提的框架。该框架包含了多个子模块,底层通讯传输协议层,是本框架的网络通信模块,用于多个节点间的相互通信以及心跳检测;组与成员原子广播模块,是框架的成员、组和资源管理中心,同时也会负责全局状态的广播和维护;防脑裂模块,是框架对于异常情况的处理,用于在框架出现故障时,保护系统的数据和资源的一致性和完整性;高可用组件守护进程,是节点上唯一的运行实例,用于统管全局,以及对外的命令交互;最后,以基于CIFS协议的高可用Samba文件共享服务器为例,实际运用本框架,实现一个并发的高可用文件共享服务器。
[Abstract]:High availability system, also known as disaster recovery system, is a kind of environment for computer information system to cope with all kinds of disasters for IT. When computer systems are suffering from irresistible natural disasters such as fires, floods, earthquakes, wars, as well as human disasters such as computer crime, computer viruses, power outages, network / communication failures, hardware / software errors and man-made errors, Disaster recovery system will ensure the security of user data (data disaster recovery), and even a more perfect disaster recovery system, but also can provide uninterrupted application services. High availability technology has a long history of development, in the key business links, can be said to be essential. How to deal with faults quickly and accurately and reduce the losses caused by faults has always been the goal of high available technology. In this paper, a cluster-oriented highly available intermediate framework is studied and implemented. The framework provides a general secondary development interface, which is simple and easy to use, and can be used as the underlying framework of high availability system or disaster recovery system. During the research and design of this framework, the existing technologies and development trends of cluster system, distributed system, search engine system, cloud platform and big data related fields at home and abroad have been deeply studied and studied. In this paper, the technologies needed by many highly available systems are deeply studied and summarized, including how to support multiple operating system platforms, such as Uinx/Linux, Windows, MacOS and Solaris. It also includes how to support programming research on different processor architecture, such as 32-bit and 64-bit programming. At the same time, in the design, the idea of object-oriented programming, interface-oriented programming, component-oriented programming, design pattern and a variety of data structures and algorithms in software engineering are combined. Through the application of this series of methods and ideas, the framework proposed in this paper is designed. The framework consists of several sub-modules, the underlying communication and transmission protocol layer, which is the network communication module of this framework, which is used for communication and heartbeat detection between multiple nodes. The group and member atomic broadcasting module is the member of the framework, the group and the resource management center, and will also be responsible for the broadcasting and maintenance of the global state. The anti-brain crack module is the processing of abnormal conditions in the framework, which is used to protect the consistency and integrity of the data and resources of the system in the event of failure of the framework. The highly available component daemon is the only running instance on the node, which is used to manage the global situation and external command interaction. Finally, taking the high availability Samba file sharing server based on CIFS protocol as an example, a concurrent high available file sharing server is implemented by using this framework.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP311.52
本文编号:2484806
[Abstract]:High availability system, also known as disaster recovery system, is a kind of environment for computer information system to cope with all kinds of disasters for IT. When computer systems are suffering from irresistible natural disasters such as fires, floods, earthquakes, wars, as well as human disasters such as computer crime, computer viruses, power outages, network / communication failures, hardware / software errors and man-made errors, Disaster recovery system will ensure the security of user data (data disaster recovery), and even a more perfect disaster recovery system, but also can provide uninterrupted application services. High availability technology has a long history of development, in the key business links, can be said to be essential. How to deal with faults quickly and accurately and reduce the losses caused by faults has always been the goal of high available technology. In this paper, a cluster-oriented highly available intermediate framework is studied and implemented. The framework provides a general secondary development interface, which is simple and easy to use, and can be used as the underlying framework of high availability system or disaster recovery system. During the research and design of this framework, the existing technologies and development trends of cluster system, distributed system, search engine system, cloud platform and big data related fields at home and abroad have been deeply studied and studied. In this paper, the technologies needed by many highly available systems are deeply studied and summarized, including how to support multiple operating system platforms, such as Uinx/Linux, Windows, MacOS and Solaris. It also includes how to support programming research on different processor architecture, such as 32-bit and 64-bit programming. At the same time, in the design, the idea of object-oriented programming, interface-oriented programming, component-oriented programming, design pattern and a variety of data structures and algorithms in software engineering are combined. Through the application of this series of methods and ideas, the framework proposed in this paper is designed. The framework consists of several sub-modules, the underlying communication and transmission protocol layer, which is the network communication module of this framework, which is used for communication and heartbeat detection between multiple nodes. The group and member atomic broadcasting module is the member of the framework, the group and the resource management center, and will also be responsible for the broadcasting and maintenance of the global state. The anti-brain crack module is the processing of abnormal conditions in the framework, which is used to protect the consistency and integrity of the data and resources of the system in the event of failure of the framework. The highly available component daemon is the only running instance on the node, which is used to manage the global situation and external command interaction. Finally, taking the high availability Samba file sharing server based on CIFS protocol as an example, a concurrent high available file sharing server is implemented by using this framework.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP311.52
【参考文献】
相关期刊论文 前3条
1 王晓东,彭兵,张际平;基于中间件的开发研究[J];计算机应用研究;2001年08期
2 段剑弓;存储系统NAS和SAN的差异和统一[J];计算机应用研究;2004年12期
3 高静;段会川;;JSON数据传输效率研究[J];计算机工程与设计;2011年07期
相关会议论文 前1条
1 姚文琳;姚大钢;;基于分布式数据库技术的高可用容灾系统[A];2006年全国开放式分布与并行计算机学术会议论文集(三)[C];2006年
本文编号:2484806
本文链接:https://www.wllwen.com/kejilunwen/sousuoyinqinglunwen/2484806.html