当前位置:主页 > 科技论文 > 计算机论文 >

服务器集群系统高可用模块设计与实现

发布时间:2018-04-19 14:42

  本文选题:集群 + 高可用性 ; 参考:《北京邮电大学》2013年硕士论文


【摘要】:计算机技术的不断发展使得商业和社会机构对日常操作的计算机化要求达到了空前的程度。这些企业,组织,团体的服务器发生任何的宕机都会造成严重的损失,甚至很可能造成整个商业运作的瘫痪。基于以上原因,高可用技术应运而生。高可用系统的主要目的就是保证商业系统服务的连续,高可靠,提高用户体验,为企业提供技术层的高竞争力。 本文主要的研究内容是为分布式集群系统下的服务提供一种稳定,高可靠的系统解决方案,论文中分析了实现高可用系统的要点问题,并对高可用系统进行了需求分析。论文参阅了大量高可用相关资料,对前人实现的高可用系统进行综述,分析其优缺点,同时对高可用的关键技术进行了深入分析和研究,在吸取前人高可用架构优点的基础上,对基于服务和大数据的高可用系统进行了概要设计。并对高可用各系统模块进行了详细设计。对服务器调度模块,数据同步部分以及守护进程模块等进行了编码实现,并针对高可用系统中的关键组件heartbeat和双机热备进行了实验室环境下的模拟测试。 高可用系统中应用了先进成熟的技术方案,着重阐述了心跳控制,以及数据存储方案的原理以及应用方法。在前人的基础上将两者融合。 本文的主要工作如下: 1.前人工作综述中,概括归纳了前人设计和实现的高可用系统,分析了各系统的关键模块,并指出系统中的优缺点。 2.对高可用的概念,以及设计要点进行了研究和论述,对实现基于服务和大数据的高可用系统进行了需求分析。提出了设计高可用系统时应注意的几点要求。 3.对高可用系统的整体架构进行了设计,将系统服务和数据存储部分分离,并给出了具体的设计组图,对系统中各模块的工作原理进行了阐述。 4.对高可用系统的两大模块:数据高可用和服务高可用模块进行了详细设计,并给出各部分的设计组图。数据高可用模块采用主备模式部署,使用heartbeat心跳组件监控主备状态,实现双机切换。由一个数据服务器管理多个实际提供服务的服务器,通过应用层自定义协议保证数据服务器和实际服务器的通信。实际服务器上设置守护进程保证本服务器服务停止时可立即启动。 5.数据高可用的详细设计主要是通过mysql的二进制日志实现数据服务器主备节点数据的异步复制,通过crontab在数据服务器主备节点定时执行日志截取,发送和导入数据库操作实现数据的远程灾备。 6.对系统的关键模块heartbeat心跳控制和数据库双机热备进行了配置和实验室环境的测试,验证了系统的高可用性。 本文的主要创新在于:采用两种高可用架构相结合的方式,将数据存储和服务分离。存储服务器采用多节点部署,一节点一备份的方式保证数据服务器的高可用性,实际服务器采用多机同时运行的模式。通过应用层自定义协议保证两种服务器间的通信,实现任务调度模块,存储服务器每次接受客户端请求后实时查询各实际服务器状态,实时分配查询服务器地址,保证服务的高可用性。
[Abstract]:The continuous development of computer technology has made commercial and social institutions unprecedented to the computerized requirements of daily operations . These enterprises , organizations , groups of servers take place any downtime can cause serious losses , and may even lead to the paralysis of the whole business operation . Based on the above reasons , the high availability technology is born . The main purpose of the high - availability system is to guarantee the continuity , the high reliability and the user experience of the commercial system service , and provide the enterprise with the high competitiveness of the technical layer .

The main research content is to provide a stable , highly reliable system solution for the service under the distributed cluster system . The paper analyzes the key points of the high available system and analyzes the advantages and disadvantages of the high - availability system . At the same time , the paper designs the high - availability system based on service and large data .

The advanced mature technical scheme is applied in the highly available system , and the principle of heartbeat control and the data storage scheme and the application method are emphatically expounded . The two methods are integrated on the basis of the previous person .

The main work of this paper is as follows :

1 . In the summary of the work of the former , the high - availability system designed and realized by the previous person is summarized , the key modules of each system are analyzed , and the advantages and disadvantages in the system are pointed out .

2 . The concept of high availability and the key points of design are studied and discussed , and the demand analysis of high available system based on service and large data is carried out . Several requirements that should be paid attention to when designing high - availability system are put forward .

3 . The overall architecture of the high available system is designed , the system service and the data storage part are separated , and the detailed design group diagram is given , and the working principle of each module in the system is expounded .

4 . Two modules of high available system : data high available and service high available module are designed in detail , and the design group diagram of each part is given . The data high available module is deployed in master and standby mode . The heartbeat module is used to monitor the master and standby state , and the communication between the data server and the actual server is ensured through the application layer custom protocol . The daemon process is set up on the actual server to ensure that the server can be started immediately when the server service is stopped .

5 . The detailed design of data high availability is mainly to realize asynchronous replication of the main backup node data of the data server through the binary log of mysql , and perform log interception , send and import database operation to realize remote disaster recovery of the data through the crontab .

6 . The key module heartbeat control and database double - machine hot standby of the system are configured and tested in the laboratory environment , and the high - availability of the system is verified .

The main innovation of this paper is that the data storage and the service separation are separated by the combination of two high available architectures . The storage server uses multi - node deployment , one node backup mode to guarantee the high availability of the data server , the actual server adopts the multi - machine simultaneous operation mode . Through the application layer custom protocol , the communication between the two servers is ensured , the task scheduling module is realized , the storage server queries each actual server state in real time after receiving the client request , and distributes the query server address in real time to ensure the high availability of the service .

【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP338.8

【参考文献】

相关期刊论文 前10条

1 丁原,刘玉树,朱天焕;集群服务器技术综述[J];兵工自动化;2000年03期

2 郭全生,舒继武,毛希平,温冬蝉,郑纬民;基于LVS系统的负载动态平衡设计与实现[J];计算机研究与发展;2004年06期

3 陈树,徐保国;利用集群技术构建MOSIX平台[J];江南学院学报;2001年04期

4 黄翊,蒋江,张民选;MOSIX进程迁移机制研究[J];计算机工程;2002年08期

5 苏燕强;Oracle分布式数据库及其应用研究[J];计算机应用与软件;2004年08期

6 刘霁莹;;一种安全网络管理协议的设计与实现[J];信息安全与通信保密;2012年08期

7 邓秀兰,饶运涛;ASN.1的编解码规则与应用层网络协议开发[J];微计算机信息;2004年04期

8 归达伟;计算机集群技术[J];西安邮电学院学报;2004年04期

9 石方夏;岳凤芝;;信息化建设中的RAID技术应用分析[J];现代电子技术;2010年17期

10 傅明,程晓恒,王玮;基于Linux的服务器负载均衡性访问的解决方案[J];计算机系统应用;2001年09期



本文编号:1773512

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1773512.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户b9c1a***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com