Detailed description of NTP clock synchronization configuration on AIX6.1

Source: Internet
Author: User
The NTP clock synchronization configuration on AIX6.1 describes the ntp synchronization server time. Currently, the NTP service is not widely used. Recently, a project, DB2 cluster, has some requirements on time consistency, so I thought about ntp, although timed can also be used, it is only valid for broadcast domains, but it is more powerful than ntp. Www.2ct...
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.