一种基于Docker的灾难恢复方案
首发时间:2017-12-07
摘要:目前的灾难备份系统大多是在异地建立同等规模的数据中心,或者采用云灾备的方式。异地数据中心灾备对于资源浪费非常严重,需要耗费大量成本,而目前的云灾备大多都是基于虚拟机层面的,相较异地数据中心灾备资源利用率有了很大提高,但是仍然有很大的可提升空间。为了解决以上科学问题,本文首次提出将Docker与灾备相结合。本文的灾难恢复方案从两个方面展开,一是灾备中心资源调度模块,将Docker容器的调度问题归为一类特殊的装箱问题,从而提出一种资源预分配的调度算法,进一步减少宿主机的个数,提高资源利用率,并通过改进算法降低灾难恢复的时间开销;二是故障切换模块,通过反向代理对生产中心进行监控,并在灾难发生后通过更改配置,顺利切换到灾备中心,保证业务的连续性。最后,本文对该方案进行了功能和性能测试。
关键词: 虚拟化 Docker 灾难恢复 资源调度 故障切换
For information in English, please click here
A Disaster Recovery Scheme Based on Docker
Abstract:At present, the disaster recovery system is mostly established as the same size of the production center in different places, or building a disaster recovery system on cloud. It\'s a serious problem that resources waste in the disaster recovery system of remote data center, which causesextra great cost.The cloud disaster recovery system on cloud is mostly based on virtual machineand has been greatly improvedresource utilizationcompared to a disaster recovery system of remote data center, but the promotion space is relatively large. In order to solve the above problems of science, a combination scheme of Docker and disaster recovery system is presented in this paper. This disaster recovery shemehas two aspects, the first one is the resource scheduling module in disaster recovery center, the scheduling problem of Docker container is a kind of special packing problem, thenthis paper proposed a novel scheduling algorithm for pre allocation of resources, to further reduce the number of hosts, improve resource utilization, and reduce the overhead of disaster recovery time; the second one is the fault switching module, this module plan to monitor the production center through the reverse proxy, and switch to the disaster recovery center smoothly afer the disaster by changing the configuration to ensure business continuity. Finally, the function and performance of the scheme are tested.
Keywords: Virtualization Docker Disaster recovery Resource scheduling failover
基金:
引用
No.****
同行评议
勘误表
一种基于Docker的灾难恢复方案
评论
全部评论0/1000