]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/operations: update docs to reflect balancer being on by default 34541/head
authorNeha Ojha <nojha@redhat.com>
Tue, 14 Apr 2020 21:17:15 +0000 (21:17 +0000)
committerNeha Ojha <nojha@redhat.com>
Wed, 15 Apr 2020 03:32:42 +0000 (03:32 +0000)
Signed-off-by: Neha Ojha <nojha@redhat.com>
doc/rados/operations/balancer.rst
doc/rados/operations/upmap.rst

index b4bbfd85158caa45958bef480f0273659de68f43..5146c23c2703b811069b5a1830f75dcf5d6222f3 100644 (file)
@@ -19,17 +19,15 @@ The current status of the balancer can be checked at any time with::
 Automatic balancing
 -------------------
 
-The automatic balancing can be enabled, using the default settings, with::
-
-  ceph balancer on
-
-The balancer can be turned back off again with::
+The automatic balancing feature is enabled by default in ``upmap``
+mode. Please refer to :ref:`upmap` for more details. The balancer can be
+turned off with::
 
   ceph balancer off
 
-This will use the ``crush-compat`` mode, which is backward compatible
-with older clients, and will make small changes to the data
-distribution over time to ensure that OSDs are equally utilized.
+The balancer mode can be changed to ``crush-compat`` mode, which is
+backward compatible with older clients, and will make small changes to
+the data distribution over time to ensure that OSDs are equally utilized.
 
 
 Throttling
@@ -86,11 +84,7 @@ There are currently two supported balancer modes:
 
    Note that using upmap requires that all clients be Luminous or newer.
 
-The default mode is ``crush-compat``.  The mode can be adjusted with::
-
-  ceph balancer mode upmap
-
-or::
+The default mode is ``upmap``.  The mode can be adjusted with::
 
   ceph balancer mode crush-compat
 
index 8bad0d9592859260454bd008d1be48eb8e8fb34f..98737e9579d482db1c09d6ae027a0cbab2b21ccb 100644 (file)
@@ -1,3 +1,5 @@
+.. _upmap:
+
 Using the pg-upmap
 ==================
 
@@ -12,8 +14,13 @@ clients understand the new *pg-upmap* structure in the OSDMap.
 Enabling
 --------
 
-To allow use of the feature, you must tell the cluster that it only
-needs to support luminous (and newer) clients with::
+New clusters will have this module on by default. The cluster must only
+have luminous (and newer) clients. You can the turn the balancer off with::
+
+  ceph balancer off
+
+To allow use of the feature on existing clusters, you must tell the
+cluster that it only needs to support luminous (and newer) clients with::
 
   ceph osd set-require-min-compat-client luminous
 
@@ -26,7 +33,7 @@ use with::
 Balancer module
 -----------------
 
-The new `balancer` module for ceph-mgr will automatically balance
+The `balancer` module for ceph-mgr will automatically balance
 the number of PGs per OSD.  See ``Balancer``