This commit adds docs for the new config option introduced as
well as updates the feature docs on how to use this config
option.
Fixes: https://tracker.ceph.com/issues/72619
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
(cherry picked from commit
1cbe41bde12eb1d0437b746164edb689393cc5ad)
users to view the availability score for each pool in a cluster. A pool is considered
unavailable if any PG in the pool is not in active state or if there are unfound
objects. Otherwise the pool is considered available. The score is updated every
- 5 seconds. The feature is on by default. A new config option ``enable_availability_tracking``
- can be used to turn off the feature if required. Another command is added to clear the
- availability status for a specific pool, ``ceph osd pool clear-availability-status <pool-name>``.
+ one second by default. This interval can be changed using the new config option
+ ``pool_availability_update_interval.``. The feature is on by default. A new config option
+ ``enable_availability_tracking`` can be used to turn off the feature if required.
+ Another command is added to clear the availability status for a specific pool,
+ ``ceph osd pool clear-availability-status <pool-name>``.
This feature is in tech preview.
Related trackers:
- https://tracker.ceph.com/issues/67777
.. confval:: mon_memory_target
.. confval:: mon_memory_autotune
.. confval:: enable_availability_tracking
+.. confval:: pool_availability_update_interval
NVMe-oF Monitor Client
======================
for each pool. The availability score is then calculated by finding
the ratio of MTBF to the total time.
-The score is updated every five seconds. This interval is currently
-not configurable. Any intermittent changes to the pools that
-occur between this duration but are reset before we recheck the pool
-status will not be captured by this feature.
+The score is updated every one second. Transient changes to pools that
+occur and are reverted between successive updates will not be captured.
+It is possible to configure this interval with a command of the following
+form:
+
+.. prompt:: bash $
+
+ ceph config set mon pool_availability_update_interval 2
+
+This will set the update interval to two seconds. Please note that
+it is not possible to set this interval less than the config value set
+for ``paxos_propose_interval``.
+
This feature is on by default. To turn the feature off, e.g. - for an expected
downtime, the ``enable_availability_tracking`` config option can be set to ``false``.