@@ -20,7 +20,7 @@ addShard
2020
2121 Use the :dbcommand:`addShard` command to add a database instance
2222 or replica set to a :term:`sharded cluster`.
23- You must run this command against a :program:`mongos` instance.
23+ You must run this command when connected a :program:`mongos` instance.
2424
2525 The command takes the following form:
2626
@@ -47,8 +47,9 @@ addShard
4747 :term:`replica sets <replica set>`.
4848 To add a shard on a replica set you must specify the name of the
4949 replica set and the hostname of at least one member of the replica
50- set. You may specify all of the hostnames, but at least one member
51- must be specified.
50+ set. You must specify at least one member of the set, but can
51+ specify all members in the set or another subset if
52+ desired. :dbcommand:`addShard` takes the following form:
5253
5354 .. code-block:: javascript
5455
@@ -58,7 +59,7 @@ addShard
5859
5960 .. code-block:: javascript
6061
61- db.runCommand({ addShard: "repl0/mongodb3.example.net:27327"})
62+ db.runCommand( { addShard: "repl0/mongodb3.example.net:27327"} )
6263
6364 If you specify additional hostnames, all must be members of the same
6465 replica set.
@@ -78,7 +79,7 @@ addShard
7879
7980 .. seealso::
8081
81- * :method:`sh.addShard()`
82- * :doc:`/administration/sharding`
83- * :doc:`/tutorial/add-shards-to-shard-cluster`
84- * :doc:`/tutorial/remove-shards-from-cluster`
82+ - :method:`sh.addShard()`
83+ - :doc:`/administration/sharding`
84+ - :doc:`/tutorial/add-shards-to-shard-cluster`
85+ - :doc:`/tutorial/remove-shards-from-cluster`
0 commit comments