qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] COLO HA Project proposal
@ 2014-06-24  2:08 Hongyang Yang
  2014-07-01 12:12 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 11+ messages in thread
From: Hongyang Yang @ 2014-06-24  2:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: FNST-Gui Jianfeng, Dong Eddie, kvm

[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]

Background:
   COLO HA project is a high availability solution. Both primary
VM (PVM) and secondary VM (SVM) run in parallel. They receive the
same request from client, and generate response in parallel too.
If the response packets from PVM and SVM are identical, they are
released immediately. Otherwise, a VM checkpoint (on demand) is
conducted. The idea is presented in Xen summit 2012, and 2013,
and academia paper in SOCC 2013. It's also presented in KVM forum
2013:
http://www.linux-kvm.org/wiki/images/1/1d/Kvm-forum-2013-COLO.pdf
Please refer to above document for detailed information.

The attached was the architecture of kvm-COLO we proposed.
   - COLO Manager: Requires modifications of qemu
     - COLO Controller
         COLO Controller includes modifications of save/restore
       flow just like MC(macrocheckpoint), a memory cache on
       secondary VM which cache the dirty pages of primary VM
       and a failover module which provides APIs to communicate
       with external heartbead module.
     - COLO Disk Manager
         When pvm writes data into image, the colo disk manger
       captures this data and send it to the colo disk manger
       which makes sure the context of svm's image is consentient
       with the context of pvm's image.

   - COLO Agent("Proxy module" in the arch picture)
       We need an agent to compare the packets returned by
     Primary VM and Secondary VM, and decide whether to start a
     checkpoint according to some rules. It is a linux kernel
     module for host.

   - Other minor modifications
       We may need other modifications for better performance.

-- 
Thanks,
Yang.

[-- Attachment #2: kvm-colo-arch.jpg --]
[-- Type: image/jpeg, Size: 78793 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-08  6:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24  2:08 [Qemu-devel] [RFC] COLO HA Project proposal Hongyang Yang
2014-07-01 12:12 ` Dr. David Alan Gilbert
2014-07-03  3:42   ` Hongyang Yang
2014-07-04  8:31     ` Dong, Eddie
2014-07-04  8:35       ` Dr. David Alan Gilbert
2014-07-04  8:54         ` Dong, Eddie
2014-07-04 12:22           ` Dr. David Alan Gilbert
2014-07-04 15:55             ` Dong, Eddie
2014-07-08  6:06     ` Michael R. Hines
2014-07-08  6:26       ` Hongyang Yang
2014-07-04 11:22   ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).