Detailed description of NTP clock synchronization configuration on AIX 6.1

Source: Internet
Author: User


On AIX 6.1, the NTP clock synchronization configuration details ntp synchronization server time NTP service is currently used in a small number of projects, recently a DB2 cluster, there are some requirements for time consistency, so I want
Ntp. Although timed can also be used, it is only effective for broadcast domains, but it is still more powerful. Www.2cto.com configuration: first, select a server as the calibration server. AIX5L has a built-in ntp service named xntp.
As shown in the following figure, it is disabled by default. The xntp Service uses the/etc/ntp. conf file as the startup configuration file. If this file does not exist in/etc, you can
Find the example under/usr/sample/xntp/. However, the example is very simple and does not support editing/etc/ntp. conf file with the following content: -------------------------- # broadcastclient server 127.127.1.0 tracefile/etc/ntp. trace ---------------------------- please pay attention to the server xxxxx line in the file. The server refers to the previous time source of this server, without this
Xntp cannot work. If there is no higher-level time source, for example, in the Intranet, 127.127.1.0 here is a special
The special address indicates that the NTP master server is synchronized with its own system clock. Start www.2cto.com: edit/etc/ntp. after conf, start the xntpd daemon # startsrc-s xntpd to automatically start The xntpd. Do not say it. Check that the ntp service is available immediately after it is started. It may take about 3-5 minutes to start, it can be the same as that through lssrc
To view the current ntp service status. # When the SSRC-ls xntpd is started, the sys peer is 'insane ', indicating that the xntpd has not been synchronized. Www.2cto.com # lssrc-ls xntpd Program name:/usr/sbin/xntpd Version: 3 Leap indicator: 11 (Leap indicator is insane .) sys peer: no peer, system is insane... wait 3-5 minutes and the sys peer will no longer be 'insane. # Lssrc-ls xntpd Program name:/usr/sbin/xntpd Version: 3 Leap indicator: 00 (No leap second today .) sys peer: 127.127.1.0... client synchronization: ntpdate (server ip) enables the client to be updated to the server time. You can use cron to set a regular period.
Update to maintain time consistency.

Related Article

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.