From 1b30b41a5d9f4e5267b5a3c0597a50017f27056e Mon Sep 17 00:00:00 2001 From: Andrew Leung Date: Thu, 13 Sep 2012 16:08:57 -0400 Subject: [PATCH] add note to specify usage in removing shards and link to remove shard tutorial. --- source/reference/command/movePrimary.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/reference/command/movePrimary.txt b/source/reference/command/movePrimary.txt index e1c6b72bbbc..992b66e92d4 100644 --- a/source/reference/command/movePrimary.txt +++ b/source/reference/command/movePrimary.txt @@ -8,7 +8,10 @@ movePrimary In a :term:`shard cluster`, this command reassigns the database's primary shard. The primary shard for a database holds all - un-sharded collections in the database. + un-sharded collections in the database. :dbcommand:`movePrimary` + is an administrative command that is only available for + :program:`mongos` instances and is intended to be used when + removing a shard from a shard cluster. :dbcommand:`movePrimary` changes the primary shard for this database in the cluster metadata, and migrates all un-sharded @@ -36,6 +39,4 @@ movePrimary :dbcommand:`movePrimary` your shard cluster may have orphaned and unreachable data. - :dbcommand:`movePrimary` is an administrative command that is - only available for :program:`mongos` instances. - + .. seealso:: :doc:`/tutorial/remove-shards-from-cluster`