- 论坛徽章:
- 0
|
host1、host2、host3在同一网段,同一个交换机下。
设置Solaris8的host1为NTP Server,其中NTPServerIP为外部NTPServer的IP。
server NTPServerIP prefer
fudge NTPServerIP stratum 0
broadcast 224.0.1.1 ttl 4
root #host1 ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
NTPServerIP 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
224.0.1.1 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
设置Solaris8的host2为NTP Client,与host1时间同步:
server host1IP
multicastclient 224.0.1.1
root@host2 # ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
host1 0.0.0.0 16 u 9 64 0 0.00 0.000 16000.0
设置Solaris8的host3为NTP Client,与host1时间同步:
server host1IP
multicastclient 224.0.1.1
设置并不成功,有三个问题,请各位指教:
1、在host1,host2,host3上用 /etc/init.d/xntpd start 都不能正常启动。
但用/usr/lib/inet/xntpd可正常启动,用ntpq -p结果如上。
why
2、若host2、host3的ntp.conf中去掉server host1IP。
root@host2 # ntpq -p
No association ID's returned
root@host3 # ntpq -p
No association ID's returned
why
3、host2、host3是Cluster的双机,host2、host3的时间是同步的,但他们与host1的时间并不同步。我已覆盖了双机原来的ntp.conf
why |
|