摘要: |
针对测控系统监控服务器主备机切换后,因双机任务运行状态不完全一致,导致任务无法继续正常运行的问题,提出了一种基于节点同步的热备系统自动运行同步及恢复方法。首先,将任务自动运行流程按执行顺序划分为若干节点;其次,在监控服务器主备机部署Redis数据库,存储任务运行流程节点信息,并采用定时和突发发送方式由主机向备机同步节点信息;然后,引入任务是否首次执行标志,实现正在执行任务在主备服务器切换后正确执行;最后,设计针对性测试试验,对热备系统自动运行同步及恢复方法的有效性和正确性进行验证。试验结果表明,所提方法能够实现任务自动运行流程在热备系统间准确同步,并实现故障在热备系统间多次迁移,有效提高测控系统运行的可靠性和可用性,降低运维成本。 |
关键词: 测控系统 双机热备 自动运行 同步与恢复 |
DOI:10.20079/j.issn.1001-893x.230202001 |
|
基金项目: |
|
An Automatic Running Synchronization and Recovery Method of Hot Standby System Based on Node Synchronization |
WANG Tao,CHEN Xuejun,LI Zexi,YANG Xiaoyan,DENG Dexin,MENG Haitao,JIANG Hao |
(1.Xi’an Satellite Control Center,Xi’an 710043,China;2.Military Representative Bureau of Army Equipment Department in Xi’an,Xi’an 710032,China) |
Abstract: |
After the switching of the main and standby monitoring servers in TT&C system,the task may not operate normally due to the inconsistent task operation status in dual servers.Therefore,an automatic running synchronization and recovery method of hot standby system based on node synchronization is proposed.Firstly,task automatic running process is divided into certain nodes in execution order.Secondly,Redis database is deployed on dual servers to store task run process node information.At the same time,task node information of main server is synchronized from the host server to the standby server by means of timing transmission and burst transmission.Thirdly,the method introduces the sign of whether the task is first executed,which is used to realize the correct execution of the task after the main and standby server is switched.Finally,targeted test experiments are designed to verify the effectiveness and correctness of the proposed method for hot standby system.Results indicate that the proposed method can achieve accurate synchronization of tasks automatic running processes between hot standby system,achieve multiple migration of failures between hot standby system,improve the reliability and availability of TT&C system operation effectively,and reduce operation and maintenance costs. |
Key words: TT&C system hot standby automatic running synchronization and recovery |