阿里巴巴的NTP架构及闰秒过度

2020-02-23 196浏览

  • 1. 阿里巴巴的NTP架构及闰 秒的保障 阿里巴巴 技术保障部 高级系统工程师 曹世军
  • 2. • NTP •  NTP •
  • 3. NTP Network Time Protocol • Broadcast/Multicast • Symmetric • Client/Server
  • 4. NTP C/S • Device A Client • Device B Server • Client • Server • Server • Client T1 T2 T3 T4 = (T4-T1)-(T3-T2) = 2s = ((T2-T1)+(T3-T4))/2 = 1h
  • 5.
  • 6. NTP
  • 7. ntpdate vs ntpd • ntpdate , • ntpd
  • 8. NTP three group of three • ntp two-server problem •  3 •  4 • local clock • prefer,maxpoll,minipoll •
  • 9. NTP • GPS + •  •
  • 10.
  • 11. •  •  •
  • 12. • “ ” • UT TAI • UTC •  •  -> UT TAI 61 59
  • 13. •  60 •  • Linux BUG •  JAVA MYSQL CPU 100%
  • 14. IT ECS-VM NTP 2015
  • 15. •  •  •  GPS
  • 16.
  • 17.
  • 18. 5000
  • 19.
  • 20.
  • 21. DNS •  http://www.alidns.com/ •  IP 223.5.5.5 223.6.6.6 •  Stable,Speedy,Smart NTP •  GPS •  •  : time1-7.aliyun.com (Unix-like) : time.pool.aliyun.com (Windows •  http://mirrors.aliyun.com/ •  :Daily,AM2:00-4:00 •  Linux
  • 22. Q&A Thank you @ @