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 ``
2012-09-05 00:15:35 +00:00
:Description: The refresh interval (in seconds) for subscriptions. The subscription mechanism enables obtaining the cluster maps and log informations.
2012-06-26 19:24:23 +00:00
: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
2012-09-05 00:15:35 +00:00
:Default: ``300``
2012-06-26 19:24:23 +00:00
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-09-05 00:15:35 +00:00
:Type: Double
:Default: ``.3``
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon lease ``
2012-09-05 00:15:35 +00:00
:Description: Length (in seconds) of the lease on the monitor's versions.
2012-06-26 19:24:23 +00:00
:Type: Float
2012-08-30 07:37:02 +00:00
:Default: ``5``
2012-06-26 19:24:23 +00:00
`` mon lease renew interval ``
2012-09-05 00:15:35 +00:00
:Description: The interval (in seconds) for the Leader to renew the other monitor's leases.
2012-06-26 19:24:23 +00:00
:Type: Float
2012-09-05 00:15:35 +00:00
:Default: ``3``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon lease ack timeout ``
2012-09-05 00:15:35 +00:00
:Description: Number of seconds the Leader will wait for the Peons to acknowledge the lease extension.
2012-06-26 19:24:23 +00:00
:Type: Float
2012-09-05 00:15:35 +00:00
:Default: ``10.0``
2012-06-26 19:24:23 +00:00
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
2012-09-05 00:15:35 +00:00
:Default: ``.050``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon clock drift warn backoff ``
2012-09-05 00:15:35 +00:00
:Description: Exponential backoff for clock drift warnings
2012-06-26 19:24:23 +00:00
:Type: Float
2012-09-05 00:15:35 +00:00
:Default: ``5``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon accept timeout ``
2012-09-05 00:15:35 +00:00
:Description: Number of seconds the Leader will wait for the Peons to accept a Paxos update. It is also used during the Paxos recovery phase for similar purposes.
2012-06-26 19:24:23 +00:00
:Type: Float
2012-09-05 00:15:35 +00:00
:Default: ``10.0``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon pg create interval ``
2012-09-05 00:15:35 +00:00
:Description: Number of seconds between PG creation in the same OSD.
2012-06-26 19:24:23 +00:00
:Type: Float
2012-09-05 00:15:35 +00:00
:Default: ``30.0``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon pg stuck threshold ``
2012-09-05 00:15:35 +00:00
:Description: Number of seconds after which PGs can be considered as being stuck.
2012-06-26 19:24:23 +00:00
:Type: 32-bit Integer
2012-09-05 00:15:35 +00:00
:Default: ``300``
2012-06-26 19:24:23 +00:00
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
2012-09-05 00:15:35 +00:00
:Default: ``.95``
2012-06-26 19:24:23 +00:00
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
2012-09-05 00:15:35 +00:00
:Default: ``.85``
2012-06-26 19:24:23 +00:00
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
2012-09-05 00:15:35 +00:00
:Default: ``100``
2012-06-26 19:24:23 +00:00
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
2012-09-05 00:15:35 +00:00
:Default: ``900``
2012-06-26 19:24:23 +00:00
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 ``
2012-09-05 00:15:35 +00:00
:Description: Minimum number of OSD map epochs to keep at all times.
2012-06-26 19:24:23 +00:00
:Type: 32-bit Integer
2012-09-05 00:15:35 +00:00
:Default: ``500``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon max pgmap epochs ``
2012-09-05 00:15:35 +00:00
:Description: Maximum number of PG map epochs the monitor should keep.
2012-06-26 19:24:23 +00:00
:Type: 32-bit Integer
2012-09-05 00:15:35 +00:00
:Default: ``500``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon max log epochs ``
2012-09-05 00:15:35 +00:00
:Description: Maximum number of Log epochs the monitor should keep.
2012-06-26 19:24:23 +00:00
:Type: 32-bit Integer
2012-09-05 00:15:35 +00:00
:Default: ``500``
2012-08-30 07:37:02 +00:00
`` 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 ``
2012-09-05 00:15:35 +00:00
:Description: Number of seconds the monitor will wait to find peers before bootstrapping.
2012-06-26 19:24:23 +00:00
:Type: Double
2012-09-05 00:15:35 +00:00
:Default: ``2.0``
2012-06-26 19:24:23 +00:00
2012-08-30 07:37:02 +00:00
2012-06-26 19:24:23 +00:00
`` mon slurp timeout ``
2012-09-05 00:15:35 +00:00
:Description: Number of seconds the monitor has to recover using slurp before the process is aborted and the monitor bootstraps.
2012-06-26 19:24:23 +00:00
:Type: Double
2012-09-05 00:15:35 +00:00
: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``