如何在没有网络的情况下同步不同集群中qpid的时间?

发布于 2024-12-18 02:59:48 字数 142 浏览 5 评论 0原文

我正在使用 corosync 和操作系统 Debian。当我启动 qpidd 程序时写下以下消息:

警告 ClasterClock 任务延迟 1 次,平均延迟 70 毫秒

I 'm using corosync and OS Debian. When I start qpidd program write this message:

Warning ClasterClock task late 1 times by 70ms on average

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

十六岁半 2024-12-25 02:59:48

你的问题很不清楚,但是为了同步任何一组 Debian 机器上的时间,你将一台服务器上的 ntp 守护进程设置为服务器模式,并将 ntp 指向其余的机器就可以了。

Your question is quite unclear, but to synchronize time on any herd of Debian machines, you set up the ntp daemon on one server to be in server mode and point ntp on the rest of the machines to it.

破晓 2024-12-25 02:59:48

这实际上与时间同步没有任何关系。相反,该警告意味着代理预计在时间 t 运行 ClusterClock 任务,但实际上它往往在平均时间 t + 70ms 运行。如果代理正忙于做其他事情(例如处理消息),您可能会看到诸如此类的任务比计划晚触发。如果需要,您可以通过设置“cluster-clock-interval”选项来更改 ClusterClock 任务的频率(默认为每 10 毫秒)。

This actually doesn't have anything to do with time synchronization. Instead, that warning means that the broker was expecting to run the ClusterClock task at time t, but instead it tends to run, on average, at time t + 70ms. If the broker is busy doing other things (e.g. processing messages), you may see tasks such as this one firing later than planned. If desired, you can change the frequency of the ClusterClock task by setting the "cluster-clock-interval" option (the default is every 10ms).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文