11.. _c2c-cutover-process:
22
3- ===============
4- Cutover Process
5- ===============
3+ ========================
4+ Finalize Cutover Process
5+ ========================
66
77.. default-domain:: mongodb
88
99.. contents:: On this page
1010 :local:
1111 :backlinks: none
1212 :class: singlecol
13+ :depth: 1
1314
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.
1718
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+ -----
2028
2129.. procedure::
2230 :style: normal
@@ -43,7 +51,7 @@ Procedure
4351 - If you didn't start ``mongosync`` with
4452 ``enableUserWriteBlocking``, ensure that writes are disabled.
4553 For example, run the ``setUserWriteBlockMode`` command on the
46- source cluster.
54+ source cluster.
4755 - If ``mongosync`` uses filtered sync, it's not necessary to
4856 disable writes to the entire source cluster. But you must ensure
4957 that write operations are stopped for the collections included
@@ -66,7 +74,14 @@ Procedure
6674
6775 Call the ``progress`` endpoint to determine if ``canWrite`` is
6876 ``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`.
7085
7186 .. step:: Enable application writes on the destination cluster.
7287
@@ -86,3 +101,13 @@ Procedure
86101 When the ``mongosync`` progress response indicates that the
87102 ``mongosync`` state is ``COMMITTED``, the cutover process is
88103 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