[Linux] ¼¹ö°£ ½Ã°£ µ¿±âÈ chrony
http://ehostidc.co.kr/center/EH050402.php?no=177731&page=5&choose=tit¡¦ (291)https://blog.naver.com/goethe1/221608455562 (280)
외ǥ12;랑 ᇼ1;기화Ȣ16;lj16; 타1076;서버 마스터를 한대 .160;고, 타 내ǥ12;서버lj16; 마스터 서버와 ᇼ1;기화 .104;도/197; 설1221;.
유틸 : chrony
테스트 환ᅆ1;
마스터 서버 : 192.168.9.11
클라1060;Ǻ16;트 : 192.168.9.51 / 192.168.9.61
테스트 OS : Ubuntu 16.04
ntp가 설치.104;Ǻ12; 1080;1012; ᅆ1;우 삭1228; 필요
1. chrony 설치 (master / client 공통)
root@EhostICT:/home/user#160;apt install chrony
2. master 환ᅆ1; 설1221; 0143; service start
root@EhostICT:/home/user#160;vi /etc/chrony/chrony.conf
#pool 2.debian.pool.ntp.org offline iburst# korea time server
server 1.kr.pool.ntp.org
server 0.asia.pool.ntp.org
server 2.asia.pool.ntp.org#client server network
allow 192.168.9.0/24
root@EhostICT:/home/user#systemctl restart chrony
3. client 환ᅆ1; 설1221; 0143; service start
root@client1:/home/user#vi /etc/chrony/chrony.conf
#pool 2.debian.pool.ntp.org offline iburst
# time server master ip
server 192.168.9.11
root@client:/home/user#160;systemctl restart chrony
4. ᇼ1;기화 보기
마스터 : root@controller:/home/user# chronyc tracking
client : root@com1:/home/user# chronyc tracking160;
5. ᇼ1;기화 소스 보기
마스터 : root@controller:/home/user# chronyc sources
client :160;root@com1:/home/user#160;chronyc sources160;