Configuring Local Refclocks
All refclocks are
local in that they are directly attached to an
ntpd.
Sometimes it is neccessary to synchronize clocks in the absence of reachable time sources. This is when some special modes of operation are useful.
Undisciplined Local Clock
The
UndisciplinedLocalClock allows an
ntpd to serve time to others even when not actually synchronized to a time source. It can also be used in configurations where the system clock is disciplined by some method outside of ntpd.
Orphan Mode
OrphanMode, in conjunction with a suitable mesh configuration, allows a group of systems to autonomously select a leader in the event that all time sources become unreachable.
OrphanMode was introduced in NTP-4.2.2 and is the intended replacement for most uses of the
UndisciplinedLocalClock.