Appendix C. Ceph Monitor configuration options
The following are Ceph monitor configuration options that can be set up during deployment.
You can set these configuration options with the ceph config set mon CONFIGURATION_OPTION VALUE
command.
Configuration option | Description | Type | Default |
---|---|---|---|
| The IDs of initial monitors in a cluster during startup. If specified, Ceph requires an odd number of monitors to form an initial quorum (for example, 3). | String | None |
| Force monitor to join quorum even if it has been previously removed from the map | Boolean |
|
| The service name used for querying the DNS for the monitor hosts/addresses. | String |
|
| The cluster ID. One per cluster. | UUID | N/A. May be generated by a deployment tool if not specified. |
| The monitor’s data location. | String |
|
|
Ceph issues a | Integer |
|
|
Ceph issues a | Integer |
|
|
Ceph issues a | Integer |
|
|
Ceph issues a | Boolean | True |
|
Ceph issues a | Boolean | True |
|
Ceph issues a | Boolean | True |
| This setting defines the minimum tunable profile version required by the cluster. | String |
|
|
Ceph issues a | Boolean | True |
|
Ceph issues a warning when between the ratio of | Float |
|
| How often (in seconds) a monitor in the quorum shares its health status with its peers. A negative number disables health updates. | Float |
|
| This setting enables Ceph to send a health summary to the cluster log periodically. | Boolean | True |
| This setting enable Ceph to send a health details to the cluster log periodically. | Boolean | True |
| Number of seconds after which the Ceph Monitor operation is considered blocked after no updates. | Integer |
|
| How often (in seconds) the monitor sends a health summary to the cluster log. A non-positive number disables it. If the current health summary is empty or identical to the last time, the monitor will not send the status to the cluster log. | Float |
|
| How often (in seconds) the monitor sends a health summary to the cluster log. A non-positive number disables it. The monitor will always send the summary to the cluster log. | Integer |
|
| The percentage of disk space used before an OSD is considered full. | Float |
|
| The percentage of disk space used before an OSD is considered nearfull. | Float |
|
| No description available. | Double |
|
| No description available. | Double |
|
| No description available. | Double |
|
| No description available. | Double |
|
| The number of seconds the monitor will wait for the next update message from its sync provider before it gives up and bootstraps again. | Double |
|
| Integer |
| |
| The maximum size for a sync payload (in bytes). | 32-bit Integer |
|
| The maximum Paxos iterations before we must first sync the monitor data stores. When a monitor finds that its peer is too far ahead of it, it will first sync with data stores before moving on. | Integer |
|
|
How often (in commits) to stash a full copy of the PaxosService state. Currently this setting only affects | Integer |
|
| Gather updates for this time interval before proposing a map update. | Double |
|
| The minimum number of paxos states to keep around | Integer |
|
| The minimum amount of time to gather updates after a period of inactivity. | Double |
|
| Number of extra proposals tolerated before trimming | Integer |
|
| The maximum number of extra proposals to trim at a time | Integer |
|
| The minimum amount of versions to trigger a trim (0 disables it) | Integer | 250 |
| The maximum amount of versions to trim during a single proposal (0 disables it) | Integer | 500 |
| The maximum amount of log epochs to trim during a single proposal | Integer | 500 |
| The maximum amount of pgmap epochs to trim during a single proposal | Integer | 500 |
| Force monitor to trim mdsmaps to this point (0 disables it. Dangerous, use with care) | Integer | 0 |
| Force monitor to trim osdmaps to this point, even if there is PGs not clean at the specified epoch (0 disables it. dangerous, use with care) | Integer | 0 |
| The size of osdmaps cache, not to rely on underlying store’s cache | Integer | 500 |
| On election proposer, maximum waiting time for all ACKs in seconds. | Float |
|
| The length (in seconds) of the lease on the monitor’s versions. | Float |
|
|
| Float |
|
|
The Leader will wait | Float |
|
| Minimum number of OSD map epochs to keep at all times. | 32-bit Integer |
|
| Maximum number of PG map epochs the monitor should keep. | 32-bit Integer |
|
| Maximum number of Log epochs the monitor should keep. | 32-bit Integer |
|
|
How much to offset the system clock. See | Double |
|
| A monitor’s tick interval in seconds. | 32-bit Integer |
|
| The clock drift in seconds allowed between monitors. | Float |
|
| Exponential backoff for clock drift warnings. | Float |
|
| The time check interval (clock drift check) in seconds for the leader. | Float |
|
| The time check interval (clock drift check) in seconds when in the presence of a skew in seconds for the Leader. | Float |
|
| The maximum number of OSDs allowed in the cluster. | 32-bit Integer |
|
| The number of global IDs to pre-allocate for clients and daemons in the cluster. | 32-bit Integer |
|
|
Synchronize with the filesystem when writing the specified number of objects. Set it to | 32-bit Integer |
|
| The refresh interval, in seconds, for subscriptions. The subscription mechanism enables obtaining the cluster maps and log information. | Double |
|
|
Ceph will smooth statistics over the last | Integer |
|
| Number of seconds the monitor will wait to find peers before bootstrapping. | Double |
|
| The message memory cap for metadata server and OSD messages (in bytes). | 64-bit Integer Unsigned |
|
| The maximum number of log entries per event. | Integer |
|
|
Enables or disable priming the PGMap with the previous OSDs when an out OSD comes back into the cluster. With the | Boolean |
|
| How much time in seconds the monitor should spend trying to prime the PGMap when an out OSD comes back into the cluster. | Float |
|
|
The Leader will wait | Float |
|
|
The Leader will wait | Float |
|
| Minimum number of OSD map epochs to keep at all times. | 32-bit Integer |
|
| Maximum number of PG map epochs the monitor should keep. | 32-bit Integer |
|
| Maximum number of Log epochs the monitor should keep. | 32-bit Integer |
|
|
How much to offset the system clock. See | Double |
|
| A monitor’s tick interval in seconds. | 32-bit Integer |
|
| The clock drift in seconds allowed between monitors. | Float |
|
| Exponential backoff for clock drift warnings. | Float |
|
| The time check interval (clock drift check) in seconds for the leader. | Float |
|
| The time check interval (clock drift check) in seconds when in the presence of a skew in seconds for the Leader. | Float |
|
| The maximum number of OSDs allowed in the cluster. | 32-bit Integer |
|
| The number of global IDs to pre-allocate for clients and daemons in the cluster. | 32-bit Integer |
|
|
Synchronize with the filesystem when writing the specified number of objects. Set it to | 32-bit Integer |
|
| The refresh interval, in seconds, for subscriptions. The subscription mechanism enables obtaining the cluster maps and log information. | Double |
|
|
Ceph will smooth statistics over the last | Integer |
|
| Number of seconds the monitor will wait to find peers before bootstrapping. | Double |
|
| The message memory cap for metadata server and OSD messages (in bytes). | 64-bit Integer Unsigned |
|
| The maximum number of log entries per event. | Integer |
|
|
Enables or disable priming the PGMap with the previous OSDs when an out OSD comes back into the cluster. With the | Boolean |
|
| How much time in seconds the monitor should spend trying to prime the PGMap when an out OSD comes back into the cluster. | Float |
|
| Maximum estimate of time spent on each PG before we prime all PGs in parallel. | Float |
|
|
Allow | Boolean | False |
|
Whether turn on fast read on the pool or not. It will be used as the default setting of newly created erasure pools if | Boolean | False |
| Skip safety assertions on FSMap, in case of bugs where we want to continue anyway. Monitor terminates if the FSMap sanity check fails, but we can disable it by enabling this option. | Boolean | False |
| The maximum amount of mdsmap epochs to trim during a single proposal. | Integer | 500 |
| The maximum size of config-key entry (in bytes). | Integer | 65536 |
| The percentage of the scrub max interval past the scrub max interval to warn. | float | 0.5 |
| The percentage of the deep scrub interval past the deep scrub interval to warn | float | 0.75 |
| How often, in seconds, the monitor scrub its store by comparing the stored checksums with the computed ones of all the stored keys. | Integer | 3600*24 |
| The timeout to restart scrub of mon quorum participant does not respond for the latest chunk. | Integer | 5 min |
| The maximum number of keys to scrub each time. | Integer | 100 |
| The probability of injecting CRC mismatches into Ceph Monitor scrub. | Integer | 3600*24 |
| The probability of injecting missing keys into mon scrub. | Float | 0 |
|
Compact the database used as Ceph Monitor store on | Boolean | False |
| Compact the database used as Ceph Monitor store on bootstrap. The monitor starts probing each other for creating a quorum after bootstrap. If it times out before joining the quorum, it will start over and bootstrap itself again. | Boolean | False |
| Compact a certain prefix (including paxos) when we trim its old states. | Boolean | True |
| Number of threads for performing CPU intensive work on monitor. | Integer | 4 |
| We calculate the mapping from the placement group to OSDs in chunks. This option specifies the number of placement groups per chunk. | Integer | 4096 |
|
Largest number of PGs per "involved" OSD to let split create. When we increase the | Integer | 300 |
| Number of seconds to wait for a response from the monitor before returning an error from a rados operation. 0 means at limit, or no wait time. | Double | 0 |
Additional Resources