ITPub博客

首页 > Linux操作系统 > Linux操作系统 > NTP时间同步 For AIX

NTP时间同步 For AIX

原创 Linux操作系统 作者:ningzi82 时间:2010-08-04 10:41:57 0 删除 编辑

1.查看当前时区
$echo $TZ

2.更改时区
# chtz BEIST-8 --(BEIST-8) Peoples Rep. China (CUT +8)

3.客户端查询ntp server,并调整时间
# ntpdate -d xxx.xxx.xxx.xxx
# date
# ntpdate xxx.xxx.xxx.xxx
# date

4.在client端上添加ntp server
# vi /etc/ntp.conf
内容如下:
#broadcastclient
server xxx.xxx.xxx.xxx
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

5.start xntpd on client
# startsrc -s xntpd

6.重起后xntpd自动起动
# smitty xntpd
Start Using the xntpd Subsystem > BOTH

7.查看xntpd状态
# lssrc -g tcpip
# lssrc -ls xntpd --当 system peer 不为 'insane' 时, 表明客户端已与服务器端成功地进行了同步.

8.查看xntpd service是否加到tcpip group
# more /etc/rc.tcpip
# Start up Network Time Protocol (NTP) daemon
start /usr/sbin/xntpd "$src_running"

更多内容,请参考以下网址:
http://www-900.ibm.com/cn/support/viewdoc/detail?DocId=2311993000001
http://www.ixdba.net/article/6d/1027.html
http://www.aixchina.net/?1865/viewspace-7458.html[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/789833/viewspace-1036104/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: ORA-27300 For AIX6.1
请登录后发表评论 登录
全部评论

注册时间:2008-12-16

  • 博文量
    130
  • 访问量
    358881