免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2639 | 回复: 0
打印 上一主题 下一主题

solaris8 中如何正确设置NTP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-10-13 22:45 |只看该作者 |倒序浏览
host1、host2、host3在同一网段,同一个交换机下。\r\n\r\n设置Solaris8的host1为NTP Server,其中NTPServerIP为外部NTPServer的IP。\r\n\r\nserver NTPServerIP prefer\r\nfudge NTPServerIP stratum 0\r\nbroadcast 224.0.1.1 ttl 4\r\n\r\nroot #host1 ntpq -p\r\n     remote           refid      st t when poll reach   delay   offset    disp\r\n==============================================================================\r\n NTPServerIP   0.0.0.0         16 -    -   64    0     0.00    0.000 16000.0\r\n 224.0.1.1       0.0.0.0         16 -    -   64    0     0.00    0.000 16000.0\r\n\r\n设置Solaris8的host2为NTP Client,与host1时间同步:\r\nserver host1IP\r\nmulticastclient 224.0.1.1\r\n\r\nroot@host2 # ntpq -p\r\n     remote           refid      st t when poll reach   delay   offset    disp\r\n==============================================================================\r\n host1            0.0.0.0         16 u    9   64    0     0.00    0.000 16000.0\r\n\r\n设置Solaris8的host3为NTP Client,与host1时间同步:\r\nserver host1IP\r\nmulticastclient 224.0.1.1\r\n\r\n设置并不成功,有三个问题,请各位指教:\r\n\r\n1、在host1,host2,host3上用 /etc/init.d/xntpd start 都不能正常启动。\r\n   但用/usr/lib/inet/xntpd可正常启动,用ntpq -p结果如上。\r\n   why\r\n\r\n2、若host2、host3的ntp.conf中去掉server host1IP。\r\nroot@host2 # ntpq -p\r\nNo association ID\'s returned\r\n\r\nroot@host3 # ntpq -p\r\nNo association ID\'s returned\r\n\r\n   why\r\n  \r\n3、host2、host3是Cluster的双机,host2、host3的时间是同步的,但他们与host1的时间并不同步。我已覆盖了双机原来的ntp.conf\r\n\r\n   why
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP