淡江大學機構典藏:Item 987654321/102687
English  |  正體中文  |  简体中文  |  全文笔数/总笔数 : 62830/95882 (66%)
造访人次 : 4030642      在线人数 : 921
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
搜寻范围 查询小技巧:
  • 您可在西文检索词汇前后加上"双引号",以获取较精准的检索结果
  • 若欲以作者姓名搜寻,建议至进阶搜寻限定作者字段,可获得较完整数据
  • 进阶搜寻


    jsp.display-item.identifier=請使用永久網址來引用或連結此文件: https://tkuir.lib.tku.edu.tw/dspace/handle/987654321/102687


    题名: 改善雲端虛擬硬碟資料備份與恢復機制之研究
    其它题名: Improving the backup and rollback mechanism in cloud virtual disks
    作者: 翁偉欽;Wong, Wei-Chin
    贡献者: 淡江大學電機工程學系碩士班
    莊博任;Chuang, Po-Jen
    关键词: 備份;恢復;虛擬化;Snapshot;Xen;Virtualization;Backup;Rollback
    日期: 2014
    上传时间: 2015-05-04 10:01:54 (UTC+8)
    摘要: 網路的日益漸進,虛擬化技術已是在雲端儲存中十分實用的技術之一,然而也伴隨著許多的問題,如TASK分配、硬體IO輸出、檔案錯誤等問題。就檔案錯誤部分,為了解決該問題,供應商需不斷對虛擬化系統進行備份的動作,然而因備份需讓虛擬機器關機,故勢必會影響到使用者使用該系統的方便性,為了因應此狀況,提出了在不關機的狀態下進行備份的技術,這就是Snapshot。
    然而,Snapshot策略運行時,需不停對該系統檔案狀況做紀錄和複製,這些動作會影響硬體I/O輸出以及VCPU的TASK分配,造成虛擬化系統在讀寫效能上的影響。而如何在進行Snapshot策略時,盡量降低檔案讀寫效能的影響,並用Snapshot正確恢復到指定的檔案系統狀態,則是近期討論的主題之一。然而,許多策略已被提出,如Logic Volume Management(LVM)是針對檔案系統以Physical Extent(PE)為單位進行比對複製,並用此來對目前的檔案系統更動來進行恢復,此方式雖可順利恢復但卻導致無法恢復的狀況發生;Parallax是在檔案寫入時,將更動的資料區塊強行寫入新資料區塊並將舊資料區塊收集來生成Snapshot,恢復機制則同於LVM故仍有相同問題;SNPDisk則是檔案要寫入檔案系統前,利用共享空間將Memory中的檔案複製並生成Snapshot,而進行恢復機制時由原始的Snapshot依序往下進行恢復,恢復時遇到損壞的檔案則該檔案不進行恢復以避免系統發生崩潰。然而這些方法皆無顧慮到,當進行恢復機制時,如發生Snapshot損毀,應如何使檔案恢復到使用者所期待的檔案狀態。
    本論文對此提出較佳的解決方法,將Snapshot做增量備份,藉以將檔案恢復程度提昇,盡量使檔案恢復到指定的檔案狀態。所提出的策略主要有幾點:其一,做增量備份時,需盡量減低儲存空間消耗和檔案讀寫效能消耗;其二,進行Snapshot恢復時,如果發生Snapshot損毀時,才會進行修復動作;其三,我們的策略主要是強化SNPDisk所提出的方法,但並不降低其優勢。
    我們的策略研究於XEN虛擬化系統上,並會把近年以及提出的策略在XEN中進行評估。在Snapshot生成方面,將使用Postmark來進行讀寫效能損耗評估並依結果證實,我們的生成機制並不會過於消耗系統讀寫效能。而Snapshot恢復方面,將以C語言進行恢復程度模擬和恢復時間模擬並以結果證實,我們的恢復機制比其它的恢復機制在Snapshot損毀時擁有較好的恢復程度,以及我們的Snapshot恢復機制中增加修復條件判斷的必要性。
    With the development of the Internet, virtualization technology has become one of the useful cloud storage technologys. However, it is brought with several problems such as TASK allocation, hardware I/O, and file error etc. To solve the file error problems, suppliers need to constantly duplicate the visualization system. Nonetheless, the duplication has to be conducted when the machine is off, which absolutely affect user’s convenience. Under this circumstance, Snapshot technology is proposed, which allows the duplication work while the machine is still on.
    Nevertheless, as Snapshot works, it has to endlessly record and duplicate the system’s file state, which influences hardware I/O and VCPU’s TASK allocation, and causes deficiencies in the visualization system’s read and write performance. Thus, ways to avoid deficiencies in the system’s read and write performance when performing Snapshot method and using Snapshot to recover the file system to the certain state has become the topic for discussion. Many methods are already proposed such as Logic Volume Management (LVM), which is using Physical Extent (PE) as the unit of file matching duplication, and to recover the changes in the file system. LVM does help recover the file system but sometimes it fails. As to Parallax, it compulsively writes in the new data block with the altered data block and then collects the old data block as Snapshot, and the recovery mechanism is alike to LVM so the same problem exists. SNPDisk uses the shared space to replicate files in Memory and generates into Snapshot before files are written in the system. The recovery mechanism is conducted in turn by the original Snapshot, in order to avoid system breakdown, the damaged files won’t be recovered. But, the mentioned methods above all neglect that, when conducting recovery mechanism, what should be done to fit the user’s expectation in case the Snapshot breaks down.
    This thesis aims to propose a better solution: doing incremental backups for Snapshot to enhance files recovery, and recovering files to specified state to the best. The proposed methods are: first, to minimize the consumption of the storage space and the read and write performance; second, when Snapshot rolls back, the recovery executes only when Snapshot breaks down; third, our method is primarily to strengthen the SNPDisk method without degrading its superiority.
    Our method is to research XEN visualization system, and will take methods proposed in recent years as evaluating factor within XEN. In the generation of Snapshot, we will use Postmark to evaluate the consumption of read and write performance, and to confirm that our generation mechanism doesn’t over consume the system’s read and write performance in accordance with the experiment result. In the Snapshot recovery, we will conduct recovery level simulation and recovery time simulation with C programming language, and to confirm our recovery mechanism is better than others when the Snapshot breaks down, and the necessity of adding factors of recovery conditions in.
    显示于类别:[電機工程學系暨研究所] 學位論文

    文件中的档案:

    档案 大小格式浏览次数
    index.html0KbHTML137检视/开启

    在機構典藏中所有的数据项都受到原著作权保护.

    TAIR相关文章

    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library & TKU Library IR teams. Copyright ©   - 回馈