Lines Matching +full:- +full:- +full:-

1 COLO-proxy
2 ----------
8 See the COPYING file in the top-level directory.
13 COLO-proxy is a part of COLO project. It is used
15 whether to do checkpoint. With COLO-proxy's help,
18 The filter-redirector, filter-mirror, colo-compare
19 and filter-rewriter compose the COLO-proxy.
23 COLO-Proxy is based on qemu netfilter and it's a plugin for qemu netfilter
24 (except colo-compare). It keep Secondary VM connect normally to
26 If the packet difference, notify COLO-frame to do checkpoint and send
33 +--------------------------------------------------------------+ +---------------------------…
34 | +----------------------------------------------------------+ | | +------------------------…
38 | +-------^--------------------------+-----------------------+ | | +---------------------+--…
41 | | +------------------------------------------------------+ | | …
43 | +----------+ +----------------------------+ | | | +------------------------…
45 | | | | +-----------------------------+ | | | | | …
47 | | +-----+--+-+ +-----v----+ +-----v----+ |pri +----+----+sec| | | | +------------+ +---+--…
49 … filter | | filter | | filter +------> colo <------+ +--------> filter +--> adjust | …
52 | | +----^-----+ +----+-----+ +----------+ | +---------+ | | | | +------------+ +------…
54 … | | | | +---------------------------------------------------…
55 | | | +--------------+ | | | | …
57 | | | +----------------> | | | +--------------------------------…
58 | +-----------------------------------------+ | | …
60 +--------------------------------------------------------------+ +---------------------------…
63 +--------+----------------------------v------------------------+
67 +--------------------------------------------------------------+
73 Tap --> Mirror Client Filter
80 Mirror Server Filter --> TCP Rewriter
89 Guest --> Redirect Server Filter
93 Redirect Server Filter --> COLO-Compare
94 COLO-compare receive primary guest packet then
100 COLO-Compare --> Another Redirector Filter
101 The redirector get packet from colo-compare by use
104 Redirector Filter --> Tap
109 Guest --> TCP Rewriter Filter
115 Redirect Client Filter --> Redirect Server Filter
120 Filter-mirror is a netfilter plugin.
124 Filter-redirector is a netfilter plugin.
132 +--------------+
136 indev +---------+ +----------> outdev
140 +--------------+
145 COLO-compare, we do packet comparing job.
148 COLO-compare needs two input chardevs and one output chardev:
149 primary_in=chardev1-id (source: primary send packet)
150 secondary_in=chardev2-id (source: secondary send packet)
151 outdev=chardev3-id
153 Filter-rewriter will rewrite some of secondary packet to make
165 -netdev tap,id=hn0,vhost=off
166 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66
167 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off
168 -chardev socket,id=compare1,host=3.3.3.3,port=9004,server=on,wait=off
169 -chardev socket,id=compare0,host=3.3.3.3,port=9001,server=on,wait=off
170 -chardev socket,id=compare0-0,host=3.3.3.3,port=9001
171 -chardev socket,id=compare_out,host=3.3.3.3,port=9005,server=on,wait=off
172 -chardev socket,id=compare_out0,host=3.3.3.3,port=9005
173 -object iothread,id=iothread1
174 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0
175 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out
176 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0
177 -object colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0,iothr…
180 -netdev tap,id=hn0,vhost=off
181 -device e1000,netdev=hn0,mac=52:a4:00:12:78:66
182 -chardev socket,id=red0,host=3.3.3.3,port=9003
183 -chardev socket,id=red1,host=3.3.3.3,port=9004
184 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0
185 -object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1
186 -object filter-rewriter,id=f3,netdev=hn0,queue=all
188 If you want to use virtio-net-pci or other driver with vnet_header:
191 -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
192 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66
193 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off
194 -chardev socket,id=compare1,host=3.3.3.3,port=9004,server=on,wait=off
195 -chardev socket,id=compare0,host=3.3.3.3,port=9001,server=on,wait=off
196 -chardev socket,id=compare0-0,host=3.3.3.3,port=9001
197 -chardev socket,id=compare_out,host=3.3.3.3,port=9005,server=on,wait=off
198 -chardev socket,id=compare_out0,host=3.3.3.3,port=9005
199 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0,vnet_hdr_support
200 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out,vnet_hdr_support
201 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0,vnet_hdr_support
202 -object colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0,vnet_…
205 -netdev tap,id=hn0,vhost=off
206 -device e1000,netdev=hn0,mac=52:a4:00:12:78:66
207 -chardev socket,id=red0,host=3.3.3.3,port=9003
208 -chardev socket,id=red1,host=3.3.3.3,port=9004
209 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0,vnet_hdr_support
210 -object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1,vnet_hdr_support
211 -object filter-rewriter,id=f3,netdev=hn0,queue=all,vnet_hdr_support
214 a.COLO-proxy must work with COLO-frame and Block-replication.
215 b.Primary COLO must be started firstly, because COLO-proxy needs
217 c.Filter-rewriter only rewrite tcp packet.