Skip to content

Commit bdb627f

Browse files
author
Sam Kleinman
committed
DOCS-747: adding admonition about localhost replica sets
1 parent 0fb8954 commit bdb627f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/tutorial/deploy-replica-set.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ The examples in this procedure create a new replica set named ``rs0``.
9393

9494
mongo localhost:27017
9595

96+
.. note::
97+
98+
In a replica set, *all* members of the set must use
99+
``localhost`` addresses or *no* members of the replica set can
100+
use the ``localhost`` addresses.
101+
96102
#. Use :method:`rs.initiate()` to initiate a replica set consisting of
97103
the current member and using the default configuration:
98104

0 commit comments

Comments
 (0)