Help with xntp config ( xntpd on AIX 5.1 and 5.2 )

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default Help with xntp config ( xntpd on AIX 5.1 and 5.2 )

    I'm trying to setup an ntp hierarchy and I'm getting more and more
    confused by the stratum, server, peer, fudge, and prefer settings in
    the /etc/ntp.conf file.

    Here's my situation and what I'm trying to accomplish:

    We have 4 very distinct environments (DEV, TEST, QA, and PROD) each
    with between 3 and 10 AIX 5L images.

    I would like one server in the PROD environment to be the one system
    that syncs its time with clocks outside of our company. Would this
    system be considered a stratum 1 system? Also, the other systems in
    the PROD environment would sync to this.

    I would also like one server in the other 3 environments to sync to
    the "company time master" from above. Also, the other systems in the
    same environment(Test, Dev, or QA) would sync to these 3 systems.
    Would these 3 systems be stratum 2?

    Thus, would all my other systems be stratum 3 (including those in the
    PROD environment that I would sync to the stratum 1 system mentioned
    above)?

    Totals: stratum 1=1 stratum 2=3 stratum 3=everything else

    Or, would I be better off spreading out the stratum priorities to say
    1, 3, & 5?

    My confusion stems from the various posts I've read and the lack of
    information available about how to setup ntp.conf in the AIX man
    pages.

    Clarification of how I would use the server, peer and fudge keywords
    would be very helpful.

    Any assistance is appreciated and it will certainly help clarify how
    to setup the 3 very distinct configuration files for my topology.

    Regards,

    Chris Allen
    Chris Allen Guest

  2. Similar Questions and Discussions

    1. Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
      I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now...
    2. config file: a) what Module ? b) conditionals in config (for multiple hosts)
      Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right...
    3. [RCR] Include CONFIG::Config['rubydocdir'] in rbconfig.rb
      Hi folks, I apologise if people have read this RCR and are not interested, but this is what I consider to be an important RCR, not a merely...
    4. Help with xntpd and Solaris 8
      I hope someone can help me with configuring xntpd under Solaris 8. I connected an Acutime2000 GPS to serial B of my Sun box. I then linked...
    5. xntp Sun280R multicast
      I am running Solaris 9 on a Sun280. I moved the ntp.client to ntp.conf. When I start up xntp it does not receive any NTP.MCAST.NET. I do a...
  3. #2

    Default Re: Help with xntp config ( xntpd on AIX 5.1 and 5.2 )

    in comp.unix.admin i read:
    >I'm trying to setup an ntp hierarchy and I'm getting more and more
    >confused by the stratum, server, peer, fudge, and prefer settings in
    >the /etc/ntp.conf file.
    really? did you search using google groups before posting? there's plenty
    of documentation on what each of those things does, when it's useful, &c.
    there's an entire newsgroup devoted to ntp: comp.protocol.ntp -- which i'll
    grant sounds like it's all about the protocol, but is also used to discuss
    ntp in general, including configuration and conceptual issues.

    there is a faq as well -- which points to a document which discusses
    setting up a local ntp hierarchy -- i hope you've looked at it.
    >We have 4 very distinct environments (DEV, TEST, QA, and PROD) each
    >with between 3 and 10 AIX 5L images.
    >
    >I would like one server in the PROD environment to be the one system
    >that syncs its time with clocks outside of our company. Would this
    >system be considered a stratum 1 system?
    no.
    >Also, the other systems in the PROD environment would sync to this.
    what happens if that one server is down?
    >I would also like one server in the other 3 environments to sync to
    >the "company time master" from above. Also, the other systems in the
    >same environment(Test, Dev, or QA) would sync to these 3 systems.
    sounds like your whole company's would be unsync'd when that one server is
    down. often that's acceptable, good hardware won't drift too much over
    some days waiting for the main time server to return to service.
    >Would these 3 systems be stratum 2?
    >
    >Thus, would all my other systems be stratum 3 (including those in the
    >PROD environment that I would sync to the stratum 1 system mentioned
    >above)?
    no and no.

    your main time server would only be stratum 1 if it were receiving a tick
    from a trusted clock source (e.g., a gps clock or such). since it'll be
    receiving time from an external ntp server it will be at most stratum 2 if
    you sync to a stratum 1, which you don't really have enough systems to
    warrant, so more likely your main time server would be at stratum 3.

    unless you are in a penis size contest the stratum at which you sync is
    typically not a source of concern.
    >Or, would I be better off spreading out the stratum priorities to say
    >1, 3, & 5?
    stratums are not priorities, per se.
    >My confusion stems from the various posts I've read and the lack of
    >information available about how to setup ntp.conf in the AIX man
    >pages.
    >
    >Clarification of how I would use the server, peer and fudge keywords
    >would be very helpful.
    servers provide time to clients. peers share time with each other.
    fudging is used when a config entry's default behavior isn't quite
    what is needed.

    --
    a signature
    those who know me have no need of my name Guest

  4. #3

    Default Re: Help with xntp config ( xntpd on AIX 5.1 and 5.2 )

    Chris Allen wrote:
    >
    > I would like one server in the PROD environment to be the one system
    > that syncs its time with clocks outside of our company. Would this
    > system be considered a stratum 1 system?
    No. A stratum 1 server is a server that is directly connected to
    an atomic clock or similarly accurate independent time source. If
    you connect over the Internet, your machine will have a stratum
    number N+1 compared to whoever you sync with.
    > I'm trying to setup an ntp hierarchy and I'm getting more and more
    > confused by the stratum, server, peer, fudge, and prefer settings in
    > the /etc/ntp.conf file.
    Stratum - Number of server hops away from an atomic clock.

    Server - Accept time from that machine but do not offer time to it.

    Peer - Accept time from that machine and also supply time to it.

    Client - The machine specified gets time, but always ignore any
    time it gives.

    Fudge - Known amount of error in your hardware clock, very much
    voodoo and black magic to many folks.

    Prefer - Is this which server to give preference, or which protocol
    version to give preference?
    Doug Freyburger Guest

  5. #4

    Default Re: Help with xntp config ( xntpd on AIX 5.1 and 5.2 )

    [email]go_uc_bearcats@hotmail.com[/email] (Chris Allen) said:
    >We have 4 very distinct environments (DEV, TEST, QA, and PROD) each
    >with between 3 and 10 AIX 5L images.
    How distinct, i.e. do you have firewalls blocking traffic between these
    environments?
    >I would like one server in the PROD environment to be the one system
    >that syncs its time with clocks outside of our company.
    ....
    >I would also like one server in the other 3 environments to sync to
    >the "company time master" from above. Also, the other systems in the
    >same environment(Test, Dev, or QA) would sync to these 3 systems.
    Stratum was already explained in other responses, I don't repeat it here.

    I'd consider it better design to have two machines synchronising from
    outside servers, and peering with each other. Then, for all the other
    machines, set both of these two machines as servers. Two servers to
    protect against loss of one.

    Also, for the two servers, configure a local clock at some low-priority
    (i.e. high-number) stratum, like 6 or 7. This is so that even if you
    lose your external time source, at least your network keeps consistent
    time. Without this, losing the external time sources would drop the
    servers to stratum 9, which means "don't use this time source", and
    each machine would continue using solely its local clock.

    So, just two different configurations, and not much of a topology,
    if you can allow this traffic across your environments.
    --
    Wolf a.k.a. Juha Laiho Espoo, Finland
    (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
    PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
    "...cancel my subscription to the resurrection!" (Jim Morrison)
    Juha Laiho Guest

  6. #5

    Default Re: Help with xntp config ( xntpd on AIX 5.1 and 5.2 )

    Thanks for the posts, they have been very helpful. I was not aware
    that there was a newsgroup devoted to the discussion of ntp. I will
    search there and read the ntp FAQs. I reviewed the information I
    found elsewhere within Google but not within the protocol.ntp group
    and felt I was missing some key concepts.

    Thanks,

    Chris Allen
    Chris Allen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139