>>> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ambresh Ranjan) writes:

Ambresh> A optical wire is connected between machine and they are
Ambresh> synchronize. Now , the wire is broken etc.  New wire is connected
Ambresh> and a message is send. At this moment, i need to restart the NTP
Ambresh> (at M2...3)or restart applicable on disconnected machine.

There may be no need to restart ntpd.

You might be able to do it with ifup/ifdown scripts - when the network state
changes use that "event" to reconfigure ntpd.  If that is too difficult, use
the scripts to restart ntpd.

And I'm not sure why this matters - ntpd already has code in it to detect
when the IP address changes (which may not be enough for you), and even so,
how often are your network cables being "broken" and for how long are they
broken?

You might be able to solve this in your network with the 'burst' and/or
'maxpoll' keywords.
-- 
Harlan Stenn <[EMAIL PROTECTED]>
http://ntpforum.isc.org  - be a member!

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to