NTP setting on AIX and Windows

AIX:

Server side(10.13.135.72)

  1. vi /etc/ntp.conf
    1
    2
    3
    4
    broadcastclient
    server 127.127.1.0 prefer
    driftfile /etc/ntp.drift
    tracefile /etc/ntp.trace
  2. startsrc -s xntpd
  3. lssrc -ls xntpd

Client side(10.13.135.71)

Method 1:

  1. vi /etc/ntp.conf
    1
    2
    3
    4
    broadcastclient
    server 10.13.135.71
    driftfile /etc/ntp.drift
    tracefile /etc/ntp.trace
  2. startsrc -s xntpd
  3. lssrc -ls xntpd

Method 2:

1
2
3
ntpdate 10.13.135.72
crontab -e
0 5,12 * * * ntpdate 10.13.135.72

Windows Client

1
2
3
4
5
w32tm /stripchart /computer:10.13.135.72 /samples:2 /dataonly
w32tm /config /syncfromflags:manual /manualpeerlist:10.13.135.72
w32tm /config /update
net stop w32time
net start w32time

Ref:

http://www-01.ibm.com/support/docview.wss?uid=isg3T1000653
http://www.aixchina.net/club/thread-1630-1-1.html
http://www.wretch.cc/blog/jerry0822/13996334
http://technet.microsoft.com/zh-cn/library/cc773263(v=ws.10).aspx