ceph/doc/config-ref/mon-config.rst

64 lines
7.2 KiB
ReStructuredText
Raw Normal View History

=======================
Monitor Configuration
=======================
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| Setting | Type | Default Value | Description |
+===================================+================+===============+===========================================================+
| ``mon data`` | String | "" | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon sync fs threshold`` | 32-bit Integer | 5 | // sync when writing this many objects; 0 to disable. |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon tick interval`` | 32-bit Integer | 5 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon subscribe interval`` | Double | 300 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd auto mark in`` | Boolean | false | // mark any booting osds 'in' |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd auto mark auto out in`` | Boolean | true | // mark booting auto-marked-out osds 'in' |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd auto mark new in`` | Boolean | true | // mark booting new osds 'in' |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd down out interval`` | 32-bit Integer | 300 | // seconds |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon lease`` | Float | 5 | // lease interval |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon lease renew interval`` | Float | 3 | // on leader | to renew the lease |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon lease ack timeout`` | Float | 10.0 | // on leader | if lease isn't acked by all peons |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon clock drift allowed`` | Float | .050 | // allowed clock drift between monitors |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon clock drift warn backoff`` | Float | 5 | // exponential backoff for clock drift warnings |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon accept timeout`` | Float | 10.0 | // on leader | if paxos update isn't accepted |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon pg create interval`` | Float | 30.0 | // no more than every 30s |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon pg stuck threshold`` | 32-bit Integer | 300 | // number of seconds after which pgs can be considered |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd full ratio`` | Float | .95 | // what % full makes an OSD "full" |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd nearfull ratio`` | Float | .85 | // what % full makes an OSD near full |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon globalid prealloc`` | 32-bit Integer | 100 | // how many globalids to prealloc |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon osd report timeout`` | 32-bit Integer | 900 | // grace period before declaring unresponsive OSDs dead |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon force standby active`` | Boolean | true | // should mons force standby-replay mds to be active |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon min osdmap epochs`` | 32-bit Integer | 500 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon max pgmap epochs`` | 32-bit Integer | 500 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon max log epochs`` | 32-bit Integer | 500 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon probe timeout`` | Double | 2.0 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
| ``mon slurp timeout`` | Double | 10.0 | |
+-----------------------------------+----------------+---------------+-----------------------------------------------------------+
inactive | unclean | or stale (see doc/control.rst under dump stuck for more info |