在域中,我想将 DC 设置为时间服务器。
为此,我使用以下命令:
w32tm /config /manualpeerlist:europe.pool.ntp.org /syncfromflags:manual /reliable:yes /update
Run Code Online (Sandbox Code Playgroud)
和
w32tm /resync /rediscover
Run Code Online (Sandbox Code Playgroud)
在我使用的客户端服务器中
net time \\<comp.name.of.ad> /set /y
Run Code Online (Sandbox Code Playgroud)
但一些客户端仍然使用本地 CMS 时钟。
我能做什么?
提前致谢。
编辑:
我也跑
w32tm /resync [/computer:<computer>] [/nowait] [/rediscover]
Run Code Online (Sandbox Code Playgroud)
在客户端,但时间服务器仍然是客户端的本地 CMOS 时钟。
AD源是我设置的。(nist.expertssmi.com)
在客户端,源是本地 CMOS 时钟
active-directory ntp w32time time-synchronization windows-server-2008-r2
我找到了这篇知识库文章:http : //support.microsoft.com/kb/816042
但它涉及一堆手动注册表黑客。我希望在某个地方的管理工具中找到一些可以让我做到这一点的东西。
我正在使用 Windows Server 2003。
我正在尝试追踪时间同步问题。我在远程分支中有一个 DC。
w32tm /dumpreg /subkey:Parameters 显示 Type = NT5DS 并且 Type 表示它与域同步,我明白。我已经检查过: w32tm /stripchart /dataonly /samples:5 /computer:core-fsmo-dc 并且它是同步的。
我可以对其他 DC 和某些设备运行相同的命令,但其他(包括分支机构和其他地方的其他服务器)给我:
Tracking server1 [w.x.y.z].
Collecting 5 samples.
The current time is 01/09/2009 13:46:01 (local time).
13:46:01, error: 0x800705B4
13:46:04, error: 0x800705B4
13:46:07, error: 0x800705B4
13:46:10, error: 0x800705B4
13:46:13, error: 0x800705B4
Run Code Online (Sandbox Code Playgroud)
运行这些命令时,我已登录到分支 DC,并且我的帐户位于内置域管理员组中。
谁能解释为什么我无法访问某些设备以及此错误意味着什么?
windows-server-2003 w32time time-synchronization domain-controller
我已根据此处显示的步骤更新了 W2K3 设置:
http://support.microsoft.com/kb/816042#LetMeFixItMyselfAlways2
我使用的同行列表是:
0.asia.pool.ntp.org,0x1 1.asia.pool.ntp.org,0x1 2.asia.pool.ntp.org,0x1 3.asia.pool.ntp.org,0x1
Run Code Online (Sandbox Code Playgroud)
我做了一个
net stop w32time && net start w32time
Run Code Online (Sandbox Code Playgroud)
重新启动服务。
如何检查设置?我怎么知道它在工作?
当我尝试以下操作时:
w32tm /monitor
Run Code Online (Sandbox Code Playgroud)
我得到的响应看起来像时间同步到本地计算机(DC)
C:\Documents and Settings\Administrator>w32tm /monitor
OptiDC.opti *** PDC *** [192.168.0.2]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from OptiDC.opti
RefID: 'LOCL' [76.79.67.76]
Run Code Online (Sandbox Code Playgroud)
由于 DC 的内部时钟漂移,我们一直在处理办公室中的时钟不准确几个月,我终于有几个空闲周期来尝试解决这个问题。
我们正在运行 Server 2008 R2 域控制器(这是一个物理机器,而不是虚拟服务器),似乎无论我做什么我都无法将其同步到外部 NTP 服务器。
例如,我尝试使用此命令将其配置为同步到几个外部 NTP 服务器:
w32tm /config /manualpeerlist:"0.north-america.pool.ntp.org 1.north-america.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
但它不会采取。这是我查询同行时得到的信息:
C:\Windows\system32>w32tm /query /peers
#Peers: 1
Peer:
State: Pending
Time Remaining: 820.7812500s
Mode: 0 (reserved)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 0 (unspecified)
Run Code Online (Sandbox Code Playgroud)
如您所见,我指定的对等点未列出,一个“对等点”(似乎没有信息)被列为“待定”。
这是状态:
C:\Windows\system32>w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 1 (primary reference - syncd by radio clock)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0000000s
Root Dispersion: 10.0000000s
ReferenceId: 0x4C4F434C (source name: "LOCL") …Run Code Online (Sandbox Code Playgroud) 使用w32tm.exe的选项stripchart来判断两台主机的时间差异是否可行(在很小的误差范围内)?请注意,w32tm.exe的stripchart功能与Windows Time服务本身使用的算法是分开的。
如果没有,有哪些替代方法?
谢谢,
马特
我一直在经历 BPA 对我们的 DC 提出的一些警告,以确保一切都应该如此。
一切都很顺利,直到我收到以下警告:
The value of MaxNegPhaseCorrection on the domain controller ********* should be equal to 48 hours
Run Code Online (Sandbox Code Playgroud)
和:
The value of MaxPosPhaseCorrection on the domain controller ********* should be equal to 48 hours
Run Code Online (Sandbox Code Playgroud)
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxPosPhaseCorrection
Run Code Online (Sandbox Code Playgroud)
应该等于 172800。
据我所见,我检查过的每个 DC 都将此注册表设置设置为 172800。BPA 是否抱怨它不是通过 GPO 应用的?或者这里还有什么我应该注意的问题吗?
windows-server-2008 active-directory w32time windows-server-2008-r2 best-practices
在 Windows 2003 域中,我有 7 个成员服务器,它们是 Windows Server 2008 R2。如果可能的话,我需要让他们至少每 15 分钟或更短的时间与 PDC 模拟器同步时间。这可能吗?
我已将服务器的时间同步到 time.nist.gov。该服务器与客户端服务器通信,该服务器也与 time.nist.gov 同步。
在注意到即使在显式同步之后我们似乎与时间服务器不同步之后,我设置了一个每小时的批处理作业来查看我的假设是否正确以及我们的时差是多少。
我在周五设置了这项工作,它已经检查了 50 次时间。当我在周五第一次检查时,w32tm效用显示的差异小于10 毫秒。几个小时前的最后一次检查显示有20 秒的差异。
还有 9 种情况(在 50 次尝试中)error: 0x800705B4是超时错误。自美国东部时间 2012 年 1 月 6 日星期五下午 5:35 以来,时差似乎以每小时 1 秒的速度增加
我有一个设置为 VMWare VM 的 Windows Server 2003 Enterprise Edition,时区是 EST。这是记录同步差异的 my w32tmandDOS命令:
w32tm /stripchart /computer:time.nist.gov /samples:1 /dataonly >> D:\timedump.txt
Run Code Online (Sandbox Code Playgroud)
以下是最后 4 个条目:
Tracking time.nist.gov [192.43.244.18].
Collecting 1 samples.
The current time is 1/8/2012 10:35:00 AM (local time).
10:35:00, +20.3387625s
Tracking time.nist.gov [192.43.244.18].
Collecting …Run Code Online (Sandbox Code Playgroud) windows-server-2003 ntp w32time time-synchronization time-server
我刚刚注意到我们的一个客户端 SQL 服务器正在与 time.microsoft.com 同步,域的其余部分正在查看 ntp.[clients.domain].co.uk,所以我们的 SQL 服务器大约快 3 分钟.
我的论点是,我们需要在两台服务器上同时停止所有 SQL 服务,将时间服务更新到域一,然后在不少于 3 分钟后重新启动所有 SQL 服务,以避免重复时间戳数据库。
我的另一个论点是“继续吧,我相信一切都会好起来的”。
我在这里过分谨慎了吗?我不是 SQL 管理员,实际上客户端 SQL 服务器托管着各种第三方数据库,因此从他们那里获得可靠的答案可能需要一些时间。不幸的是,由于数据库条目不再与电话系统相关联,因此这会导致呼叫中心的报告中断,因此我从呼叫中心经理和她的老板那里得到了热情。
我意识到这可能是“这完全取决于您使用的数据库的性质”的情况,但如果是这样,只是一些友好的建议?
谢谢,帕特里克