计算机应用 ›› 2015, Vol. 35 ›› Issue (8): 2392-2396.DOI: 10.11772/j.issn.1001-9081.2015.08.2392

• 计算机软件技术 • 上一篇    下一篇

基于虚拟化技术的仿真系统容错优化方法

陈志佳, 朱元昌, 邸彦强, 冯少冲   

  1. 军械工程学院 电子与光学工程系, 石家庄 050003
  • 收稿日期:2015-03-05 修回日期:2015-04-11 出版日期:2015-08-10 发布日期:2015-08-14
  • 通讯作者: 陈志佳(1986-),男,河北唐县人,博士研究生,CCF会员,主要研究方向:云计算、云仿真,youshenshui@163.com
  • 作者简介:朱元昌(1960-),男,黑龙江哈尔滨人,教授,博士生导师,博士,主要研究方向:武器系统建模与仿真、虚拟样机; 邸彦强(1973-),男,河北蠡县人,副教授,博士,主要研究方向:武器系统建模与仿真、虚拟样机; 冯少冲(1982-),男,河北辛集人,讲师,博士,主要研究方向:云计算、虚拟化。
  • 基金资助:

    装备预研基金资助项目(9140A04030213JB34001)。

Optimized fault tolerance method based on virtualization technology in simulated system

CHEN Zhijia, ZHU Yuanchang, DI Yanqiang, FENG Shaochong   

  1. Department of Electronics and Optical Engineering, Ordnance Engineering College, Shijiazhuang Hebei 050003, China
  • Received:2015-03-05 Revised:2015-04-11 Online:2015-08-10 Published:2015-08-14

摘要:

节点崩溃或者仿真资源不足导致的分布式仿真系统故障,降低了仿真系统可靠性。为保证系统容错效果,降低容错开销,提出了一种基于虚拟化技术的仿真系统容错方法,按照系统故障发生的位置,对不同类型故障动态采用不同类型的容错策略。分析了检查点容错策略的优化方法,给出了最优设置间隔;结合虚拟化技术的优势,解决了副本容错策略的节点选择、副本数量以及位置分布问题;同时,引入基于虚拟机迁移的容错策略,并将其作为检查点容错策略和副本容错策略的补充,以降低容错开销。通过仿真实验数据对比,分析了动态容错策略与普通容错策略的性能,可知动态容错策略保证了系统容错性能,容错开销也保持在较低水平。

关键词: 仿真系统, 容错, 虚拟化, 检查点, 副本, 虚拟机迁移

Abstract:

The breakdown of simulation nodes or shortage of simulation resources cause failure of distributed simulation system and lower down the reliability of simulation system. To improve fault tolerance performance and decrease the overhead of fault tolerance, a fault tolerance method based on virtualization technology was proposed. According to different failure locations, different fault tolerance methods were adopted. The optimization of checkpoint strategy was analyzed and the optimal interval was obtained. Including selection of nodes, the number of copies and the distribution of the copies, three main problems of backup strategy were concluded. The problems were solved through virtualization technology. Fault tolerance strategy based on virtual machine migration was proposed as a complementary of checkpoint strategy and backup strategy to decrease the overhead. The performance of dynamic fault tolerance strategy and normal fault tolerance strategy were evaluated through experiments. The experimental results prove that the proposed fault tolerance trategy is efficient and the overhead is kept at a low level.

Key words: simulated system, fault tolerance, virtualization, checkpoint, backup, virtual machine migration

中图分类号: