You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/content/xenopsd/walkthroughs/VM.migrate.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ that we will describe in the documentation are:
28
28
- PCI.plug
29
29
- VM.set_domain_action_request
30
30
31
-
The command have serveral parameters such as: should it be ran asynchronously,
32
-
should it be forwared to another host, how arguments should be marshalled and
31
+
The command has several parameters such as: Should it be started asynchronously,
32
+
should it be forwarded to another host, how arguments should be marshalled and
33
33
so on. A new thread is created by [xapi/server_helpers.ml](https://github.com/xapi-project/xen-api/blob/7ac88b90e762065c5ebb94a8ea61c61bdbf62c5c/ocaml/xapi/server_helpers.ml#L55)
34
34
to handle the command asynchronously. At this point the helper also check if
35
35
the command should be passed to the [message forwarding](https://github.com/xapi-project/xen-api/blob/master/ocaml/xapi/message_forwarding.ml)
@@ -76,26 +76,26 @@ After checking with Qemu that the VM is suspendable we can start the migration.
76
76
77
77
As for *hooks*, commands to source domain are sent using [stunnel](https://github.com/xapi-project/xen-api/tree/master/ocaml/libs/stunnel) a daemon which
78
78
is used as a wrapper to manage SSL encryption communication between two hosts on the same
79
-
pool. To import metada an XML RPC command is sent to the original domain.
79
+
pool. To import the metadata, an XML RPC command is sent to the original domain.
80
80
81
-
Once imported it will give us a reference id and will allow to build the new domain
81
+
Once imported, it will give us a reference id and will allow building the new domain
82
82
on the destination using the temporary VM uuid `XXXXXXXX-XXXX-XXXX-XXXX-000000000001`
83
83
where `XXX...` is the reference id of the original VM.
84
84
85
85
## Setting memory
86
86
87
-
One of the first thing to do is to setup the memory. The backend will check that there
87
+
One of the first thing to do is to set up the memory. The backend will check that there
88
88
is no ballooning operation in progress. At this point the migration can fail if a
89
89
ballooning operation is in progress and takes too much time.
90
90
91
-
Once memory checked the daemon will get the state of the VM (running, halted, ...) and
92
-
information about the VM are retrieve by the backend like the maximum memory the domain
91
+
Once memory has been checked, the daemon will get the state of the VM (running, halted, ...) and
92
+
information about the VM is retrieved by the backend like the maximum memory the domain
93
93
can consume but also information about quotas for example.
94
-
Information are retrieve by the backend from xenstore.
94
+
The backend retrieves this information from the Xenstore.
95
95
96
96
Once this is complete, we can restore VIF and create the domain.
97
97
98
-
The synchronisation of the memory is the first point of synchronisation and everythin
98
+
The synchronisation of the memory is the first point of synchronisation and everything
99
99
is ready for VM migration.
100
100
101
101
## VM Migration
@@ -148,12 +148,12 @@ We are almost done. The next step is to create the device model
148
148
#### create device model
149
149
150
150
Create device model is done by using the atomic operation [VM.create_device_model](https://github.com/xapi-project/xen-api/blob/7ac88b90e762065c5ebb94a8ea61c61bdbf62c5c/ocaml/xenopsd/xc/xenops_server_xen.ml#L2375). This
151
-
will configure **qemu-dm** and started. This allow to manage PCI devices.
151
+
will configure **qemu-dm** and started. This allows to manage PCI devices.
0 commit comments