[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram
From: |
Hailiang Zhang |
Subject: |
Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram |
Date: |
Tue, 1 Nov 2016 14:25:24 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Hmm, there are other contents in this file need to be updated,
for example, we support blockdev-add command for nbd now,
so we can convert the related hmp command to qmp command way.
But since we didn't integrate COLO frame with block replication
and proxy, It is OK to fix them later.
For COLO, the basic capability is still incomplete,
but now we got into 'Soft feature freeze' stage,
I'm wondering if it is possible at this point to combine
COLO frame with proxy and block replication which only needs
three or four patches that only touch colo related files ...
Or uses still can't test COLO feature in qemu 2.8.
Any ideas ? Thanks.
On 2016/11/1 11:38, Zhang Chen wrote:
Fix COLO-Proxy part of COLO architecture diagram
Signed-off-by: Zhang Chen <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
All such patches can go through trivial branch.
Cc: address@hidden
---
docs/COLO-FT.txt | 72 +++++++++++++++++++++++++++++---------------------------
1 file changed, 37 insertions(+), 35 deletions(-)
diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt
index 6282938..e289be2 100644
--- a/docs/COLO-FT.txt
+++ b/docs/COLO-FT.txt
@@ -41,41 +41,43 @@ identical responses to all client requests. Once the
differences in the outputs
are detected between the PVM and SVM, COLO withholds transmission of the
outbound packets until it has successfully synchronized the PVM state to the
SVM.
- Primary Node
Secondary Node
- +------------+ +-----------------------+ +------------------------+
+------------+
- | | | HeartBeat |<----->| HeartBeat | |
|
- | Primary VM | +-----------|-----------+ +-----------|------------+
|Secondary VM|
- | | | | |
|
- | | +-----------|-----------+ +-----------|------------+ |
|
- | | |QEMU +---v----+ | |QEMU +----v---+ | |
|
- | | | |Failover| | | |Failover| | |
|
- | | | +--------+ | | +--------+ | |
|
- | | | +---------------+ | | +---------------+ | |
|
- | | | | VM Checkpoint |-------------->| VM Checkpoint | | |
|
- | | | +---------------+ | | +---------------+ | |
|
- | | | | | | |
|
-
|Requests<---------------------------^------------------------------------------>Requests|
- |Responses----------------------\ /--|--------------\
/------------------------Responses|
- | | | | | | | | | | | |
|
- | | | +-----------+ | | | | | | | +------------+ | |
|
- | | | | COLO disk | | | | | | | | | COLO disk | | |
|
- | | | | Manager |-|-|--|--------------|--|->| Manager | | |
|
- | | | +|----------+ | | | | | | | +-----------|+ | |
|
- | | | | | | | | | | | | | |
|
- +------------+ +--|------------|-|--|--+ +---|--|--------------|--+
+------------+
- | | | | | | |
- +-------------+ | +----------v-v--|--+ +---|--v-----------+ |
+-------------+
- | VM Monitor | | | COLO Proxy | | COLO Proxy | | |
VM Monitor |
- | | | |(compare packet) | | (adjust sequence)| | |
|
- +-------------+ | +----------|----^--+ +------------------+ |
+-------------+
- | | | |
- +------------------|------------|----|--+
+---------------------|------------------+
- | Kernel | | | | | Kernel |
|
- +------------------|------------|----|--+
+---------------------|------------------+
- | | | |
- +--------------v+ +--------v----|--+ +------------------+
+v-------------+
- | Storage | |External Network| | External Network | |
Storage |
- +---------------+ +----------------+ +------------------+
+--------------+
+ Primary Node
Secondary Node
++------------+ +-----------------------+ +------------------------+
+------------+
+| | | HeartBeat +<----->+ HeartBeat | |
|
+| Primary VM | +-----------+-----------+ +-----------+------------+
|Secondary VM|
+| | | | |
|
+| | +-----------|-----------+ +-----------|------------+ |
|
+| | |QEMU +---v----+ | |QEMU +----v---+ | |
|
+| | | |Failover| | | |Failover| | |
|
+| | | +--------+ | | +--------+ | |
|
+| | | +---------------+ | | +---------------+ | |
|
+| | | | VM Checkpoint +-------------->+ VM Checkpoint | | |
|
+| | | +---------------+ | | +---------------+ | |
|
+|Requests<--------------------------\ /-----------------\
/--------------------->Requests|
+| | | ^ ^ | | | | | |
|
+|Responses+---------------------\ /-|-|------------\
/-------------------------+Responses|
+| | | | | | | | | | | | | | |
|
+| | | +-----------+ | | | | | | | | | | +----------+ | |
|
+| | | | COLO disk | | | | | | | | | | | | COLO disk| | |
|
+| | | | Manager +---------------------------->| Manager | | |
|
+| | | ++----------+ v v | | | | | v v | +---------++ | |
|
+| | | |+-----------+-+-+-++| | ++-+--+-+---------+ | | |
|
+| | | || COLO Proxy || | | COLO Proxy | | | |
|
+| | | || (compare packet || | |(adjust sequence | | | |
|
+| | | ||and mirror packet)|| | | and ACK) | | | |
|
+| | | |+------------+---+-+| | +-----------------+ | | |
|
++------------+ +-----------------------+ +------------------------+
+------------+
++------------+ | | | |
+------------+
+| VM Monitor | | | | | |
VM Monitor |
++------------+ | | | |
+------------+
++---------------------------------------+
+----------------------------------------+
+| Kernel | | | | | Kernel |
|
++---------------------------------------+
+----------------------------------------+
+ | | | |
+ +--------------v+ +---------v---+--+ +------------------+
+v-------------+
+ | Storage | |External Network| | External Network | |
Storage |
+ +---------------+ +----------------+ +------------------+
+--------------+
+
== Components introduction ==
- Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram,
Hailiang Zhang <=