Hello everyone,
I've looked everywhere I could and I cannot seem to get a definitive
answer as to the
[subtle] differences of a server line and a peer line.  I realize that
if its a peer, the two
boxes will use each other as servers.  But Im curious if there is a
difference in:

        Box A (10.20.0.1):
        server 10.20.0.2

        Box B (10.20.0.2):
        server 10.20.0.1

And:

        Box A (10.20.0.1):
        peer 10.20.0.2

        Box B (10.20.0.2):
        peer 10.20.0.1

Also, if I they are peered correctly, do I even need to explicitly set
the peer on Box B?

I recently had the fun task of making sure ~20 servers (in three
different locations) stay synced.
I know that I could just set them up 'blindly' for all of them to just
use the pool, but that is obviously
wasteful. For example, on most of my boxes I have a setup like:

        restrict default nomodify notrap nopeer
        restrict 10.20.0.0 mask 255.255.0.0 nomodify
        restrict 127.0.0.1
        
        server  127.127.1.0
        fudge   127.127.1.0 stratum 10
        
        server 0.pool.ntp.org            # the 'other edges' connect to
different external servers.
        peer 10.20.17.10
        peer 10.20.37.4
        peer 10.20.37.7
        peer 10.20.37.13
        peer 10.20.37.14
        peer 10.20.41.21
        
        driftfile /var/lib/ntp/drift

Should I instead have the boxes that are on the same phsyical LAN as
peers, and the rest as
servers?  (Basically, have them 'clustered' together)

Okay, last question.  Is there a (practical) limit to how many
servers/peers I can have setup?

My apologies if these are 'noob'-type of questions, but Ive been
curious for too long.


Sincerely,

mm_202.
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to