Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions source/quickstart.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ to synchronize data between them. The tool that makes the connection is
you get started with {+c2c-product-name+}. For more details, please see
the rest of the {+c2c-product-name+} documentation.

Setup
-----

``mongosync`` syncs data between two clusters.

- Each cluster can be a replica set or a sharded cluster. If either
Expand All @@ -41,14 +38,11 @@ Setup
meets the minimum patch :ref:`version requirements
<c2c-server-version-compatibility>`.

To run ``mongosync``, you need to:
Follow the instructions below to set up {+c2c-product-name+}, connect
your clusters, and synchronize your data.

#. Define a source and a destination cluster.
#. Define administrative users.
#. Download and install ``mongosync``.
#. Connect the clusters.

Follow the instructions below to set up {+c2c-product-name+}.
Setup
-----

.. procedure::
:style: normal
Expand Down Expand Up @@ -142,7 +136,13 @@ Follow the instructions below to set up {+c2c-product-name+}.
For operating system specific installation instructions, see
:ref:`c2c-install`.

.. step:: Connect the Clusters
Connect the Clusters
--------------------

.. procedure::
:style: normal

.. step:: Format your connection strings

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

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

Initialize ``mongosync``
------------------------
.. step:: Initialize mongosync

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

.. code-block:: shell
.. code-block:: shell

./bin/mongosync \
--logPath /var/log/mongosync \
--cluster0 "mongodb://clusterAdmin:superSecret@clusterOne01.fancyCorp.com:20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \
--cluster1 "mongodb://clusterAdmin:superSecret@clusterTwo01.fancyCorp.com:20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020"
./bin/mongosync \
--logPath /var/log/mongosync \
--cluster0 "mongodb://clusterAdmin:superSecret@clusterOne01.fancyCorp.com:20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \
--cluster1 "mongodb://clusterAdmin:superSecret@clusterTwo01.fancyCorp.com:20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020"

Initialization Notes
~~~~~~~~~~~~~~~~~~~~
Expand Down