From: Sage Weil Date: Thu, 25 Oct 2018 13:30:49 +0000 (-0500) Subject: mgr/diskprediction: use global device_failure_prediction_mode setting X-Git-Tag: v14.1.0~1045^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24755%2Fhead;p=ceph.git mgr/diskprediction: use global device_failure_prediction_mode setting Signed-off-by: Sage Weil --- diff --git a/doc/mgr/diskprediction.rst b/doc/mgr/diskprediction.rst index 7c25cfbb9e45..f0778e193cb0 100644 --- a/doc/mgr/diskprediction.rst +++ b/doc/mgr/diskprediction.rst @@ -10,18 +10,22 @@ Enabling ======== Run the following command to enable the *diskprediction* module in the Ceph -environment: - -:: +environment:: ceph mgr module enable diskprediction -Select the prediction mode: +Select the prediction mode:: -:: + ceph config set global device_health_prediction_mode local + +or:: + + ceph config set global device_health_prediction_mode cloud + +To disable prediction,:: - ceph device set-prediction-mode + ceph config set global device_health_prediction_mode none Connection settings diff --git a/src/common/options.cc b/src/common/options.cc index ac855ed7561d..b60b7ed8700a 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4988,6 +4988,14 @@ std::vector