IT/Linux

NTP 이기종간 동기화(Linux-Windows)

cocod66 2020. 12. 30. 23:45

서버 구축시 이기종간 NTP 동기화 이슈

 

[구축환경]

  NTP Client OS : RedHat 7.2

  NTP Server OS : Windows Server

 

1. 원인

    - Windows NTP Server 와 RedHat Linux Server 간(이기종) 동기화 시 Window Server에서는

      'root dispersion' 값을 높은 값으로 제공함으로 인하여 Redhat Linux Server에서는 연결은

      되어 있으나 동기화를 못하는 현상이 발생합니다. 

    - 'root dispersion'값이 높으면 NTP알고리즘에의해 NTP서버와의 distance값이 높아

      신뢰할 수 없다고 판단하여 통신은 되나 동기화가 안되는 현상 발생합니다.

2. 해결방법

    - 해당 현상을 해결하기 위하여 RHEL 서버의 maxdistance 값을 변경.

 

> Chrony

  /etc/chrony.conf

 

      maxdistance 16.0

        - chrony.conf 파일에 해당 옵션값 추가

        - default value 은 3이며, RHEL 7.4 이전에서는 16입니다.

 

> NTPD

   /etc/ntpd.conf

 

      tos maxdist 16

        - /etc/ntp.conf파일에 해당 옵션값 추가

        - default value 1.5입니다.

 

참조 URL : https://access.redhat.com/solutions/4652771 (RHN ID 필요)

참조 URL : https://access.redhat.com/solutions/23365 (RHN ID 필요)

참조 URL : https://access.redhat.com/solutions/3425701 (RHN ID 필요)

'IT > Linux' 카테고리의 다른 글

vsftp 포트변경  (0) 2021.01.04
Linux 기본 디렉토리 설명  (0) 2021.01.03
NTP minpoll, maxpoll 옵션 설정  (0) 2021.01.03
Linux 종료 시간 변경  (0) 2020.12.31
NTP 설치 및 구성  (0) 2020.12.30