@@ -664,7 +664,11 @@ Test the Connection Between Each Member
664
664
There must be connectivity from every :term:`replica set` member to
665
665
every other member in order for replication to work. Problems with
666
666
network or firewall rules can prevent this connectivity and prevent
667
- replication from working. To test the connection from every member to
667
+ replication from working. Network topologies and firewalls might allow a
668
+ connection in one direction but not the other. Therefore you must make
669
+ sure to verify that the connection works in both directions.
670
+
671
+ To test the connection from every member to
668
672
every other member, in both directions, consider the following example:
669
673
670
674
.. example:: Given a replica set with three members running on three separate
@@ -679,19 +683,16 @@ every other member, in both directions, consider the following example:
679
683
680
684
.. code-block:: sh
681
685
682
- mongo --host m2.example.net --port 27017"
686
+ mongo --host m2.example.net --port 27017
683
687
684
- mongo --host m3.example.net --port 27017"
688
+ mongo --host m3.example.net --port 27017
685
689
686
690
#. Test the connection from ``m2.example.net`` to the other two
687
691
hosts by running similar appropriate operations from ``m2.example.net``.
688
692
689
- This means you have now tested the connection between
693
+ You have now tested the connection between
690
694
``m2.example.net`` and ``m1.example.net`` twice, but each time
691
- from a different direction. This is important to verifying
692
- connectivity. Network topologies and firewalls might allow a
693
- connection in one direction but not the other. Therefore you must
694
- make sure to verify that the connection works in both directions.
695
+ from a different direction.
695
696
696
697
#. Test the connection from ``m3.example.net`` to the other two
697
698
hosts by running the operations from ``m3.example.net``.
0 commit comments