Sun Solaris 10 NTP客户端配置

  | 转载时请务必以超链接形式标明文章原文链接和作者信息及本版权声明。
原文链接:http://www.liaojl.com/archives/2010/06/sun-solaris-10-ntp.html

服务器时间同步非常重要,否则在涉及到类似Kerberos验证的应用时,会导致两个节点无法认证的情况,因此最好把所有服务器配置为时间服务器同步时间。

修改/etc/inet/ntp.conf文件

server pool.ntp.org prefer #添加NTP服务器1

启动ntp服务

svcadm enable network/ntp

检查 ntp 依赖:

svcs -l svc:/network/ntp:default

然后

svcadm enable svc:/network/ntp
svcadm refresh svc:/network/ntp
svcadm restart svc:/network/ntp

在/var/adm/message日志中查看NTP同步时间的记录。

Leave a comment

Archives

Creative Commons License
This blog is licensed under a Creative Commons License.