码迷,mamicode.com
首页 > 其他好文 > 详细

有关时间同步

时间:2020-06-18 22:06:21      阅读:69      评论:0      收藏:0      [点我收藏+]

标签:alt   could   问题   com   mamicode   state   不同的   ima   rpo   

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

有关时间同步

标签:alt   could   问题   com   mamicode   state   不同的   ima   rpo   

原文地址:https://www.cnblogs.com/vivivi/p/13159563.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!