Aix6.1 synchronize clock configurations of remote NTP servers

Source: Internet
Author: User
  1. The NTP service process on aix6.1 is named xntp. By default, this process is not started. Therefore, you must first start The xntpd daemon.

    Startsrc-s xntp

    It is best to make it automatically start with the System

  2. Edit/etc/net. conf and add a remote NTP clock source. Add the following four lines at the bottom.

    Broadcastclient
    Server 120.4.8.1 # remote NTP clock source IP address
    Driftfile/etc/NTP. Drift
    Tracefile/etc/NTP. Trace

  3. Use the lssrc-ls xntpd command to View Details. (Note that when xntpd is started, sys peer is no peer and system is insane because ntpd has not completed synchronization, it takes about five minutes to display the remote clock source IP address, which means the synchronization is successful)

    # Lssrc-ls xntpd
    Program name:/usr/sbin/xntpd
    Version: 3
    Leap indicator: 00 (no leap second today .)
    Sys peer: 120.4.8.1
    Sys stratum: 12
    Sys precision:-18
    Debug/tracing: Disabled
    Root distance: 0.000748
    Root Dispersion: 0.889160
    Reference ID: 120.4.8.1
    Reference time: d7fd7e99. e399d000 Fri, Oct 31 2014 11:20:57. 889
    Broadcast delay: 0.003906 (SEC)
    Auth delay: 0.000122 (SEC)
    System flags: bclient PLL monitor filegen
    System uptime: 578 (SEC)
    Clock stability: 1988.000000 (SEC)
    Clock frequency: 15904.000000 (SEC)
    Peer: 120.4.8.1
    Flags: (configured) (sys peer)
    Stratum: 11, version: 3
    Our mode: client, his mode: Server
    Subsystem group PID status
    Xntpd TCPIP 6029448 active

  4. You can use the ntpdate clock source ip command to synchronize the clock in real time

 

This article is from the "morning song muniu" blog, please be sure to keep this http://168ok8.blog.51cto.com/73394/1570273

Aix6.1 synchronize clock configurations of remote NTP servers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.