From 8f553cb800a2e52c0811cf7330ec8982739945ca Mon Sep 17 00:00:00 2001 From: "Tim Slavin (MongoDB)" Date: Tue, 29 Apr 2014 10:59:48 -0400 Subject: [PATCH] DOCS-2993: Balancer needs to be on for ActiveWindow to work --- source/tutorial/manage-sharded-cluster-balancer.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/tutorial/manage-sharded-cluster-balancer.txt b/source/tutorial/manage-sharded-cluster-balancer.txt index b82b068fc74..5bdda64be61 100644 --- a/source/tutorial/manage-sharded-cluster-balancer.txt +++ b/source/tutorial/manage-sharded-cluster-balancer.txt @@ -91,6 +91,16 @@ be able to migrate chunks: use config +#. Issue the following operation to ensure the balancer is not in the + ``stopped`` state: + + .. code-block:: sh + + sh.setBalancerState( true ) + + The balancer will not activate if the state is stopped or outside the + ``activeWindow`` timeframe. + #. Use an operation modeled on the following example :method:`update() ` operation to modify the balancer's window: @@ -124,6 +134,9 @@ be able to migrate chunks: patterns, it is important to ensure that the balancing window you select will be sufficient to support the needs of your deployment. + Do not use the :method:`sh.startBalancer()` method when you have set an + ``activeWindow``. + .. _sharding-balancing-remove-window: Remove a Balancing Window Schedule