2012-06-26 19:24:23 +00:00
|
|
|
==========================
|
|
|
|
Monitor Config Reference
|
|
|
|
==========================
|
|
|
|
|
|
|
|
``mon data``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The monitor's data location.
|
|
|
|
:Type: String
|
|
|
|
:Default: ``/var/lib/ceph/mon/$cluster-$id``
|
|
|
|
|
|
|
|
|
|
|
|
``mon initial members``
|
|
|
|
|
|
|
|
:Description: The IDs of initial monitors in a cluster during startup. If specified, Ceph requires an odd number of monitors to form an initial quorum.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: String
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: None
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon sync fs threshold``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: Synchronize with the filesystem when writing the specified number of objects. Set it to ``0`` to disable it.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: 32-bit Integer
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``5``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon tick interval``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: A monitor's tick interval in seconds.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: 32-bit Integer
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``5``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon subscribe interval``
|
|
|
|
|
|
|
|
:Description:
|
|
|
|
:Type: Double
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``300``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon osd auto mark in``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: Ceph will mark any booting OSDs as ``in`` the cluster.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: Boolean
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``false``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon osd auto mark auto out in``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: Ceph will mark booting OSDs auto marked ``out`` of the cluster as ``in`` the cluster.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: Boolean
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``true``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon osd auto mark new in``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: Ceph will mark booting new OSDs as ``in`` the cluster.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: Boolean
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``true``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon osd down out interval``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The number of seconds Ceph waits before marking an OSD ``down`` and ``out`` if it doesn't respond.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: 300
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
|
|
|
``mon osd min up ratio``
|
|
|
|
|
|
|
|
:Description: The minimum ratio of ``up`` OSDs before Ceph will mark OSDs ``down``.
|
|
|
|
:Type: Double
|
|
|
|
:Default: ``.3``
|
|
|
|
|
|
|
|
|
|
|
|
``mon osd min in ratio``
|
|
|
|
|
|
|
|
:Description: The minimum ratio of ``in`` OSDs before Ceph will mark OSDs ``out``.
|
|
|
|
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon lease``
|
|
|
|
|
|
|
|
:Description: lease interval
|
|
|
|
:Type: Float
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: ``5``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon lease renew interval``
|
|
|
|
|
|
|
|
:Description: on leader | to renew the lease
|
|
|
|
:Type: Float
|
|
|
|
:Default: 3
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon lease ack timeout``
|
|
|
|
|
|
|
|
:Description: on leader | if lease isn't acked by all peons
|
|
|
|
:Type: Float
|
|
|
|
:Default: 10.0
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon clock drift allowed``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The clock drift in seconds allowed between monitors.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: Float
|
|
|
|
:Default: .050
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon clock drift warn backoff``
|
|
|
|
|
|
|
|
:Description: exponential backoff for clock drift warnings
|
|
|
|
:Type: Float
|
|
|
|
:Default: 5
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon accept timeout``
|
|
|
|
|
|
|
|
:Description: on leader | if paxos update isn't accepted
|
|
|
|
:Type: Float
|
|
|
|
:Default: 10.0
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon pg create interval``
|
|
|
|
|
|
|
|
:Description: no more than every 30s
|
|
|
|
:Type: Float
|
|
|
|
:Default: 30.0
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon pg stuck threshold``
|
|
|
|
|
|
|
|
:Description: number of seconds after which pgs can be considered
|
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: 300
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon osd full ratio``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The percentage of disk space used before an OSD is considered ``full``.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: Float
|
|
|
|
:Default: .95
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon osd nearfull ratio``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The percentage of disk space used before an OSD is considered ``nearfull``.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: Float
|
|
|
|
:Default: .85
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon globalid prealloc``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The number of global IDs to pre-allocate for the cluster.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: 100
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon osd report timeout``
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
:Description: The grace period in seconds before declaring unresponsive OSDs ``down``.
|
2012-06-26 19:24:23 +00:00
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: 900
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon force standby active``
|
|
|
|
|
|
|
|
:Description: should mons force standby-replay mds to be active
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: true
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon min osdmap epochs``
|
|
|
|
|
|
|
|
:Description:
|
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: 500
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon max pgmap epochs``
|
|
|
|
|
|
|
|
:Description:
|
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: 500
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon max log epochs``
|
|
|
|
|
|
|
|
:Description:
|
|
|
|
:Type: 32-bit Integer
|
2012-08-30 07:37:02 +00:00
|
|
|
:Default: 500
|
|
|
|
|
|
|
|
|
|
|
|
``mon max osd``
|
|
|
|
|
|
|
|
:Description: The maximum number of OSDs allowed in the cluster.
|
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: ``10000``
|
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
|
|
|
|
``mon probe timeout``
|
|
|
|
|
|
|
|
:Description:
|
|
|
|
:Type: Double
|
|
|
|
:Default: 2.0
|
|
|
|
|
2012-08-30 07:37:02 +00:00
|
|
|
|
2012-06-26 19:24:23 +00:00
|
|
|
``mon slurp timeout``
|
|
|
|
|
|
|
|
:Description:
|
|
|
|
:Type: Double
|
|
|
|
:Default: 10.0
|
2012-08-30 07:37:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
``mon slurp bytes``
|
|
|
|
|
|
|
|
:Description: Limits the slurp messages to the specified number of bytes.
|
|
|
|
:Type: 32-bit Integer
|
|
|
|
:Default: ``256 * 1024``
|
|
|
|
|
|
|
|
|
|
|
|
``mon client bytes``
|
|
|
|
|
|
|
|
:Description: The amount of client message data allowed in memory (in bytes).
|
|
|
|
:Type: 64-bit Integer Unsigned
|
|
|
|
:Default: ``100ul << 20``
|
|
|
|
|
|
|
|
|
|
|
|
``mon daemon bytes``
|
|
|
|
|
|
|
|
:Description: The message memory cap for metadata server and OSD messages (in bytes).
|
|
|
|
:Type: 64-bit Integer Unsigned
|
|
|
|
:Default: ``400ul << 20``
|
|
|
|
|
|
|
|
|
|
|
|
``mon max log entries per event``
|
|
|
|
|
|
|
|
:Description: The maximum number of log entries per event.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``4096``
|
|
|
|
|