1
1
.. _c2c-cutover-process:
2
2
3
- ===============
4
- Cutover Process
5
- ===============
3
+ ========================
4
+ Finalize Cutover Process
5
+ ========================
6
6
7
7
.. default-domain:: mongodb
8
8
9
9
.. contents:: On this page
10
10
:local:
11
11
:backlinks: none
12
12
:class: singlecol
13
+ :depth: 1
13
14
14
- You can finalize a migration and transfer your application's writes from
15
- the source to the destination cluster using the ``mongosync`` cutover
16
- process.
15
+ You can finalize a migration and transfer your application
16
+ workload from the source to the destination cluster using the
17
+ ``mongosync`` cutover process.
17
18
18
- Procedure
19
- ---------
19
+ .. note::
20
+
21
+ Before you switch your application workload to the
22
+ destination cluster, you should always verify that the sync
23
+ was successful. For more information, see
24
+ :ref:`c2c-verification`.
25
+
26
+ Steps
27
+ -----
20
28
21
29
.. procedure::
22
30
:style: normal
@@ -43,7 +51,7 @@ Procedure
43
51
- If you didn't start ``mongosync`` with
44
52
``enableUserWriteBlocking``, ensure that writes are disabled.
45
53
For example, run the ``setUserWriteBlockMode`` command on the
46
- source cluster.
54
+ source cluster.
47
55
- If ``mongosync`` uses filtered sync, it's not necessary to
48
56
disable writes to the entire source cluster. But you must ensure
49
57
that write operations are stopped for the collections included
@@ -66,7 +74,14 @@ Procedure
66
74
67
75
Call the ``progress`` endpoint to determine if ``canWrite`` is
68
76
``true``. If ``canWrite`` is ``false``, wait until ``progress``
69
- shows ``canWrite`` is ``true``.
77
+ shows ``canWrite`` is ``true``.
78
+
79
+ .. step:: Verify data transfer.
80
+
81
+ Verify the successful sync of data from the source to the
82
+ destination cluster.
83
+
84
+ For more information, see :ref:`c2c-verification`.
70
85
71
86
.. step:: Enable application writes on the destination cluster.
72
87
@@ -86,3 +101,13 @@ Procedure
86
101
When the ``mongosync`` progress response indicates that the
87
102
``mongosync`` state is ``COMMITTED``, the cutover process is
88
103
complete.
104
+
105
+ Learn More
106
+ ----------
107
+
108
+ - :ref:`c2c-verification`
109
+ - :ref:`c2c-api-start`
110
+ - :ref:`c2c-api-commit`
111
+ - :ref:`c2c-api-progress`
112
+ - :ref:`c2c-states`
113
+
0 commit comments