Hello, all.
I want to ask some about ntpd.
I set 'server' directive like below at ntp.conf
server 0.centos.pool.ntp.org
For example, I can see the ntpq result like below.
remote refid st t when poll reach delay offset jitter ============================================================================== * 10.10.23.44 211.115.xx.xx 3 u 62 64 1 1.892 -3.882 0.001
if 0.centos.pool.ntp.org has multiple ip address 10.10.23.44 and 10.10.23.45, and after some time 10.10.23.44 goes down, courrent configuration(10.10.23.44) will be changed to 10.10.23.45 automatically or not without restarting ntpd?
Surely, I know that I can set multiple domains like below. But let's assume that just set one domain.
server 1.centos.pool.ntp.org server 2.centos.pool.ntp.org
Thanks in advance. _________________________________________________________________ 클릭 한번으로 전세계 이미지가 검색됩니다. 지금 라이브 검색을 체험해보세요. http://www.live.com/?scope=images
Hi,
2009/9/22 MontyRee chulmin2@hotmail.com:
I set 'server' directive like below at ntp.conf
server 0.centos.pool.ntp.org
if 0.centos.pool.ntp.org has multiple ip address 10.10.23.44 and 10.10.23.45, and after some time 10.10.23.44 goes down, courrent configuration(10.10.23.44) will be changed to 10.10.23.45 automatically or not without restarting ntpd?
I don't think it does, that's why I think you should use multiple server directives with 0, 1, 2, ... names on them in case one of them fails.
Although not stating this directly, this page seems to confirm that when it says "It can rarely happen that you are assigned the same timeserver twice - just restarting the ntp server usually solves this problem." http://www.pool.ntp.org/use.html
You might find these pages interesting: http://www.eecis.udel.edu/~mills/ntp/html/manyopt.html http://www.eecis.udel.edu/~mills/ntp/html/assoc.html
In particular, it seems that using the "pool" configuration option of NTP might do a smarter job. I never used it though, so I couldn't say...
HTH, Filipe