| With the rapid development of the information,a new generation of production centers mostly adopt centralized processing and storage methods,once the disaster happens to the production center,which will cause enormous economic losses,so to improve the construction of disaster recovery system has become particularly important.Most of the current disaster recovery system is established as the same size of the data center in different places,or on the cloud.The waste of resources of the remote disaster recovery system is very serious,building a remote disaster recovery system needs to spend a lot of cost,and under normal circumstances,the idle resources is a great waste,the disaster recovery system on cloud is mostly based on the virtual machine,and still has large space to improve in startup speed and resource utilization.To solve the above problems,taking the advantages of Docker,this thesis presents a combination scheme of Docker and disaster recovery system,and this thesis provides a Virtual heterogeneous computing disaster recovery scheme based on Docker.This thesis designs the overall framework of heterogeneous disaster recovery system based on Docker,and elaborates the design and implementation scheme of each module.By building the image registry,the two centers obtain the latest image from the image registry,thus ensuring the container images in the two centers are the same;in addition,the database replication technology is used to ensure the consistency of data in the two centers.Then,a disaster monitoring and switching scheme is designed and proposed.The disaster is detected in time and the switching of network and business is completed.Finally,in the resource scheduling module,the resource scheduling problem in the disaster recovery center is viewed as a kind of special packing problem,combining with the disaster scene,and basing on best fit descending algorithm,a scheduling algorithm of resource pre allocation is proposed,which calculates the lest hosts which are required in disaster recovery center,and the mapping relations between hosts and Docker containers,so as to improve the resources utilization,and to reduce the time complexity through the optimization of the algorithm,further to shorten the time for disaster recovery.Finally,this thesis tests the capability of each module,and verifies the performance advantages of heterogeneous disaster recovery scheme based on Docker. |