From 62f35a1d4ef798b98e513942825512e6f3ec638f Mon Sep 17 00:00:00 2001 From: schmalliso Date: Mon, 17 Jun 2013 11:38:01 -0400 Subject: [PATCH] DOCS-1555 correcting instructions for re-enabling balancing in sharded clsuters --- .../backup-sharded-cluster-with-database-dumps.txt | 7 +++---- .../backup-sharded-cluster-with-filesystem-snapshots.txt | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/source/tutorial/backup-sharded-cluster-with-database-dumps.txt b/source/tutorial/backup-sharded-cluster-with-database-dumps.txt index b5089d86fe0..2ba16c664a1 100644 --- a/source/tutorial/backup-sharded-cluster-with-database-dumps.txt +++ b/source/tutorial/backup-sharded-cluster-with-database-dumps.txt @@ -97,9 +97,8 @@ shard. #. Restart all stopped replica set members of each shard as normal and allow them to catch up with the state of the primary. -#. Restore the balancer with the :method:`sh.startBalancer()` method - according to the :ref:`sharding-balancing-disable-temporally` - procedure. +#. Re-enable the balancer with the :method:`sh.setBalancerState()` + method. Use the following command sequence when connected to the :program:`mongos` with the :program:`mongo` shell: @@ -107,4 +106,4 @@ shard. .. code-block:: javascript use config - sh.startBalancer() + sh.setBalancerState(true) diff --git a/source/tutorial/backup-sharded-cluster-with-filesystem-snapshots.txt b/source/tutorial/backup-sharded-cluster-with-filesystem-snapshots.txt index c9474532d2c..e843ed9783d 100644 --- a/source/tutorial/backup-sharded-cluster-with-filesystem-snapshots.txt +++ b/source/tutorial/backup-sharded-cluster-with-filesystem-snapshots.txt @@ -83,14 +83,13 @@ shard. #. Unlock all locked replica set members of each shard using the :method:`db.fsyncUnlock()` method in the :program:`mongo` shell. -#. Restore the balancer with the :method:`sh.startBalancer()` method - according to the :ref:`sharding-balancing-disable-temporally` - procedure. - +#. Re-enable the balancer with the :method:`sh.setBalancerState()` + method. + Use the following command sequence when connected to the :program:`mongos` with the :program:`mongo` shell: .. code-block:: javascript use config - sh.startBalancer() + sh.setBalancerState(true)