CentOS7—时间同步(笔录)
今天在学习etcd集群搭建时遇到时间不同步错误,故做笔记记录一下,错误信息如下:
与对等端47856ed020c3771a的时钟差太大
2020-12-24 10:23:26.649584 W | rafthttp: the clock difference against peer 47856ed020c3771a is too high [4.070577968s > 1s] (prober "ROUND_TRIPPER_SNAPSHOT")
2020-12-24 10:23:31.650852 W | rafthttp: the clock difference against peer 47856ed020c3771a is too high [4.066382795s > 1s] (prober "ROUND_TRIPPER_RAFT_MESSAGE"

在搭建etcd集群时遇到时间不同步导致的错误,通过以下步骤解决了问题:1) 安装ntp服务;2) 使用ntpdate同步时间;3) 将系统时间写入硬件时间;4) 检查并设置ntp服务为开机启动。这些步骤确保了与对等节点的时间一致性。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



