有关时间同步
Posted vivivi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了有关时间同步相关的知识,希望对你有一定的参考价值。
问题: 3个client, 3个不同的time
先从windows来看:
1. net time
win16: Could not locate a time-server.
win19:
PS U:Multiprotocols-Stress-Tool> net time
Current time at \\lorg-dc50.lorg.west.isilon.com is 6/18/2020 11:53:23 AM
Local time (GMT-07:00) at \\lorg-dc50.lorg.west.isilon.com is 6/18/2020 4:53:23 AM
![](https://img2020.cnblogs.com/blog/415870/202006/415870-20200618195403881-1381904297.png)
2. w32tm /query /peers
win16
#Peers: 1
Peer: time.windows.com,0x8
State: Active
Time Remaining: 5.3492691s
Mode: 3 (Client)
Stratum: 0 (unspecified)
PeerPoll Interval: 0 (unspecified)
HostPoll Interval: 6 (64s)
win19
PS U:Multiprotocols-Stress-Tool> w32tm /query /peers
Peers: 1
Peer: lorg-dc12.lorg.west.isilon.com
State: Active
Time Remaining: 118.6711585s
Mode: 3 (Client)
Stratum: 3 (secondary reference - syncd by (S)NTP)
PeerPoll Interval: 10 (1024s)
HostPoll Interval: 10 (1024s)
设置win16上的 NTP server:
w32tm /config /manualpeerlist:"lorg-dc12.lorg.west.isilon.com" /update
查看:
w32tm /query /configuration
更改成功了。
以上是关于有关时间同步的主要内容,如果未能解决你的问题,请参考以下文章