Re: NTP setup

From: Taylor, David (DTaylor_at_WBMI.COM)
Date: 10/09/03

  • Next message: Bruce Zimmer: "Re: named-pipe in a loop"
    Date:         Thu, 9 Oct 2003 16:35:57 -0500
    To: aix-l@Princeton.EDU
    
    

    This was posted by someone else previously, I don't' recall whom.

    ----------------------------------------------------------------------------

    SETTING UP AN NTP SERVER (without using an atomic clock)

    1. edit the /etc/ntp.conf file

    File should read:

    server 127.127.1.0 prefer

    driftfile /etc/ntp.drift

    tracefile /etc/ntp.trace

    save file and exit.

    2. smitty xntpd-->start at both system restart and now.

    Let run for approximately 10 minutes before moving to step 4. Otherwise,

    stratum will show 16.

    3. lssrc -ls xntpd

    Stratum should show between 3-4 but ok as long as it doesn't show 16.

    Server is ok, now to configure client.

    SETTING UP AN NTP CLIENT

    1. edit the /etc/ntp.conf file:

    File should read:

    server <ipaddress of ntp server> (example: server 1.2.3.4 if 1.2.3.4 is =
    the
    NTP server)

    driftfile /etc/ntp.drift

    tracefile /etc/ntp.trace

    save file and exit

    2. At command line enter:

    ntpdate <ipaddress of ntp server>

    If it doesn't say "no server suitable for synchronization found", go to

    next step.

    3. smitty xntpd-->start at both system restart and now.

    Let run for approximately 10 minutes or so before going on to step 4.

    Otherwise stratum may show 16.

    4. lssrc -ls xntpd

    Stratum will probably show 4-5. If it doesn't its ok as long as it doesn't
    show 16.

    Clocks should now be in sync. Repeat the client steps for each of your
    clients that you need to setup.

    Or you can use the command :

    # setclock [server name]

    -----Original Message-----
    From: phsol [mailto:phsol@UOL.COM.BR]
    Sent: Thursday, October 09, 2003 2:32 PM
    To: aix-l@Princeton.EDU
    Subject: NTP setup

    Anyone could send me a ntp basic setup for server and client ?

    thanks

    ---
    Acabe com aquelas janelinhas que pulam na sua tela.
    AntiPop-up UOL - É grátis!
    http://antipopup.uol.com.br
    **********************************************************************
    This email and any files transmitted with it are confidential and
    intended solely for the use of the individual or entity to whom they
    are addressed. If you have received this email in error please notify
    the system manager.
    This footnote also confirms that this email message has been swept by
    MIMEsweeper for the presence of computer viruses.
    www.mimesweeper.com
    **********************************************************************
    

  • Next message: Bruce Zimmer: "Re: named-pipe in a loop"

    Relevant Pages

    • Cannot synchronize to server with local clock
      ... fudged at a high stratum like 8 or 10. ... The *server* stratum varies from 16 ... Without sync machines will diverge. ... and another one stratum 14 on a given client. ...
      (comp.protocols.time.ntp)
    • Re: Cannot synchronize to server with local clock
      ... >> stratum 14 on a given client. ... No "prefer" on server in this case! ... The given client is not a leaf. ... not against MCT, last time I checked. ...
      (comp.protocols.time.ntp)
    • Re: SNTP server + ntpd 4.2.4 client
      ... that is your new client. ... plus the error from the stratum one to the stratum 2. ... That does not help if the server does not have good time. ... An SNTP server which is attached to a GPS? ...
      (comp.protocols.time.ntp)
    • Re: Philosophical question about strata
      ... A stratum one server is stratum one because it gets its time from a primary standard; ... A server that gets its time from a WWV receiver is technically stratum one and can be several milliseconds off because of the vagaries of HF radio propagation. ... A client that is three thousand miles away from a stratum one server and receiving time over a heavily used network is probably getting time that is an order of magnitude poorer than a client three hundred feet away. ...
      (comp.protocols.time.ntp)
    • Re: [Q] How to setup NTP client under 4.3.3?
      ... > SETTING UP AN NTP SERVER ... > Server is ok, now to configure client. ... At command line enter: ...
      (AIX-L)