Awesome q2a theme

How to configure ntp for ceph?

0 like 0 dislike
153 views
Welcome!

The challenge is to configure a failover cluster of three node on Proxmox. As a data warehouse decided to use Ceph on the same three nodes. It must be configured for time synchronization so that the difference between the nodes does not exceed 50 MS (this is the question why do I need such accuracy).

Internal network 192.168.0.0/22.

Have a separate Debian server 9 (vt-gate) with a configured ntpd:
/etc/ntp.conf
driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntpd.log

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

pool 0.ru.pool.ntp.org iburst
pool 1.ru.pool.ntp.org iburst
pool 2.ru.pool.ntp.org iburst
pool 3.ru.pool.ntp.org iburst

restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

restrict 127.0.0.1
restrict ::1

restrict 0.ru.pool.ntp.org
restrict 1.ru.pool.ntp.org
restrict 2.ru.pool.ntp.org
restrict 3.ru.pool.ntp.org

restrict 192.168.0.0 mask 255.255.252.0 nomodify notrap
by | 153 views

1 Answer

0 like 0 dislike
Ceph is not so time-critical, we can be the difference of up to 5 minutes! And to make things better, start one additional ntp and NENO sinhroniziruete.
In other words, vt is the gate -> ntp on one of the nod -> other ntp + vt-gate
Only priorities set right!!!
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
3 answers
0 like 0 dislike
4 answers
asked Apr 14, 2019 by Driver86
0 like 0 dislike
1 answer
asked May 21, 2019 by Xyp
0 like 0 dislike
1 answer
asked Jun 7, 2019 by UnluckySerivelha
110,608 questions
257,187 answers
0 comments
40,796 users