可能是一个愚蠢的问题,但我猜我需要问。 如果我有四个用作ntpd多播服务器的centos盒子,那么在每个盒子的ntp.conf中configuration的多播地址在所有四个盒子上都将是相同的(如224.0.1.1)? 或者在ntp.conf中configuration的每个组播地址都需要不同,例如: CentOS1 multicast 224.0.1.1 CentOS2 multicast 224.0.1.2 CentOS3 multicast 224.0.1.3 CentOS4 multicast 224.0.1.4 谢谢!
在一个域中,我想将DC设置为时间服务器。 要做到这一点,我使用这个命令: w32tm /config /manualpeerlist:europe.pool.ntp.org /syncfromflags:manual /reliable:yes /update 和 w32tm /resync /rediscover 在我使用的客户端服务器中 net time \\<comp.name.of.ad> /set /y 但有些客户端仍使用本地CMS时钟。 我能做什么? 提前致谢。 编辑: 我也跑 w32tm /resync [/computer:<computer>] [/nowait] [/rediscover] 在客户端,但时间服务器仍然是客户端的本地CMOS时钟。 在AD源是我设置的。 (nist.expertssmi.com) 客户来源是本地CMOS时钟
使用w32tm.exe的选项stripchart来判断两个主机的时间变化是否可行(在很小的误差范围内)? 请注意, w32tm.exe的stripchartfunction与Windows Time服务本身使用的algorithm是分开的。 如果不是,有什么替代方法? 谢谢, 马特
—解决了看编辑5 — 我的w2k3 pdc被configuration为授权时间服务器。 如果我在对等列表中手动指定,那么域上的其他服务器就可以与其同步。 如果我尝试从旗帜'domhier'同步,它不会再同步; 我收到错误消息 The computer did not resync because no time data was available. 我只能认为这不是查询PDC。 我也尝试设置registry,如下所示( http://support.microsoft.com/kb/193825 )。 但没有运气(我没有重新启动服务器,我希望我不会因为它是PDC) 如果您想了解我的configuration的更多信息,请告诉我。 编辑1: 我已经将w32time服务configurationAnnouceFlags设置为0x05,如www.krr.org/microsoft/authoritative_time_servers.php和其他许多地方所述。 PDC同步到外部时间源(ntp)。 我可以从客户端得到客户端的带状图没有问题。 我试图configuration的主机的login服务器显示为pdc。 编辑2: 数据包捕获揭示了一些有趣的事情。 客户端正在联系正确的服务器,并获得有效的响应,但我仍然收到相同的错误消息。 这里是从客户端到服务器的NTP摘录 Flags: 11.. …. = Leap Indicator: alarm condition (clock not synchronized) (3) ..01 1… = Version number: NTP Version 3 (3) …. […]
最近,由于使用ntpdc的NTP服务器DRDoS放大攻击 ,我们的某个ESXi服务器出现了一些问题。 如何configurationESXi上的NTP服务器以避免受到此次DDoS攻击? 或者,如果我closures服务,这会对我的虚拟机有什么影响吗?
我有一个在子网上运行的本地NTP服务器,使其他子网节点保持同步,而不是每个节点都与上游服务器同步。 但是,在为Nagios实现check_ntp_time插件时,我注意到一个令人沮丧的问题,那就是nagios不断报告与本地ntp服务器同步的本地节点的严重错误。 这里是在本地ntp服务器上的ntpconfiguration,注意上游服务器条目和限制条目,根据我的研究,这将本节点定义为ntp服务器,本地节点可以同步。 driftfile /var/lib/ntp/drift # Permit time synchronization with our time source, but do not # permit the source to query or modify the service on this system. restrict default kod limited nomodify notrap nopeer noquery restrict -6 default kod limited nomodify notrap nopeer noquery # Permit all access over the loopback interface. This […]
服务器时间是7个小时(而不是上午10点,是凌晨3点,即使date显示正确的时区)。 ntpq的输出是: $ ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== xx.xxx.xxx.x.ar xxx.x.xx.xx 2 u 72 1024 177 6.516 2520657 1650156 ntp.xxxx.ac.uk xxx.xxx.xxx.x 2 u 7h 1024 377 14.039 2520655 1347346 xxx.xxx.xxx.xx xxx.xxx.xxx.x 2 u 114 1024 377 5.449 -18.941 2130343 ns1.xxxxxxx.com xxx.x.xx.xx 2 u 148 1024 377 8.050 2520655 […]
我有几个虚拟机无法安装客人添加,我暂停并恢复他们之间的日子。 当我启动虚拟机时,我通常会忘记推动NTP。 有没有一种很好的方法可以告诉ntp应该多长时间检查一次更改?
我有一个CentOS 6.4服务器,它没有任何iptable规则,它使用以下configuration作为服务运行NTP守护进程: driftfile /var/lib/ntp/drift server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server 3.pool.ntp.org restrict default ignore restrict 127.0.0.1 当我运行ntpq来查询对等体时,会收到以下响应: ntpq> peers localhost.localdomain: timed out, nothing received dig表明: localhost.localdomain. 86400 IN A 127.0.0.1 为什么不ntp查询工作?
我试图ntp同步一台机器。 两者都运行Debian lenny,并且我在两者中安装了ntp包。 我configuration服务器通过放置与外部机器同步 server IP.ADDRESS iburst 在/etc/ntp.conf文件中。 我将客户端configuration为与服务器同步,只将服务器放在客户端的/etc/ntp.conf中。 但是,他们似乎并不同步。 ntpq表明状态是INIT,根据文档 – 表示“该关联尚未同步第一次” # ntpq -n ntpq> pe remote refid st t when poll reach delay offset jitter ============================================================================== 10.99.84.134 .INIT. 16 u 665 1024 0 0.000 0.000 0.000 ntpq – >在条件行中显示“拒绝”: # ntpq ntpq> as ind assID status conf reach auth condition last_event cnt […]