有关时间同步

问题: 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
更改成功了。

posted @ 2020-06-18 20:10  vivi~  阅读(190)  评论(0编辑  收藏  举报