Skip to content

Commit 7d576cf

Browse files
authored
DOCSP-23924 reformatting quickstart (#275)
* DOCSP-23924 reformatting quickstart * DOCSP-23924 reformatting quickstart * DOCSP-23924 reformatting quickstart * DOCSP-23924 remove list and add clarification * DOCSP-23924 remove list and add clarification * DOCSP-23924 remove list and add clarification
1 parent e6d4856 commit 7d576cf

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

source/quickstart.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ to synchronize data between them. The tool that makes the connection is
2525
you get started with {+c2c-product-name+}. For more details, please see
2626
the 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
@@ -142,7 +136,13 @@ Follow the instructions below to set up {+c2c-product-name+}.
142136
For operating system specific installation instructions, see
143137
:ref:`c2c-install`.
144138

145-
.. step:: Connect the Clusters
139+
Connect the Clusters
140+
--------------------
141+
142+
.. procedure::
143+
:style: normal
144+
145+
.. step:: Format your connection strings
146146

147147
A connection string contains the network and authentication
148148
details that ``mongosync`` needs to connect to the source and
@@ -169,20 +169,20 @@ Follow the instructions below to set up {+c2c-product-name+}.
169169

170170
For more details, see :ref:`c2c-connecting`.
171171

172-
Initialize ``mongosync``
173-
------------------------
172+
.. step:: Initialize mongosync
174173

175-
:program:`mongosync` must create an initial connection to the source and
176-
destination clusters before it can start to sync data. To create the initial
177-
connection, issue the following command on a single line (the command is
178-
reformatted here for clarity):
174+
:program:`mongosync` must create an initial connection to the source and
175+
destination clusters before it can start to sync data. To create the initial
176+
connection, issue the following command with your connection
177+
strings on a single line (the command is
178+
reformatted here for clarity):
179179

180-
.. code-block:: shell
180+
.. code-block:: shell
181181

182-
./bin/mongosync \
183-
--logPath /var/log/mongosync \
184-
--cluster0 "mongodb://clusterAdmin:[email protected]:20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \
185-
--cluster1 "mongodb://clusterAdmin:[email protected]:20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020"
182+
./bin/mongosync \
183+
--logPath /var/log/mongosync \
184+
--cluster0 "mongodb://clusterAdmin:[email protected]:20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \
185+
--cluster1 "mongodb://clusterAdmin:[email protected]:20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020"
186186

187187
Initialization Notes
188188
~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)