ceph对每个mon之间的时间同步延时默认要求在0.05s之间,这个时间有的时候太短了,特别是垮机房部署的时候,机房网络延时过大就出问题
#警告内容clock skew detected on mon.1...
[root@c207 ~]# ceph health detail
HEALTH_WARN clock skew detected on mon.1
mon.1 addr 192.168.1.207:6789/0 clock skew 0.0575924s > max 0.05s (latency 0.00116649s)需要调节一下参数
[root@c207 ~]# ceph daemon mon.1 config show|grep drift
"mon_clock_drift_allowed": "2",
"mon_clock_drift_warn_backoff": "7",
"paxos_max_join_drift": "10",
[root@c207 ~]# ceph tell mon.1 injectargs --mon_clock_drift_allowed 2
[root@c207 ~]# ceph tell mon.1 injectargs --mon_clock_drift_warn_backoff 7故障处理的相关资料传送门