On Thu, Jul 7, 2011 at 6:18 PM, philip morales <[email protected]> wrote:
> But is there a way to force ntp to re-discover new host without restarting?
> I have more than 2000 unix servers global.

nope... application normally called gethostbyname(3) to get the IP
address of hostname pass to that function call... it just return IP
address(es) without TTL value... once got the IP address... it creates
a socket and return a filedescriptor.. that filedescriptor is used for
connection with IP address it got from gethostbyname...

for continous communication using the same filedescriptor and the IP
address it got.. it will never call gethostbyname(3) again... normally
programmers do that not to call gethostbyname again by assumption that
hostname IP addresss is fixed... unless otherwise they need to call it
again for a given reason...

only to do it is to restart that NTPd process again...

restarting wont cause a downtime and not even affected your host's
clock... your only problem is that you have 2000 servers globally...
way to do it is to create a  script and automate it for you...
otherwise... condition yourself and prepare for a long battle doing
the manual way :->

fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to