请输入您要查询的百科知识:

 

词条 Migration (virtualization)
释义

  1. Subjective effects

  2. Objective effects

  3. Relation to failover

  4. References

{{Multiple issues|{{More references|date=December 2014}}{{Expert-subject|date=May 2012}}
}}

In the context of virtualization, where a guest simulation of an entire computer is actually merely a software virtual machine (VM) running on a host computer under a hypervisor, migration (also known as teleportation[1]) is the process by which a running virtual machine is moved from one physical host to another, with little or no disruption in service.

Subjective effects

Ideally, the process is completely transparent, resulting in no disruption of service (or downtime). In practice, there is always some minor pause in availability, though it may be low enough that only hard real-time systems are affected. Virtualization is far more frequently used with network services and user applications, and these can generally tolerate the brief delays which may be involved. The perceived impact, if any, is similar to a longer-than-usual kernel delay.

Objective effects

The actual process is heavily dependent on the particular virtualization package in use, but in general, the process is as follows:

  1. Regular snapshots of the VM (its simulated hard disk storage, its memory, and its virtual peripherals) are taken in the background by the hypervisor, or by a set of administrative scripts.
  2. Each new snapshot adds a differential overlay file to the top of a stack that, as a whole, fully describes the machine. Only the topmost overlay can be written to.
  3. Since the older overlays are read-only, they are safe to copy to another machine—the backup host. This is done at regular intervals, and each overlay need only be copied once.
  4. When a migration operation is requested, the virtual machine is paused, and its current state is saved to disk.
  5. These new, final overlay files are transferred to the backup host.
  6. Since this new current state consists only of changes made since the last backup synchronization, for many applications there is very little to transfer, and this happens very quickly.
  7. The hypervisor on the new host resumes the guest virtual machine.
  8. Ideally, the administrative scripts resume backup operations, the new host becomes the primary, and the previous host now receives the backup copies, readying it for a subsequent migration operation.

Note that in practice, regular maintenance operations are required to "merge down" the snapshot stack into a more manageable number of files, to improve performance and optimize storage (redundant overwrites are merged out).

Relation to failover

Migration is similar to the failover capability some virtualization suites provide. In true failover, the host may have suddenly completely failed, which precludes the latest state of the VM having been copied to the backup host. However, the backup host has everything except for the very latest changes, and may indeed be able to resume operation from its last known coherent state.

Because the operations are so similar, systems that provide one capability may provide the other.

References

1. ^{{cite web | url = http://www.eweek.com/c/a/IT-Infrastructure/Sun-Brings-Teleportation-to-VirtualBox-Virtualization-Software-209485/ | title = Sun Brings 'Teleportation' to VirtualBox Virtualization Software | publisher = eWeek.com | date = 30 Nov 2009 | accessdate = 24 Apr 2012}}

2 : Computer networking|Fault-tolerant computer systems

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 23:38:02