Skip to content

Commit 345c901

Browse files
authored
DOCSP-6345: [Guides] Update migration guides with new Live Migrate UI elements (#132)
1 parent 6a8feb8 commit 345c901

File tree

3 files changed

+51
-47
lines changed

3 files changed

+51
-47
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
When Atlas detects that the source and destination clusters are nearly
2+
in sync, it starts an extendable 72 hour timer to begin the cutover
3+
procedure. If the 72 hour period passes, Atlas stops synchronizing with
4+
the source cluster. You can extend the time remaining by 24 hours by
5+
clicking the :guilabel:`Extend time` hyperlink below the :guilabel:`<time>
6+
left to cut over` timer.
7+
8+
a. Once you are prepared to cut your applications over to the
9+
destination Atlas cluster, click :guilabel:`Prepare to Cutover`.
10+
11+
#. Atlas displays a walk-through screen with instructions
12+
on how to proceed with the cutover. These steps are also outlined
13+
below:
14+
15+
1. Stop your application. This ensures that no additional writes
16+
are generated to the source cluster.
17+
18+
#. Wait for the optime gap to reach zero. When the counter reaches
19+
zero, the source and destination clusters are in sync.
20+
21+
#. Restart your application using the new connection string
22+
provided in step 3 of the Live Migrate cutover UI.
23+
24+
#. Once you have completed the cutover procedure and confirmed
25+
your applications are working normally with the Atlas cluster,
26+
click :guilabel:`Cut Over` to complete the migration procedure.
27+
This allows Atlas to:
28+
29+
- Mark the migration plan as complete.
30+
- Remove the Application Server subnets from the destination
31+
cluster whitelist.
32+
- Remove the MongoDB user that Live Migrate used to import data
33+
to the destination cluster.

source/includes/steps-migrate-compose.yaml

Lines changed: 12 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
title: Create an Atlas deployment
22
ref: atlas-deployment
3-
level: 4
4-
stepnum: 1
53
content: |
64
If you don't already have an Atlas deployment, :doc:`create one
75
</cloud/atlas>` now. You'll need
@@ -11,8 +9,6 @@ content: |
119
---
1210
title: Log in to your Compose account
1311
ref: login-compose
14-
level: 4
15-
stepnum: 2
1612
content: |
1713
Log in to your `Compose account <https://app.compose.io/session/new>`_
1814
and navigate to the deployment you want to migrate to Atlas.
@@ -25,8 +21,6 @@ content: |
2521
---
2622
title: Create an oplog user
2723
ref: create-oplog-reader
28-
level: 4
29-
stepnum: 3
3024
content: |
3125
To perform the migration process, you need a database user with
3226
permission to read the oplog on your ``admin`` database. Click the
@@ -43,8 +37,6 @@ content: |
4337
---
4438
title: Begin the Atlas Live Migration process
4539
ref: begin-live-migration
46-
level: 4
47-
stepnum: 4
4840
content: |
4941
Navigate to your Atlas cluster. Click the ellipsis (:guilabel:`...`)
5042
button and select :guilabel:`Migrate Data to this Cluster`.
@@ -54,17 +46,13 @@ content: |
5446
---
5547
title: Review migration steps
5648
ref: review-steps
57-
level: 4
58-
stepnum: 5
5949
content: |
6050
Read through the overview of migration steps in the Live Migration
6151
dialog window, then click the green :guilabel:`I'm ready to migrate`
6252
button.
6353
---
6454
title: Add IP address ranges to your Compose deployment whitelist
6555
ref: add-ip-ranges
66-
level: 4
67-
stepnum: 6
6856
content: |
6957
For this step you'll need to have browser tabs open
7058
with both the Atlas Live Migration process dialog from the previous
@@ -87,8 +75,6 @@ content: |
8775
title: Add the hostname and port of your Compose deployment to the
8876
Atlas Live Migration dialog
8977
ref: add-hostname-port
90-
level: 4
91-
stepnum: 7
9278
content: |
9379
On the :guilabel:`Oplog Access` add-on page, you'll find a connection
9480
string with a hostname and port for oplog access. Copy them to the Atlas
@@ -98,17 +84,13 @@ content: |
9884
:figwidth: 650px
9985
---
10086
title: Enter the oplog user's credentials in the Live Migration dialog
101-
ref:
102-
level: 4
103-
stepnum: 8
87+
ref: enter-oplog-creds
10488
content: |
10589
Enter the username and password for :guilabel:`oploguser` in the
10690
Atlas Live Migration dialog window.
10791
---
10892
title: Enter your Compose SSL Certificate data
10993
ref: enter-cafile
110-
level: 4
111-
stepnum: 9
11294
content: |
11395
If you don't have SSL enabled on your Compose deployment, skip this
11496
step.
@@ -127,38 +109,25 @@ content: |
127109
---
128110
title: Validate your Live Migration form
129111
ref: validate-form
130-
level: 4
131-
stepnum: 10
132112
content: |
133113
Click the :guilabel:`Validate` button to check that all your form
134114
fields are valid and your clusters are ready for migration. When your
135-
form is validated, click the :guilabel:`Start Migration` button.
115+
form is validated, you're ready to begin the migration.
136116
---
137-
title: Start migration
117+
title: Click :guilabel:`Start Migration`.
138118
ref: start-migration
139-
level: 4
140-
stepnum: 11
141119
content: |
142-
When the migration process begins, the Live Migration dialog window
143-
closes and you are returned to the Atlas cluster overview page. A
144-
progress bar shows the progess of your migration.
145120
146-
.. figure:: /images/migration-complete.png
147-
:figwidth: 700px
121+
A countdown timer in a progress bar indicates how much time remains
122+
before your target cluster is ready to migrate data from your source
123+
cluster. Wait until the countdown timer and the :guilabel:`Prepare to Cutover`
124+
button are green before proceeding to the next step.
148125
---
149-
title: Prepare to Start your cutover
126+
title: Click :guilabel:`Prepare to Cutover`.
150127
ref: start-cutover
151-
level: 4
152-
stepnum: 12
128+
---
129+
title: Perform the cutover.
130+
ref: perform-the-cutover
153131
content: |
154-
Your Compose deployment and your Atlas cluster are now in sync.
155-
Atlas will maintain this synchronized state for 72 hours. If you
156-
need more time, syncing can be extended for another 24 hours.
157-
158-
Click the green :guilabel:`Prepare to Cutover` button and follow the
159-
instructions listed in the dialog window.
160-
161-
Once the cutover is complete, you can update your
162-
client applications to use the new Atlas connection string.
163-
132+
.. include:: /includes/live-migrate-cutover.rst
164133
...

source/includes/steps-migrate-to-atlas.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ ref: start-cutover
108108
stepnum: 7
109109
content: |
110110
111-
Your AWS cluster and your Atlas cluster are now in sync. Atlas will maintain
112-
this synchronized state for 72 hours. If you need more time, syncing can be
113-
extended for another 24 hours.
114-
111+
---
112+
title: Perform the cutover.
113+
ref: perform-the-cutover
114+
stepnum: 8
115+
content: |
116+
.. include:: /includes/live-migrate-cutover.rst
115117
...

0 commit comments

Comments
 (0)