WHEREIS

추가 확인내용.

원인은 client(linux) 에서 ntp server(windows) 로 지정된 윈도우 서버(내부 ntp)의 상위 ntp 서버 간 동기화 불가로 인해 발생 한 듯 하다.. 

windows 서버의 ntp 설정 후, 아래 옵션 없이도 정상적으로 동기화가 되었다. 

 

 

-----------------------------------

 

[root@aaa ~]# ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter

==============================================================================

1.1.1.1    2.2.2.2  4 u   31   64  377    0.813  17953.7   6.886

 

[root@aaa ~]# ntpq

ntpq> assoc

 

ind assID status  conf reach auth condition  last_event cnt

===========================================================

  1  5047  9014   yes   yes  none    reject   reachable  1

 


 

- 클라이언트 서버에 ntp 설정 추가

 

# vi /etc/ntp.conf

 

tos maxdist 20

 

# /etc/init.d/ntpd restart

 

[root@aaa ~]# ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter

==============================================================================

*aaa       1.1.1.1  4 u    7   64  377    0.325   -6.526   6.769        # * 표시가 생김

 

ntpq> assoc

 

ind assID status  conf reach auth condition  last_event cnt

===========================================================

  1 50333  9614   yes   yes  none  sys.peer   reachable  1

 

tos [ beacon beacon | ceiling ceiling | cohort {0 | 1} | floor floor | maxclock maxclock | maxdist maxdist | minclock minclock | mindist mindist | minsane minsane | orphan stratum ]This command alters certain system variables used by the the clock selection and clustering algorithms. The default values of these variables have been carefully optimized for a wide range of network speeds and reliability expectations. Very rarely is it necessary to change the default values; but, some folks can't resist twisting the knobs. It can be used to select the quality and quantity of peers used to synchronize the system clock and is most useful in dynamic server discovery schemes. The options are as follows:

maxdist maxdistance
Specify the synchronization distance threshold used by the clock selection algorithm. The default is 1.5 s. This determines both the minimum number of packets to set the system clock and the maximum roundtrip delay. It can be decreased to improve reliability or increased to synchronize clocks on the Moon or planets.

 

 

 

참고사이트

https://blog.zwindler.fr/2015/09/05/debug-client-ntp-linux-vers-ntp-windows-server/

support.ntp.org/bin/view/Support/NTPRelatedDefinitionssupport.ntp.org/bin/view/Support/NTPRelatedDefinitionssupport.ntp.org/bin/view/Support/NTPRelatedDefinitions

blog.meinbergglobal.com/2021/02/25/the-root-of-all-timing-understanding-root-delay-and-root-dispersion-in-ntp/

access.redhat.com/solutions/4652771

이 글을 공유합시다

facebook twitter kakaoTalk kakaostory naver band
loading