All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] docs: fix COLO architecture diagram
@ 2016-11-01  3:38 Zhang Chen
  2016-11-01  6:25 ` Hailiang Zhang
  2016-11-15  7:31 ` Jason Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Zhang Chen @ 2016-11-01  3:38 UTC (permalink / raw)
  To: qemu devel, zhanghailiang, Amit Shah
  Cc: Jason Wang, Zhang Chen, Li Zhijian, eddie . dong

Fix COLO-Proxy part of COLO architecture diagram

Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
---
 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 ==
 
-- 
2.7.4

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

* Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram
  2016-11-01  3:38 [Qemu-devel] [PATCH] docs: fix COLO architecture diagram Zhang Chen
@ 2016-11-01  6:25 ` Hailiang Zhang
  2016-11-01  7:06   ` Zhang Chen
  2016-11-15  7:31 ` Jason Wang
  1 sibling, 1 reply; 5+ messages in thread
From: Hailiang Zhang @ 2016-11-01  6:25 UTC (permalink / raw)
  To: Zhang Chen, qemu devel, Amit Shah; +Cc: Jason Wang, Li Zhijian, eddie . dong

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 <zhangchen.fnst@cn.fujitsu.com>

Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>

All such patches can go through trivial branch.

Cc: qemu-trivial@nongnu.org

> ---
>   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 ==
>
>

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

* Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram
  2016-11-01  6:25 ` Hailiang Zhang
@ 2016-11-01  7:06   ` Zhang Chen
  2016-11-09  4:01     ` Zhang Chen
  0 siblings, 1 reply; 5+ messages in thread
From: Zhang Chen @ 2016-11-01  7:06 UTC (permalink / raw)
  To: Hailiang Zhang, qemu devel, Amit Shah
  Cc: Jason Wang, Li Zhijian, eddie . dong



On 11/01/2016 02:25 PM, Hailiang Zhang wrote:
> 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.

I will send some patch about COLO-Proxy combine with COLO-frame in the 
future.

>
> On 2016/11/1 11:38, Zhang Chen wrote:
>> Fix COLO-Proxy part of COLO architecture diagram
>>
>> Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
>
> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
>
> All such patches can go through trivial branch.
>
> Cc: qemu-trivial@nongnu.org

I think this patch about COLO architecture,
So, I didn't cc qemu-trivial.


Thanks
Zhang Chen

>
>> ---
>>   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 ==
>>
>>
>
>
>
> .
>

-- 
Thanks
zhangchen

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

* Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram
  2016-11-01  7:06   ` Zhang Chen
@ 2016-11-09  4:01     ` Zhang Chen
  0 siblings, 0 replies; 5+ messages in thread
From: Zhang Chen @ 2016-11-09  4:01 UTC (permalink / raw)
  To: Hailiang Zhang, qemu devel, Amit Shah
  Cc: Jason Wang, eddie . dong, Li Zhijian

Does anyone have any comments?

Ping....


Thanks

Zhang Chen


On 11/01/2016 03:06 PM, Zhang Chen wrote:
>
>
> On 11/01/2016 02:25 PM, Hailiang Zhang wrote:
>> 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.
>
> I will send some patch about COLO-Proxy combine with COLO-frame in the 
> future.
>
>>
>> On 2016/11/1 11:38, Zhang Chen wrote:
>>> Fix COLO-Proxy part of COLO architecture diagram
>>>
>>> Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
>>
>> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
>>
>> All such patches can go through trivial branch.
>>
>> Cc: qemu-trivial@nongnu.org
>
> I think this patch about COLO architecture,
> So, I didn't cc qemu-trivial.
>
>
> Thanks
> Zhang Chen
>
>>
>>> ---
>>>   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 ==
>>>
>>>
>>
>>
>>
>> .
>>
>

-- 
Thanks
zhangchen

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

* Re: [Qemu-devel] [PATCH] docs: fix COLO architecture diagram
  2016-11-01  3:38 [Qemu-devel] [PATCH] docs: fix COLO architecture diagram Zhang Chen
  2016-11-01  6:25 ` Hailiang Zhang
@ 2016-11-15  7:31 ` Jason Wang
  1 sibling, 0 replies; 5+ messages in thread
From: Jason Wang @ 2016-11-15  7:31 UTC (permalink / raw)
  To: Zhang Chen, qemu devel, zhanghailiang, Amit Shah; +Cc: eddie . dong, Li Zhijian



On 2016年11月01日 11:38, Zhang Chen wrote:
> Fix COLO-Proxy part of COLO architecture diagram
>
> Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
> ---
>   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 ==
>   

Applied to -net. Thanks

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

end of thread, other threads:[~2016-11-15  7:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-01  3:38 [Qemu-devel] [PATCH] docs: fix COLO architecture diagram Zhang Chen
2016-11-01  6:25 ` Hailiang Zhang
2016-11-01  7:06   ` Zhang Chen
2016-11-09  4:01     ` Zhang Chen
2016-11-15  7:31 ` Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.