Answer the question
In order to leave comments, you need to log in
How to configure ntp for ceph?
Greetings!
There is a task to set up a failover cluster of three nodes on Proxmox. As a data storage, it was decided to use Ceph on the same three nodes. For it, you need to set up time synchronization so that the difference between the nodes does not exceed 50 ms (this is the question of why I need such accuracy).
Internal network 192.168.0.0/22.
We have a separate Debian 9 server (vt-gate) with ntpd configured:
[email protected]:~# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+192.168.3.11 192.168.0.4 3 s 106 512 373 0.165 0.027 0.015
+192.168.3.12 192.168.0.4 3 s 446 512 367 0.174 0.022 0.033
*vt-gate.crb.loc 192.36.143.130 2 u 247 512 377 0.183 -0.003 0.053
Answer the question
In order to leave comments, you need to log in
Ceph is not so time-critical, we sometimes have a run-up of up to 5 minutes! And it's better to do this, run one additional ntp, and synchronize with it.
In other words, vt-gate -> ntp on one of the nodes -> other ntp + vt-gate
Just set the right priorities!!!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question