mirror of https://gitee.com/openkylin/qemu.git
docs: Add COLO status diagram to COLO-FT.txt
This diagram make user better understand COLO. Suggested by Markus Armbruster. Signed-off-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
2518aec192
commit
8e640892ec
|
@ -110,6 +110,40 @@ Note:
|
||||||
HeartBeat has not been implemented yet, so you need to trigger failover process
|
HeartBeat has not been implemented yet, so you need to trigger failover process
|
||||||
by using 'x-colo-lost-heartbeat' command.
|
by using 'x-colo-lost-heartbeat' command.
|
||||||
|
|
||||||
|
== COLO operation status ==
|
||||||
|
|
||||||
|
+-----------------+
|
||||||
|
| |
|
||||||
|
| Start COLO |
|
||||||
|
| |
|
||||||
|
+--------+--------+
|
||||||
|
|
|
||||||
|
| Main qmp command:
|
||||||
|
| migrate-set-capabilities with x-colo
|
||||||
|
| migrate
|
||||||
|
|
|
||||||
|
v
|
||||||
|
+--------+--------+
|
||||||
|
| |
|
||||||
|
| COLO running |
|
||||||
|
| |
|
||||||
|
+--------+--------+
|
||||||
|
|
|
||||||
|
| Main qmp command:
|
||||||
|
| x-colo-lost-heartbeat
|
||||||
|
| or
|
||||||
|
| some error happened
|
||||||
|
v
|
||||||
|
+--------+--------+
|
||||||
|
| | send qmp event:
|
||||||
|
| COLO failover | COLO_EXIT
|
||||||
|
| |
|
||||||
|
+-----------------+
|
||||||
|
|
||||||
|
COLO use the qmp command to switch and report operation status.
|
||||||
|
The diagram just shows the main qmp command, you can get the detail
|
||||||
|
in test procedure.
|
||||||
|
|
||||||
== Test procedure ==
|
== Test procedure ==
|
||||||
1. Startup qemu
|
1. Startup qemu
|
||||||
Primary:
|
Primary:
|
||||||
|
|
Loading…
Reference in New Issue