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.