计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (29): 124-127.

• 数据库、信号与信息处理 • 上一篇    下一篇

实时数据库系统双机热备机制设计与实现

杨晓芬,王永会,刘  轶   

  1. 北京航空航天大学 计算机学院,北京 100191
  • 出版日期:2012-10-11 发布日期:2012-10-22

Design and implementation of dual-server hot-standby system for real-time database

YANG Xiaofen, WANG Yonghui, LIU Yi   

  1. School of Computer Science and Techonology, Beihang University, Beijing 100191, China
  • Online:2012-10-11 Published:2012-10-22

摘要: 双机热备计算机系统可实现高任务可靠性,广泛应用于电力系统。针对实时数据库系统提出了一种新颖的双机热备设计技术,基于系统及资源状态检测与监控、双机状态一致性同步、网络通信协议、主备切换机制、数据镜像服务等关键技术实现了模块设计。主控模块对主备服务器工作状态进行仲裁与检测,网络通信模块检测服务器故障,切换控制模块实时响应服务器故障进行切换,配置模块对双机信息进行设置,保证了系统高可靠性持续运行。

关键词: 双机热备, 高可靠性, 电力系统, 数据镜像

Abstract: Dual-server hot-standby can implement a good task-reliability, so it is used in power system broadly. This paper proposes a new dual-server hot-standby system technology for real-time database, implements modular hardware based on technologies including testing and monitoring the state of system and resources, state synchronous, network communication, mechanism of switching over and data mirror service. Main control modular monitors and arbitrates the state of dual-server, and network communication modular monitors whether server breaks down. Switch over modular switches whenever the server breaks down, and configuration modular sets information about switch over. It ensures that the system runs in a good task-reliability.

Key words: dual-server hot-standby, good task-reliability, power system, data mirror