Appendix H. Ceph Monitor and OSD configuration options
Appendix H. Ceph Monitor and OSD configuration options When modifying heartbeat settings, include them in the [global] section of the Ceph configuration file. mon_osd_min_up_ratio Description The minimum ratio of up Ceph OSD Daemons before Ceph will mark Ceph OSD Daemons down . Type Double Default .3 mon_osd_min_in_ratio Description The minimum ratio of in Ceph OSD Daemons before Ceph will mark Ceph OSD Daemons out . Type Double Default 0.750000 mon_osd_laggy_halflife Description The number of seconds laggy estimates will decay. Type Integer Default 60*60 mon_osd_laggy_weight Description The weight for new samples in laggy estimation decay. Type Double Default 0.3 mon_osd_laggy_max_interval Description Maximum value of laggy_interval in laggy estimations (in seconds). The monitor uses an adaptive approach to evaluate the laggy_interval of a certain OSD. This value will be used to calculate the grace time for that OSD. Type Integer Default 300 mon_osd_adjust_heartbeat_grace Description If set to true , Ceph will scale based on laggy estimations. Type Boolean Default true mon_osd_adjust_down_out_interval Description If set to true , Ceph will scaled based on laggy estimations. Type Boolean Default true mon_osd_auto_mark_in Description Ceph will mark any booting Ceph OSD Daemons as in the Ceph Storage Cluster. Type Boolean Default false mon_osd_auto_mark_auto_out_in Description Ceph will mark booting Ceph OSD Daemons auto marked out of the Ceph Storage Cluster as in the cluster. Type Boolean Default true mon_osd_auto_mark_new_in Description Ceph will mark booting new Ceph OSD Daemons as in the Ceph Storage Cluster. Type Boolean Default true mon_osd_down_out_interval Description The number of seconds Ceph waits before marking a Ceph OSD Daemon down and out if it does not respond. Type 32-bit Integer Default 600 mon_osd_downout_subtree_limit Description The largest CRUSH unit type that Ceph will automatically mark out . Type String Default rack mon_osd_reporter_subtree_level Description This setting defines the parent CRUSH unit type for the reporting OSDs. The OSDs send failure reports to the monitor if they find an unresponsive peer. The monitor may mark the reported OSD down and then out after a grace period. Type String Default host mon_osd_report_timeout Description The grace period in seconds before declaring unresponsive Ceph OSD Daemons down . Type 32-bit Integer Default 900 mon_osd_min_down_reporters Description The minimum number of Ceph OSD Daemons required to report a down Ceph OSD Daemon. Type 32-bit Integer Default 2 osd_heartbeat_address Description A Ceph OSD Daemon's network address for heartbeats. Type Address Default The host address. osd_heartbeat_interval Description How often a Ceph OSD Daemon pings its peers (in seconds). Type 32-bit Integer Default 6 osd_heartbeat_grace Description The elapsed time when a Ceph OSD Daemon has not shown a heartbeat that the Ceph Storage Cluster considers it down . Type 32-bit Integer Default 20 osd_mon_heartbeat_interval Description How often the Ceph OSD Daemon pings a Ceph Monitor if it has no Ceph OSD Daemon peers. Type 32-bit Integer Default 30 osd_mon_report_interval_max Description The maximum time in seconds that a Ceph OSD Daemon can wait before it must report to a Ceph Monitor. Type 32-bit Integer Default 120 osd_mon_report_interval_min Description The minimum number of seconds a Ceph OSD Daemon may wait from startup or another reportable event before reporting to a Ceph Monitor. Type 32-bit Integer Default 5 Valid Range Should be less than osd mon report interval max osd_mon_ack_timeout Description The number of seconds to wait for a Ceph Monitor to acknowledge a request for statistics. Type 32-bit Integer Default 30