docs: fix COLO architecture diagram

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>
Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
Zhang Chen 2016-11-01 11:38:12 +08:00 committed by Jason Wang
parent e79cd40680
commit a38299bf43
1 changed files with 37 additions and 35 deletions

View File

@ -42,41 +42,43 @@ 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. outbound packets until it has successfully synchronized the PVM state to the SVM.
Primary Node Secondary Node Primary Node Secondary Node
+------------+ +-----------------------+ +------------------------+ +------------+ +------------+ +-----------------------+ +------------------------+ +------------+
| | | HeartBeat |<----->| HeartBeat | | | | | | HeartBeat +<----->+ HeartBeat | | |
| Primary VM | +-----------|-----------+ +-----------|------------+ |Secondary VM| | Primary VM | +-----------+-----------+ +-----------+------------+ |Secondary VM|
| | | | | | | | | | | |
| | +-----------|-----------+ +-----------|------------+ | | | | +-----------|-----------+ +-----------|------------+ | |
| | |QEMU +---v----+ | |QEMU +----v---+ | | | | | |QEMU +---v----+ | |QEMU +----v---+ | | |
| | | |Failover| | | |Failover| | | | | | | |Failover| | | |Failover| | | |
| | | +--------+ | | +--------+ | | | | | | +--------+ | | +--------+ | | |
| | | +---------------+ | | +---------------+ | | | | | | +---------------+ | | +---------------+ | | |
| | | | VM Checkpoint |-------------->| VM Checkpoint | | | | | | | | VM Checkpoint +-------------->+ VM Checkpoint | | | |
| | | +---------------+ | | +---------------+ | | | | | | +---------------+ | | +---------------+ | | |
| | | | | | | | |Requests<--------------------------\ /-----------------\ /--------------------->Requests|
|Requests<---------------------------^------------------------------------------>Requests| | | | ^ ^ | | | | | | |
|Responses----------------------\ /--|--------------\ /------------------------Responses| |Responses+---------------------\ /-|-|------------\ /-------------------------+Responses|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-----------+ | | | | | | | +------------+ | | | | | | +-----------+ | | | | | | | | | | +----------+ | | |
| | | | COLO disk | | | | | | | | | COLO disk | | | | | | | | COLO disk | | | | | | | | | | | | COLO disk| | | |
| | | | Manager |-|-|--|--------------|--|->| Manager | | | | | | | | Manager +---------------------------->| Manager | | | |
| | | +|----------+ | | | | | | | +-----------|+ | | | | | | ++----------+ v v | | | | | v v | +---------++ | | |
| | | | | | | | | | | | | | | | | | |+-----------+-+-+-++| | ++-+--+-+---------+ | | | |
+------------+ +--|------------|-|--|--+ +---|--|--------------|--+ +------------+ | | | || COLO Proxy || | | COLO Proxy | | | | |
| | | | | | | | | | || (compare packet || | |(adjust sequence | | | | |
+-------------+ | +----------v-v--|--+ +---|--v-----------+ | +-------------+ | | | ||and mirror packet)|| | | and ACK) | | | | |
| VM Monitor | | | COLO Proxy | | COLO Proxy | | | VM Monitor | | | | |+------------+---+-+| | +-----------------+ | | | |
| | | |(compare packet) | | (adjust sequence)| | | | +------------+ +-----------------------+ +------------------------+ +------------+
+-------------+ | +----------|----^--+ +------------------+ | +-------------+ +------------+ | | | | +------------+
| VM Monitor | | | | | | VM Monitor |
+------------+ | | | | +------------+
+---------------------------------------+ +----------------------------------------+
| Kernel | | | | | Kernel | |
+---------------------------------------+ +----------------------------------------+
| | | | | | | |
+------------------|------------|----|--+ +---------------------|------------------+ +--------------v+ +---------v---+--+ +------------------+ +v-------------+
| Kernel | | | | | Kernel | |
+------------------|------------|----|--+ +---------------------|------------------+
| | | |
+--------------v+ +--------v----|--+ +------------------+ +v-------------+
| Storage | |External Network| | External Network | | Storage | | Storage | |External Network| | External Network | | Storage |
+---------------+ +----------------+ +------------------+ +--------------+ +---------------+ +----------------+ +------------------+ +--------------+
== Components introduction == == Components introduction ==
You can see there are several components in COLO's diagram of architecture. You can see there are several components in COLO's diagram of architecture.