Skip to content

Commit 8716d26

Browse files
committed
doc: Add an overview of SXM
Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
1 parent a56ab5a commit 8716d26

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

  • doc/content/xapi/storage

doc/content/xapi/storage/sxm.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ Title: Storage migration
2222

2323
## Overview
2424

25+
The core idea of storage migration is surprisingly simple: We have VDIs attached to a VM,
26+
and we wish to migrate these VDIs from one SR to another. This necessarily requires
27+
us to copy the data stored in these VDIs over to the new SR, which can be a long-running
28+
process if there are gigabytes or even terabytes of them. We wish to minimise the
29+
down time of this process to allow the VM to keep running as much as possible.
30+
31+
At a very high level, the SXM process really only consists of two stages: preparation
32+
and mirroring. The preparation is about getting the receiving host ready for the
33+
mirroring operation, and the mirroring is the actual connection setup for mirroring.
34+
Once the mirroring is established, it is a matter of checking the status of the
35+
mirroring and carry on with the follwoing VM migration.
36+
37+
The reality is more complex than what we had hoped for. For example, in SMAPIv1,
38+
the mirror establishment is quite an involved process and is itself divided into
39+
several stages, which will be discussed in more detail later on.
40+
2541

2642
## SXM Multiplexing
2743

0 commit comments

Comments
 (0)