环境:
OS:AIX 5.3.10
AIX客户端配置NTP同步服务器的时间是比较简单的,下面是配置过程.
1.编辑/etc/ntp.conf文件添加NTP服务器的地址或域名
broadcastclient
riftfile /etc/ntp.drift
tracefile /etc/ntp.traceserver 0.cn.pool.ntp.org
在最后一行添加红色部分,这个是中国NTP时间池服务器.
2.启动xntpd守护进程
#startsrc -s xntpd
或是
#smitty xntpd
选择Start Using the xntpd Subsystem
选择BOTH
3.查询xntpd状态
[hxl/oracle]$lssrc -ls xntpd
Program name: /usr/sbin/xntpd
Version: 3
Leap indicator: 11 (Leap indicator is insane.)
Sys peer: no peer, system is insane