]> git.proxmox.com Git - ceph.git/blame - ceph/doc/mgr/progress.rst
import quincy beta 17.1.0
[ceph.git] / ceph / doc / mgr / progress.rst
CommitLineData
20effc67
TL
1Progress Module
2===============
3
4The progress module is used to inform users about the recovery progress of PGs
5(Placement Groups) that are affected by events such as (1) OSDs being marked
6in or out and (2) ``pg_autoscaler`` trying to match the target PG number.
7
8The ``ceph -s`` command returns something called " Global Recovery Progress",
9which reports the overall recovery progress of PGs and is based on the number
10of PGs that are in the ``active+clean`` state.
11
12Enabling
13--------
14
15The *progress* module is enabled by default, but it can be enabled manually by
16running the following command:
17
18.. prompt:: bash #
19
20 ceph progress on
21
22The module can be disabled at anytime by running the following command:
23
24.. prompt:: bash #
25
26 ceph progress off
27
28Commands
29--------
30
31Show the summary of all the ongoing and completed events and their duration:
32
33.. prompt:: bash #
34
35 ceph progress
36
37Show the summary of ongoing and completed events in JSON format:
38
39.. prompt:: bash #
40
41 ceph progress json
42
43Clear all ongoing and completed events:
44
45.. prompt:: bash #
46
47 ceph progress clear
48
49PG Recovery Event
50-----------------
51
52An event for each PG affected by recovery event can be shown in
53`ceph progress` This is completely optional, and disabled by default
54due to CPU overheard:
55
56.. prompt:: bash #
57
58 ceph config set mgr mgr/progress/allow_pg_recovery_event true