- 论坛徽章:
- 0
|
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 |
|