Re: How to force a monitor time check?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/03/2013 02:35 PM, Da Chun Ng wrote:
How often are the time check messages sent between monitors?

The monitors will perform a timecheck every 5 minutes, by default.

You can adjust this interval using 'mon timecheck interval = SECS'.


------------------------------------------------------------------------
From: dachun.ng@xxxxxxxxxxx
To: ceph-users@xxxxxxxxxxxxxx
Date: Tue, 3 Sep 2013 13:22:54 +0000
Subject:  How to force a monitor time check?

Time skews happen frequently when the systems running monitors are
restarted.
With ntp server configured, the time skew between systems will be fixed
over some time.
But the ceph monitors won't find it at once if there are no time check
messages at that time, so the ceph status will be still shown as time
skew warning. Sometimes it will keep for several hours.
How can I trigger a monitor time check manually?

There are no current provisions to manually trigger a timecheck. Timechecks will be performed every 5 minutes (by default) as long as there's a formed quorum.

What version are you running?

I don't recall ceph having any bug so far that could lead to such state, thus I find it hard to believe that the monitors will warn over a period of several hours when no clock skews are present. In that case, my guess would be that there's still some server suffering from a clock skew.

Please note that all clock skews are determined taking the 'leader' as the point of reference. This means that if you notice that all monitors are displaying the same clock skews while the leader is not, then it's likely that it is the leader that is suffering from said clock skew.

  -Joao


--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux