@@ -25,9 +25,6 @@ to synchronize data between them. The tool that makes the connection is
2525you get started with {+c2c-product-name+}. For more details, please see
2626the rest of the {+c2c-product-name+} documentation.
2727
28- Setup
29- -----
30-
3128``mongosync`` syncs data between two clusters.
3229
3330- Each cluster can be a replica set or a sharded cluster. If either
@@ -41,14 +38,11 @@ Setup
4138 meets the minimum patch :ref:`version requirements
4239 <c2c-server-version-compatibility>`.
4340
44- To run ``mongosync``, you need to:
41+ Follow the instructions below to set up {+c2c-product-name+}, connect
42+ your clusters, and synchronize your data.
4543
46- #. Define a source and a destination cluster.
47- #. Define administrative users.
48- #. Download and install ``mongosync``.
49- #. Connect the clusters.
50-
51- Follow the instructions below to set up {+c2c-product-name+}.
44+ Setup
45+ -----
5246
5347.. procedure::
5448 :style: normal
@@ -140,7 +134,13 @@ Follow the instructions below to set up {+c2c-product-name+}.
140134 For operating system specific installation instructions, see
141135 :ref:`c2c-install`.
142136
143- .. step:: Connect the Clusters
137+ Connect the Clusters
138+ --------------------
139+
140+ .. procedure::
141+ :style: normal
142+
143+ .. step:: Format your connection strings
144144
145145 A connection string contains the network and authentication
146146 details that ``mongosync`` needs to connect to the source and
@@ -167,20 +167,20 @@ Follow the instructions below to set up {+c2c-product-name+}.
167167
168168 For more details, see :ref:`c2c-connecting`.
169169
170- Initialize ``mongosync``
171- ------------------------
170+ .. step:: Initialize mongosync
172171
173- :program:`mongosync` must create an initial connection to the source and
174- destination clusters before it can start to sync data. To create the initial
175- connection, issue the following command on a single line (the command is
176- reformatted here for clarity):
172+ :program:`mongosync` must create an initial connection to the source and
173+ destination clusters before it can start to sync data. To create the initial
174+ connection, issue the following command with your connection
175+ strings on a single line (the command is
176+ reformatted here for clarity):
177177
178- .. code-block:: shell
178+ .. code-block:: shell
179179
180- ./bin/mongosync \
181- --logPath /var/log/mongosync \
182- --cluster0 "mongodb://clusterAdmin:
[email protected] :20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \
183- --cluster1 "mongodb://clusterAdmin:
[email protected] :20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020"
180+ ./bin/mongosync \
181+ --logPath /var/log/mongosync \
182+ --cluster0 "mongodb://clusterAdmin:
[email protected] :20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \
183+ --cluster1 "mongodb://clusterAdmin:
[email protected] :20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020"
184184
185185Initialization Notes
186186~~~~~~~~~~~~~~~~~~~~
0 commit comments