Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine
碩士 === 國立中央大學 === 資訊工程學系 === 104 === Virtual machine fault tolerance (VMFT) is a technology enabling continuous execution upon hardware/software failures, and it thus can be used to protect virtualized, critical software services. There are two ways to implement VMFT. The first one uses a continuous...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2016
|
Online Access: | http://ndltd.ncl.edu.tw/handle/12159849126375856102 |
id |
ndltd-TW-104NCU05392095 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-104NCU053920952017-07-09T04:30:34Z http://ndltd.ncl.edu.tw/handle/12159849126375856102 Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine 利用不定性事件記錄與重播之技術實現KVM虛擬機器自動容錯之研究 Jin-Wei Shang 商晉瑋 碩士 國立中央大學 資訊工程學系 104 Virtual machine fault tolerance (VMFT) is a technology enabling continuous execution upon hardware/software failures, and it thus can be used to protect virtualized, critical software services. There are two ways to implement VMFT. The first one uses a continuous-checkpointing strategy, in which a backup virtual machine (VM) keeps receiving the latest VM checkpoint from the protected VM. The other one uses a log-and-replay strategy, in which all events in the protected VM are recorded and the recorded events are turned into deterministic events for replay in the backup VM. Once the protected VM fails, the backup VM replaces the role of the protected VM immediately to minimize service downtime. This research aims to provide a log-and-replay-based mechanism for VMFT over Kernel-based Virtual Machine (KVM). Before entering the phase of VMFT, the proposed mechanism creates the backup VM by live cloning the protected VM. Then, the two VMs enter the fault tolerance phase, in which they synchronize periodically. In each synchronization epoch, the proposed mechanism monitors the non-deterministic events happening on the protected VM, and identifies the logical time along with the parameters of the events. It then transfers the logged data to the backup VM for event replay. Upon reception of the data, the backup VM sets instruction break points at the right place and starts execution. It injects each logged event when reaches the corresponding break point. The backup VM signals the protected VM when it finishes. When the protected VM fails during the fault tolerance phase, the backup VM is responsible to detect such a failure and to replace the role of the protected VM. Wei-Jen Wang 王尉任 2016 學位論文 ; thesis 53 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立中央大學 === 資訊工程學系 === 104 === Virtual machine fault tolerance (VMFT) is a technology enabling continuous execution upon hardware/software failures, and it thus can be used to protect virtualized, critical software services. There are two ways to implement VMFT. The first one uses a continuous-checkpointing strategy, in which a backup virtual machine (VM) keeps receiving the latest VM checkpoint from the protected VM. The other one uses a log-and-replay strategy, in which all events in the protected VM are recorded and the recorded events are turned into deterministic events for replay in the backup VM. Once the protected VM fails, the backup VM replaces the role of the protected VM immediately to minimize service downtime. This research aims to provide a log-and-replay-based mechanism for VMFT over Kernel-based Virtual Machine (KVM). Before entering the phase of VMFT, the proposed mechanism creates the backup VM by live cloning the protected VM. Then, the two VMs enter the fault tolerance phase, in which they synchronize periodically. In each synchronization epoch, the proposed mechanism monitors the non-deterministic events happening on the protected VM, and identifies the logical time along with the parameters of the events. It then transfers the logged data to the backup VM for event replay. Upon reception of the data, the backup VM sets instruction break points at the right place and starts execution. It injects each logged event when reaches the corresponding break point. The backup VM signals the protected VM when it finishes. When the protected VM fails during the fault tolerance phase, the backup VM is responsible to detect such a failure and to replace the role of the protected VM.
|
author2 |
Wei-Jen Wang |
author_facet |
Wei-Jen Wang Jin-Wei Shang 商晉瑋 |
author |
Jin-Wei Shang 商晉瑋 |
spellingShingle |
Jin-Wei Shang 商晉瑋 Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine |
author_sort |
Jin-Wei Shang |
title |
Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine |
title_short |
Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine |
title_full |
Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine |
title_fullStr |
Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine |
title_full_unstemmed |
Using Non-Deterministic Event Log and Replay to Support Virtual Machine Fault Tolerance of Kernel-based Virtual Machine |
title_sort |
using non-deterministic event log and replay to support virtual machine fault tolerance of kernel-based virtual machine |
publishDate |
2016 |
url |
http://ndltd.ncl.edu.tw/handle/12159849126375856102 |
work_keys_str_mv |
AT jinweishang usingnondeterministiceventlogandreplaytosupportvirtualmachinefaulttoleranceofkernelbasedvirtualmachine AT shāngjìnwěi usingnondeterministiceventlogandreplaytosupportvirtualmachinefaulttoleranceofkernelbasedvirtualmachine AT jinweishang lìyòngbùdìngxìngshìjiànjìlùyǔzhòngbōzhījìshùshíxiànkvmxūnǐjīqìzìdòngróngcuòzhīyánjiū AT shāngjìnwěi lìyòngbùdìngxìngshìjiànjìlùyǔzhòngbōzhījìshùshíxiànkvmxūnǐjīqìzìdòngróngcuòzhīyánjiū |
_version_ |
1718494612034682880 |