跳到主要內容

簡易檢索 / 詳目顯示

研究生: 林冠余
Guan-Yu Lin
論文名稱: 實體系統執行程序至虛擬平台之動態遷移
Live Migration of Running Program from Physical Platform to Virtual Environment
指導教授: 曾黎明
Li-Ming Tseng
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 資訊工程學系
Department of Computer Science & Information Engineering
畢業學年度: 97
語文別: 中文
論文頁數: 44
中文關鍵詞: 動態遷移虛擬機器虛擬技術
外文關鍵詞: live migration, virtual machines, virtualization technology
相關次數: 點閱:7下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 虛擬技術有助於使用者在運行於實體硬體的作業系統(Host OS)中創造另一個虛擬的硬體環境,並能建立可執行客端作業系統(Guest OS)的虛擬機器(Virtual Machine)。虛擬機器中的客端作業系統將會使用虛擬環境技術提供的虛擬硬體裝置,如同擁有自己專屬的硬體環境。在此技術下,系統的安全性、資源分配及群集系統的管理效率都能大幅提升。
    在現今效能不斷提升的硬體設備的支援下,使用虛擬技術是非常實際且確實能發揮功效的;虛擬平台的安裝也是非常容易就能達成的動作。但考慮到現存運行於實體硬體的作業系統,若要將這些服役中的系統做平台的轉移,目前可行的方式唯有重新安裝作業系統和重新佈署應用程式。明確地,如此方式並不能被現存的運作中的機器直接又高效率地採用。
    本論文提出一個將執行於實體機器上的作業系統動態遷移至虛擬平台的方案,並詳細討論其中步驟,同時研究各步驟之可行性。透過此方案提供的動態遷移能力-搬移過程中可保持系統及運作於其上方之各應用程式之執行-許多不能容忍作業中斷之系統,如:需長時間運作的科學運算、即時回應的網路服務…等等,便能保持先前之運作進度,同時將系統運作平台從實體機器上切換至虛擬環境。


    Virtualization technology helps user create a virtual environment which contains virtual machine that able to execute guest OS on the operating system currently running on a physical platform. Guest OS inside the virtual machine will use the virtual hardware device provided by virtual environment, just like a exclusive hardware environment for it. With sheltering of such technique, the security of system, resource allocation and management of cluster systems can significantly improve.
    With supports of hardware that performance increasing every day, the applying of virtual technology is indeed very practical and effective; virtual platform installation is also very easy to take action. however, taking into account the existing operating system running on the physical hardware, at present the only feasible way to switch platform from physical to virtual, is to reinstall whole operating system and re-deployment all applications. Clearly, this approach cannot be directly, effectively and efficiently use by the operation system on the existing machine.
    This paper present a solution for lively migrating of running operating system from physical platform to virtual environment, and discussed in detail the steps in which to study the feasibility of the various steps. provided through the program dynamics of migration - in progressing of moving, the process and operating system can maintain its execution - many cannot tolerate disruption of system operations, such as: the operation takes a long time scientific computing, real-time response to network services ... and so on, will be able to maintain the progress of the previous operation, at the same time, the system platform switch from the physical to the virtual machine environment.

    摘要 i Abstract ii 誌謝 iii 目錄 iv 圖目錄 vi 第一章 緒論 1 1.1 研究背景 1 1.2 研究動機 1 1.3 論文架構 3 第二章 相關研究 4 2.1 虛擬機器 4 2.2 虛擬系統遷移技術 9 2.3 虛擬系統動態遷移技術 10 2.4 現有的作業系統動態遷移技術 13 2.4.1 Xen的動態遷移 13 2.4.2 Nomadic Operating Systems 15 2.4.3 Self-migration of Operating Systems 15 2.5 儲存裝置遷移技術 16 2.6 程序檢查點製作工具 16 2.6.1 DMTCP 17 第三章 系統設計和架構 23 3.1 目標 23 3.2 系統設計卅分析 23 3.2.1 遷移底層的差異問題 24 3.2.2 動態遷移的實踐 26 3.3 系統架構 27 3.4 系統實作 30 3.4.1 DMTCP之修改 30 3.4.2 其餘系統功能 31 3.4.3 系統操作範例 32 第四章 效能評估 34 4.1 實驗環境 34 4.2 系統初始化所需時間 34 4.3 程序動態遷移所需時間 35 4.4 以實際動態遷移一個編輯器為實例 35 第五章 討論及未來方向 37 第六章 結論 39 參考文獻 40 附錄:研究論文計畫口試建議改進事項 44

    [1] J. Liu, W. Huang, B. Abali, and D. Panda. High performance vmm-bypass i/o in virtual machines. In USENIX Conference, June 2006.
    [2] H. Raj and K. Schwan. Implementing a scalable self-virtualizing network interface on a multicore platform. In Workshop on the Interaction between Operating Systems and Computer Architecture, Oct. 2005.
    [3] C. Clark, K. Fraser, S. Hand, J. G. Hansen, E. Jul, C. Limpach, I. Pratt, and A. Warfield. Live Migration of Virtual Machines. In Proceedings of the 2nd ACM/USENIX Symposium on Networked Systems Design and Implementation (NSDI), Boston, MA, May 2005.
    [4] B. H. Wellenhoff, H. Lichtenegger and J. Collins, Global Positions System: Theory and Practice, Fourth Edition. Springer Verla
    [5] Uhlig, R.; Neiger, G.; Rodgers, D.; Santoni, A.L.; Martins, F.C.M.; Anderson, A.V.; Bennett, S.M.; Kagi, A.; Leung, F.H.; Smith, L “Intel virtualization technology,” IEEE Computer, Volume 38, Issue 5, May 2005 Page(s):48 – 56
    [6] Rosenblum, M. Garfinkel, T. “Virtual machine monitors: current technology and future trends,” IEEE Computer,May 2005 Volume: 38 , Issue: 5 pp 39 – 47
    [7] Whitaker, A.; Cox, R.S.; Shaw, M.; Gribble, S.D “Rethinking the design of virtual machine monitors,” IEEE Computer, Volume 38, Issue 5, May 2005 Page(s):57 – 62
    [8] History of Virtual Machine, http://www.cs.gmu.edu/cne/itcore/virtualmachine/index.htm
    [9] Smith, J.E.; Ravi Nair “The architecture of virtual machines,” Computer, Volume 38, Issue 5, May 2005 Page(s): 32-38
    [10] A. Kivity, Y. Kamay, D. Laor, U. Lublin, and A. Liguori. kvm: the Linux Virtual Machine Monitor. In Proc. Linux Symposium, 2007.
    [11] D. Abramson, J. Jackson, S. Muthrasanallur, G. Neiger, G. Regnier, R. Sankaran, I. Schoinas, R. Uhlig, B. Vembu, and J. Wiegert. Intel Virtualization Technology for Directed I/O. Intel Technology Journal, 10(3), Aug. 2006.
    [12] Qemu Open source processors emulator, http://fabrice.bellard.free.fr/qemu
    [13] Vmware Server, http://www.vmware.com/products/server/
    [14] Xen, home page: http://www.xensource.com/
    [15] KVM, home page: http://www.linux-kvm.org/
    [16] D. Milojicic, F. Douglis, Y. Paindaveine, R. Wheeler, and S. Zhou. Process migration. ACM Computing Surveys, 32(3):241?299, 2000.
    [17] VMware, Inc. 3401 Hillview Ave Palo Alto. "VMware Server 2 - A Risk-Free Way to Get Started with Virtualization" www.vmware.com
    [18] E. Anderson, M. Hobbs, K. Keeton, S. Spence, M. Uysal, and A. Veitch. Hippodrome: running circles around storage administration. In Proceedings of the First Usenix Conference on File and Storage Technologies (FAST), January 2002.
    [19] Jacob G. Hansen and Asger K. Henriksen. Nomadic operating systems. Master''s thesis, Dept. of Computer Science, University of Copenhagen, Denmark, 2002.
    [20] D. Milojicic, F. Douglis, Y. Paindaveine, R. Wheeler, and S. Zhou. Process migration. ACM Computing Surveys, 32(3):241?299, 2000.
    [21] C. P. Sapuntzakis, R. Chandra, B. Pfaff, J. Chow, M. S. Lam, and M.Rosenblum. Optimizing the migration of virtual computers. In Proc. of the 5th Symposium on Operating Systems Design and Implementation (OSDI-02), December 2002.
    [22] M. Kozuch and M. Satyanarayanan. Internet suspend/ resume. In Proceedings of the IEEE Workshop on Mobile Computing Systems and Applications, 2002.
    [23] Andrew Whitaker, Richard S. Cox, Marianne Shaw, and Steven D. Gribble. Constructing services with interposable virtual hardware. In Proceedings of the First Symposium on Networked Systems Design and Implementation (NSDI ''04), 2004.
    [24] E. Zayas. Attacking the process migration bottleneck. In Proceedings of the eleventh ACM Symposium on Operating systems principles, pages 13?24. ACM Press, 1987.
    [25] Marvin M. Theimer, Keith A. Lantz, and David R. Cheriton. Preemptable remote execution facilities for the V-system. In Proceedings of the tenth ACM Symposium on Operating System Principles, pages 2?12. ACM Press, 1985.
    [26] C. Zamfir, C. Perkins, and P. Dickman, Live Migration of Virtual Block Devices, EuroSys 2007, Lisbon, Portugal
    [27] BRADFORD, R., KOTSOVINOS, E., FELDMANN, A., AND SCHI ‥OBERG, H. Live wide-area migration of virtual machines including local persistent state. In VEE ’07: Proceedings of the 3rd international conference on Virtual execution environments (New York, NY, USA, 2007), ACM Press, pp. 169–179.
    [28] Y. Luo, B. Zhang, X. Wang, Z. Wang, and Y. Sun, “Live and incremental whole-system migration of virtual machines using block-bitmap,” in Proceedings of Cluster 2008: IEEE International Conference on Cluster Computing. IEEE Computer Society, 2008.
    [29] E. Roman, “A Survey of Checkpoint/Restart Implementations”, Technical Report, Berkeley Labs, 2002
    [30] J Ansel, MA Cambridge, K Arya, G Cooperman. DMTCP: Transparent Checkpointing for Cluster Computations and the Desktop - people.csail.mit.edu
    [31] Espen Skoglund, Christian Ceelen, and Jochen Liedtke. Transparent orthogonal checkpointing through user-level pagers. In Revised Papers from the 9th International Workshop on Persistent Object Systems, pages 201{214. SpringerVerlag, 2001.
    [32] Jacob G. Hansen and Eric Jul. Self-migration of operating systems. In Proceedings of the 11th ACM SIGOPS European Workshop (EW 2004), pages 126-130, 2004.
    [33] GNU nano: http://www.nano-editor.org/
    [34] Michael Rieker, Jason Ansel, and Gene Cooperman. Transparent user-level checkpointing for the Native POSIX Thread Library for Linux. In Proc. of Parallel and Distributed Processing Techniques and Applications (PDPTA-06), pages 492–498, 2006.

    QR CODE
    :::