首页 | 官方网站   微博 | 高级检索  
     

MooseFS热备元数据节点设计与实现
引用本文:林炳东,赵旦谱,台宪青.MooseFS热备元数据节点设计与实现[J].计算机工程与应用,2019,55(13):72-77.
作者姓名:林炳东  赵旦谱  台宪青
作者单位:中国科学院物联网研究发展中心 智慧城市与智能交通研究中心,江苏 无锡 214135 2.中国科学院大学 微电子学院,北京 101407 3.中国科学院电子学研究所 中国科学院空间信息处理与应用系统技术重点实验室,北京 100190 4.中国科学院电子学研究所 苏州研究院地理空间信息系统研究室,江苏 苏州 215121;中国科学院电子学研究所 苏州研究院地理空间信息系统研究室,江苏 苏州,215121
基金项目:中国科学院战略性先导科技专项
摘    要:针对MooseFS元数据节点的单点故障问题,对MooseFS源码进行改造,为其增加一个热备的备元数据节点,并通过主备之间同步元数据,备节点回放操作日志等技术使得备元数据节点内存中的元数据时刻跟主元数据节点保持一致。当主元数据节点发生故障切换到备元数据节点后,备元数据节点无需从本地加载元数据即可快速接替主元数据节点对外提供服务。测试结果表明,备元数据节点本地和内存中的元数据均与主元数据节点保持一致,且故障恢复时间小于1s。

关 键 词:MooseFS元数据节点  热备  元数据  数据一致性  日志回放

Design and Implementation of MooseFS Hot Standby Master
LIN Bingdong,ZHAO Danpu,TAI Xianqing.Design and Implementation of MooseFS Hot Standby Master[J].Computer Engineering and Applications,2019,55(13):72-77.
Authors:LIN Bingdong  ZHAO Danpu  TAI Xianqing
Affiliation:(Research Center of Intelligent City and Intelligent Transportation,CAS R&D Center for Internet of Things,Wuxi,Jiangsu 214135,China;School of Microelectronics,University of Chinese Academy of Sciences,Beijing 101407,China;Key Laboratory of Technology in Geospatial Information Processing and Application System,Institute of Electronics,Chinese Academy of Sciences,Beijing 100190,China;Laboratory of Geospatial Information Systems,Institute of Electronics,Chinese Academy of Sciences,Suzhou,Jiangsu 215121,China)
Abstract:Aiming at the single point of failure problem of the MooseFS master, a hot standby master is added for MooseFS through modifying the source code. By synchronizing the metadata between the primary and standby master and the standby master replay log, the standby master’s metadata in memory are always consistent with the master’s. After the primary master fails over to the standby master, the standby master can quickly take over services from the primary master without loading the metadata from the local. Test results show that the metadata of the standby master in the local and in memory are consistent with the primary master, and the time of failure recovery is less than 1 second.
Keywords:MooseFS master  hot standby  metadata  data consistency  log replay  
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号