지식
ESXi NTP 시간 동기화가 잘 되지 않을 때
깜자왕
2024. 2. 27. 14:11
반응형
1. ntpq -c associations
- assid 값 확인
2. ntpq -c “rv assid값”
- rootdisp (루트 분산, ms) 값은 ‘정확한 시간’과 ‘시간서버의 시간’ 사이의 오류 및 차이 추정치입니다.
높은 rootdisp 값은 좋지 않은 Timekeeping 을 나타냅니다. (권고 : 1500ms 이하)
따라서 tos maxdist 구성을 적용합니다
3. tos maxdist 구성
- cp /etc/ntp.conf /etc/ntp.conf.bak && echo "tos maxdist 15" >> /etc/ntp. conf.bak && esxcli system ntp set -f /etc/ntp.conf.bak
4. NTP Restart
- esxcli system ntp set -e 0 && esxcli system ntp set -e 1
(Time sync 정보를 가져오는데 10분 정도 소요될 수 있습니다.)