Skip to contentSkip to conversation

clock syncronisation

DISCUSSION Stefan Priebe - Profihost AG 3 participants 4 messages Nov 8, 2012

lore
Share & tools
lore
#0 lore raw

Hello list,

is there any prefered way to use clock syncronisation?

I've tried running openntpd and ntpd on all servers but i'm still getting:

2012-11-08 09:55:38.255928 mon.0 [WRN] message from mon.2 was stamped 0.063136s in the future, clocks not synchronized
2012-11-08 09:55:39.328639 mon.0 [WRN] message from mon.2 was stamped 0.063285s in the future, clocks not synchronized
2012-11-08 09:55:39.328833 mon.0 [WRN] message from mon.2 was stamped 0.063301s in the future, clocks not synchronized
2012-11-08 09:55:40.819975 mon.0 [WRN] message from mon.2 was stamped 0.063360s in the future, clocks not synchronized

Stefan

#1 lore raw
Quoted 5 lines · Stefan Priebe - Profihost AG

Hello list,

is there any prefered way to use clock syncronisation?

I've tried running openntpd and ntpd on all servers but i'm still getting:

Quoted 9 lines
2012-11-08 09:55:38.255928 mon.0 [WRN] message from mon.2 was stamped
0.063136s in the future, clocks not synchronized
2012-11-08 09:55:39.328639 mon.0 [WRN] message from mon.2 was stamped
0.063285s in the future, clocks not synchronized
2012-11-08 09:55:39.328833 mon.0 [WRN] message from mon.2 was stamped
0.063301s in the future, clocks not synchronized
2012-11-08 09:55:40.819975 mon.0 [WRN] message from mon.2 was stamped

0.063360s in the future, clocks not synchronized

What NTP server are you using? Network latency might cause the clocks not to be synchronised.

Wido

Quoted 5 lines

Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 19 lines · Wido den Hollander
Quoted 6 lines · Stefan Priebe - Profihost AG

Hello list,

is there any prefered way to use clock syncronisation?

I've tried running openntpd and ntpd on all servers but i'm still getting:

Quoted 9 lines
2012-11-08 09:55:38.255928 mon.0 [WRN] message from mon.2 was stamped
0.063136s in the future, clocks not synchronized
2012-11-08 09:55:39.328639 mon.0 [WRN] message from mon.2 was stamped
0.063285s in the future, clocks not synchronized
2012-11-08 09:55:39.328833 mon.0 [WRN] message from mon.2 was stamped
0.063301s in the future, clocks not synchronized
2012-11-08 09:55:40.819975 mon.0 [WRN] message from mon.2 was stamped

0.063360s in the future, clocks not synchronized

Quoted 3 lines

What NTP server are you using? Network latency might cause the clocks not to be synchronised.

There is no real reason to worry about, quorum may suffer only large desync delays as some seconds or more. If you have unsynchronized clocks on mon hodes with such big delays, requests which have issued from cli, e.g. creating new connection may wait as long as delay itself, depend of clock value of selected monitor node.

Clock drift caused mostly by heavy load, but of course playing with clocksources may have some effect(since most systems already use HPET timer, there is only one way, to sync with ntp server as frequent as you want to prevent drift).

Quoted 8 lines
Quoted 3 lines

To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Wido den Hollander

Am 08.11.2012 13:00, schrieb Wido den Hollander:

Quoted 19 lines · Stefan Priebe - Profihost AG
Quoted 6 lines

Hello list,

is there any prefered way to use clock syncronisation?

I've tried running openntpd and ntpd on all servers but i'm still getting:

Quoted 9 lines
2012-11-08 09:55:38.255928 mon.0 [WRN] message from mon.2 was stamped
0.063136s in the future, clocks not synchronized
2012-11-08 09:55:39.328639 mon.0 [WRN] message from mon.2 was stamped
0.063285s in the future, clocks not synchronized
2012-11-08 09:55:39.328833 mon.0 [WRN] message from mon.2 was stamped
0.063301s in the future, clocks not synchronized
2012-11-08 09:55:40.819975 mon.0 [WRN] message from mon.2 was stamped

0.063360s in the future, clocks not synchronized

Quoted 2 lines

What NTP server are you using? Network latency might cause the clocks not to be synchronised.

pool.ntp.org

But i've now switched to debian chrony instead of ntp and that seems to work fine.

Haven't seen any messages again.

Stefan