Ceph Clock offset fault handling

Source: Internet
Author: User

Clock offset Symptom:

[Email protected] ~]# ceph-w

Cluster b516386f-cb9d-49d5-bf48-07f0dac29e97

Health Health_warn 192 pgs degraded; 192 pgs stuck Unclean

Monmap E1:3 mons at {node1=10.240.217.101:6789/0,node4=10.240.217.104:6789/0,node5=10.240.217.105:6789/0}, election Epoch, quorum 0,1,2 NODE1,NODE4,NODE5

Osdmap E63:3 osds:2 up, 2 in

Pgmap v249:192 pgs, 3 pools, 0 bytes data, 0 objects

10314 MB used, 2063 gb/2073 GB Avail

192 active+degraded


2014-06-19 10:46:24.736860 mon.0 [WRN] mon.1 10.240.217.104:6789/0 clock skew 0.060021s > Max 0.05s


Ways to solve the above problem:

Ceph default clock offset time is 0.05s, because this time is too small, causing the time offset between the cluster value is greater than 0.05s, to solve this problem

You need to modify the configuration of ceph.conf to each monitor node by adding the following configuration to the configuration file

[Email protected] ~]# vi/etc/ceph/ceph.conf

[Mon]

Mon clock Drift allowed =. 50


Restart the Ceph process after modification

[[Email protected] ~]# service Ceph restart

= = = Mon.node1 = =

= = = Mon.node1 = =

Stopping Ceph mon.node1 on Node1...kill 4723...done

= = = Mon.node1 = =

Starting Ceph mon.node1 on Node1 ...

Starting Ceph-create-keys on Node1 ...


More detailed procedures can be seen in official documents

http://ceph.com/docs/master/rados/configuration/mon-config-ref/#monitor-store-synchronization

This article is from the "Zhangdh Open Space" blog, so be sure to keep this source http://linuxblind.blog.51cto.com/7616603/1710173

Ceph Clock offset fault handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.