跨數(shù)據(jù)中心虛擬機在線遷移研究
發(fā)布時間:2018-03-14 13:22
本文選題:數(shù)據(jù)中心 切入點:虛擬機 出處:《西北師范大學》2013年碩士論文 論文類型:學位論文
【摘要】:虛擬化技術被用于數(shù)據(jù)中心的資源管理。虛擬機在線遷移機制,能夠使虛擬機和應用在不同的硬件資源之間移動,使數(shù)據(jù)中心的管理機制具有資源共享,資源調度,容災備份,動態(tài)整合等能力,提高整個數(shù)據(jù)中心服務質量,安全性以及資源的利用率。虛擬機在線遷移機制只能局限于局域網(wǎng)中,不同的虛擬機通過局域網(wǎng)共享集中存儲的虛擬機鏡像時,由于局域網(wǎng)中帶寬大,延遲低,能夠保證提供給用戶的服務質量。 在跨數(shù)據(jù)中心環(huán)境中,不僅需要管理一個數(shù)據(jù)中心內的資源,而且面臨統(tǒng)一管理地理位置上廣泛分布的多個數(shù)據(jù)中心的問題。由于數(shù)據(jù)中心之間網(wǎng)絡帶寬低,延遲高特征,在數(shù)據(jù)中心之間共享鏡像文件時,虛擬機需要進行遠程I/O訪問虛擬機鏡像,降低運行效率。因此,設計虛擬專用通道連接多個的數(shù)據(jù)中心,打破多個數(shù)據(jù)中心之間的邊界,利用其完善的安全技術保證數(shù)據(jù)中心在互聯(lián)之后的安全性;赬EN虛擬機遷移機制,設計了帶鏡像文件的虛擬機在線遷移,利用Qcow(Qemu copy on write)機制的鏡像文件具有的強擴展能力和模板鏡像的共享機制,虛擬機在遷移時不發(fā)送模板鏡像,不需要傳送GB級數(shù)量的鏡像文件。在內存迭代開始之前將Qcow文件的全部內容發(fā)送到目的節(jié)點對應的文件系統(tǒng)中,內存迭代過程中實時監(jiān)控虛擬機對Qcow文件的寫操作,記錄臟塊,每輪迭代結束后將內存臟頁和臟塊記錄一起發(fā)送到目的節(jié)點,目的節(jié)點接收數(shù)據(jù)后,調用內存映射和磁盤驅動將數(shù)據(jù)映射到對應的位置。并對內存迭代過程實施了優(yōu)化,減少虛擬機在重負載時迭代產生的臟頁,計算每條監(jiān)控記錄中文件內容的Hash值,保存在緩存中,相同Hash值的文件只發(fā)送一次,,減少傳送的數(shù)據(jù)量。 本文實現(xiàn)的跨數(shù)據(jù)中心的虛擬機在線遷移機制,在保證業(yè)務正常運行的前提下在數(shù)據(jù)中心之間實現(xiàn)虛擬機在線遷移,為數(shù)據(jù)中心之間的資源管理提供基礎方法。最好狀態(tài)下總體遷移時間在120s以內,宕機時間在5ms以內。但決定遷移總時間的關鍵因素是Qcow鏡像文件的大小,隨文件的增大而成比例增大。
[Abstract]:Virtualization technology is used in resource management of data center. Virtual machine online migration mechanism can make virtual machine and application move between different hardware resources, make the management mechanism of data center have resource sharing, resource scheduling, disaster recovery backup. Dynamic integration and other capabilities to improve the quality of service, security and resource utilization of the entire data center. Virtual machine online migration mechanism can only be confined to the local area network, different virtual machines share the centralized storage of virtual machine images through the local area network. Because of the large bandwidth and low delay in LAN, the quality of service provided to users can be guaranteed. In the cross-data center environment, not only the resources in one data center need to be managed, but also the problem of unified management of many widely distributed data centers in geographical location. When sharing mirroring files between data centers, virtual machines need remote I / O access to virtual machine images to reduce running efficiency. Therefore, virtual dedicated channels are designed to connect multiple data centers and break the boundary between multiple data centers. Using its perfect security technology to ensure the security of the data center after interconnection. Based on the migration mechanism of XEN virtual machine, the virtual machine online migration with mirror file is designed. The mirror file of Qcow(Qemu copy on write mechanism has the strong ability of expansion and the sharing mechanism of template image, the virtual machine does not send template image during migration. There is no need to transfer GB number of mirrored files. All the contents of Qcow files are sent to the file system corresponding to the destination node before the memory iteration begins. During the memory iteration process, real-time monitoring virtual machine writes to Qcow files and records dirty blocks. After each iteration, the dirty pages and dirty block records are sent to the destination node. After the destination node receives the data, the memory map and disk driver are called to map the data to the corresponding location, and the memory iteration process is optimized. It reduces the dirty pages generated by the virtual machine iterating over the heavy load, calculates the Hash value of the file contents in each monitoring record, and saves it in the cache. The files with the same Hash value are sent only once, thus reducing the amount of data transferred. The virtual machine online migration mechanism across the data center is implemented in this paper, which can realize the virtual machine online migration between the data centers under the premise of ensuring the normal operation of the business. Provides a basic approach to resource management between data centers. At best, the total migration time is within 120 s, and the downtime is less than 5 Ms. But the key factor to determine the total migration time is the size of the Qcow mirror file, The file increases proportionally with the increase of the file.
【學位授予單位】:西北師范大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP302
【參考文獻】
相關期刊論文 前2條
1 劉詩海;孫宇清;石維琪;高云偉;;面向可擴展集群環(huán)境的快速虛擬機遷移方法[J];東南大學學報(自然科學版);2011年03期
2 魏曉輝;蔣娜;郭慶南;李洪亮;;跨域虛擬網(wǎng)絡環(huán)境下虛擬機Live的遷移機制[J];吉林大學學報(理學版);2011年03期
本文編號:1611393
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1611393.html
最近更新
教材專著