@@ -34,12 +34,14 @@ the rest of the {+c2c-product-name+} documentation.
34
34
35
35
- The destination cluster must be the same version or up to two versions ahead
36
36
of the source cluster. The patch version is not important, so long as they
37
- meets the minimum patch :ref:`version requirements
37
+ meet the minimum patch :ref:`version requirements
38
38
<c2c-server-version-compatibility>`.
39
39
40
40
Follow the instructions below to set up {+c2c-product-name+}, connect
41
41
your clusters, and synchronize your data.
42
42
43
+ .. _c2c-quickstart-setup:
44
+
43
45
Setup
44
46
-----
45
47
@@ -48,14 +50,18 @@ Setup
48
50
49
51
.. step:: Define a source and a destination cluster
50
52
53
+ .. _c2c-quickstart-define-clusters:
54
+
51
55
If you already have a MongoDB cluster, either self-managed or
52
56
hosted in :atlas:`MongoDB Atlas </getting-started?jmp=docs>`,
53
57
use that cluster as the source cluster. If you don't have a
54
58
cluster to work with, you will need to create one.
55
59
56
60
This Quickstart works when the destination cluster and the source
57
- cluster are both replica sets. To sync from a replica set to a
58
- sharded cluster, or between sharded clusters, see:
61
+ cluster are both replica sets.
62
+
63
+ To sync from a replica set to a sharded cluster, see
64
+ :ref:`c2c-rs-to-sharded`. To sync between sharded clusters, see
59
65
:ref:`c2c-sharded-clusters`.
60
66
61
67
.. seealso::
81
87
82
88
.. step:: Define administrative users
83
89
90
+ .. _c2c-quickstart-define-users:
91
+
84
92
If either cluster is hosted in Atlas, or if either of them
85
93
requires authentication, you must create a database user that has
86
94
permissions in both clusters.
@@ -118,6 +126,8 @@ Setup
118
126
119
127
.. step:: Download and install ``mongosync``
120
128
129
+ .. _c2c-quickstart-download:
130
+
121
131
``mongosync`` is the tool that connects the source and
122
132
destination clusters. You can host ``mongosync`` on its own
123
133
hardware, ``mongosync`` does not have to run on the hardware that
@@ -170,6 +180,8 @@ Connect the Clusters
170
180
171
181
.. step:: Initialize mongosync
172
182
183
+ .. _c2c-initialize:
184
+
173
185
``mongosync`` must create an initial connection to the source and
174
186
destination clusters before it can start to sync data. To create the initial
175
187
connection, issue the following command with your connection
0 commit comments